⬢ DragonFlyBSD Kernel Audit
DF-3169 / sanity.sh
← back to finding ↓ download raw
1
2
3
4
5
6
7
sysctl vfs.autofs.timeout=1 vfs.autofs.retry_attempts=2 vfs.autofs.retry_delay=1 >/dev/null
mkdir -p /dfsan_mp
mount_autofs -f dfsan "" /dfsan_mp
echo "-- ls:"; ls /dfsan_mp; echo "rc=$?"
echo "-- stat:"; stat /dfsan_mp/nosuchkey; echo "rc=$?"
umount /dfsan_mp && echo PLAIN-UMOUNT-OK
echo SANITY-DONE