⬢ DragonFlyBSD Kernel Audit
DF-3111 / fix_run.log
← back to finding ↓ download raw
+ umount /mnt
+ vnconfig -u vn0
+ rm -f /root/h1x.img
+ dd 'of=/root/h1x.img' 'bs=1m' 'count=0' 'seek=4096' 'status=none'
+ vnconfig -c vn0 /root/h1x.img
+ newfs_hammer -f -L poison /dev/vn0
+ mount_hammer /dev/vn0 /mnt
+ mkdir -p /mnt/t
+ chmod 1777 /mnt/t
+ sync
+ cat
+ cc -O2 -o /root/pair /root/pair.c
+ /root/pair /mnt/t
create A: OK
create B: OK
+ sync
+ sleep 6
+ sync
+ umount /mnt
+ mount_hammer /dev/vn0 /mnt
+ /root/recheck /mnt/t
[after remount, uid=65534, dir=/mnt/t]
nameA key=7fffffffff180000 len=11 bytes=6161616146712e0702dfbf
nameB key=7fffffffff180000 len=11 bytes=61616c6a33712e0a09aabf
persist stat   nameA : OK
persist stat   nameB : OK
persist readdir nameB: 1   <-- listed but unfindable
persist unlink nameB : OK
after 5 re-creates   : readdir nameB cnt = 1 (was 1)
PERSIST_UNCLEAR LEAK_UNCLEAR
+ ls -la /mnt/t
total 0
drwxrwxrwt  1 root    wheel  0 Sep  6 12:18 .
drwxr-xr-x  1 root    wheel  0 Sep  6 12:18 ..
-rw-r--r--  1 nobody  wheel  0 Sep  6 12:18 aaaaFq.߿
-rw-r--r--  1 nobody  wheel  0 Sep  6 12:18 aalj3q.
	��
+ tail -1
+ df -h /mnt
poison      3560M   225M  3335M     6%    /mnt
FIXCHECK_DONE
+ echo FIXCHECK_DONE