mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
1bd086437f
Serenity lost. Insanity looms darkly. /etc/mtab Random behaviour. xfs/189 fails After a week passing. -SCRATCH_DEV on SCRATCH_MNT type xfs (ro,filestreams) +SCRATCH_DEV on SCRATCH_MNT type xfs (ro,relatime,attr2,filestreams,inode64,noquota) Confusion prevails. /proc/mounts can never give success. Anything but golden. ls -l /etc/mtab shows: lrwxrwxrwx 1 root root 12 May 8 16:05 /etc/mtab -> /proc/mounts symlink modified. Stealth. Deception. WTF? Ninjas go unseen. "git grep mtab". Yay! generic/235: sad SElinux hack. Remount context grot. Mount uses all options from /etc/mtab Kernel rejects mount. sed hacks /etc/mtab Symlink becomes file. Test frobulation. xfs/189 passes Randomness tamed. Double face-palm. Tears. Crack-inspired insanity. mount(8) needs fixing. Schizophrenia. /etc/mtab. Same thing. Test psychiatry. Hack, slash, glue, polish. xfs/189 fixed. Made shiny again. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Rich Johnston <rjohnston@sgi.com> Signed-off-by: Rich Johnston <rjohnston@sgi.com>
60 lines
1.8 KiB
Plaintext
60 lines
1.8 KiB
Plaintext
QA output created by 189
|
|
meta-data=DDEV isize=XXX agcount=N, agsize=XXX blks
|
|
data = bsize=XXX blocks=XXX, imaxpct=PCT
|
|
= sunit=XXX swidth=XXX, unwritten=X
|
|
naming =VERN bsize=XXX
|
|
log =LDEV bsize=XXX blocks=XXX
|
|
realtime =RDEV extsz=XXX blocks=XXX, rtextents=XXX
|
|
|
|
try remount ro,filestreams -> rw,filestreams
|
|
|
|
SCRATCH_DEV on SCRATCH_MNT type xfs (ro,filestreams)
|
|
mounting given: SCRATCH_DEV
|
|
SCRATCH_DEV on SCRATCH_MNT type xfs (rw,filestreams)
|
|
mounting given: SCRATCH_MNT
|
|
SCRATCH_DEV on SCRATCH_MNT type xfs (rw,filestreams)
|
|
mounting given: SCRATCH_DEV SCRATCH_MNT
|
|
SCRATCH_DEV on SCRATCH_MNT type xfs (rw,filestreams)
|
|
|
|
try remount ro,noattr2 -> rw,attr2
|
|
|
|
SCRATCH_DEV on SCRATCH_MNT type xfs (ro)
|
|
mounting given: SCRATCH_DEV
|
|
SCRATCH_DEV on SCRATCH_MNT type xfs (rw)
|
|
mounting given: SCRATCH_MNT
|
|
SCRATCH_DEV on SCRATCH_MNT type xfs (rw)
|
|
mounting given: SCRATCH_DEV SCRATCH_MNT
|
|
SCRATCH_DEV on SCRATCH_MNT type xfs (rw)
|
|
|
|
try touching file after remount ro -> rw with options
|
|
|
|
|
|
add noikeep to fstab for scratch
|
|
|
|
try remount ro,filestreams -> rw,filestreams
|
|
|
|
SCRATCH_DEV on SCRATCH_MNT type xfs (ro,filestreams)
|
|
mounting given: SCRATCH_DEV
|
|
SCRATCH_DEV on SCRATCH_MNT type xfs (rw,filestreams)
|
|
mounting given: SCRATCH_MNT
|
|
SCRATCH_DEV on SCRATCH_MNT type xfs (rw,filestreams)
|
|
mounting given: SCRATCH_DEV SCRATCH_MNT
|
|
SCRATCH_DEV on SCRATCH_MNT type xfs (rw,filestreams)
|
|
|
|
try remount ro,noattr2 -> rw,attr2
|
|
|
|
SCRATCH_DEV on SCRATCH_MNT type xfs (ro)
|
|
mounting given: SCRATCH_DEV
|
|
SCRATCH_DEV on SCRATCH_MNT type xfs (rw)
|
|
mounting given: SCRATCH_MNT
|
|
SCRATCH_DEV on SCRATCH_MNT type xfs (rw)
|
|
mounting given: SCRATCH_DEV SCRATCH_MNT
|
|
SCRATCH_DEV on SCRATCH_MNT type xfs (rw)
|
|
|
|
Do remount barrier tests
|
|
|
|
SCRATCH_DEV on SCRATCH_MNT type xfs (rw)
|
|
SCRATCH_DEV on SCRATCH_MNT type xfs (rw,nobarrier)
|
|
SCRATCH_DEV on SCRATCH_MNT type xfs (rw)
|
|
*** done
|