summaryrefslogtreecommitdiffstats
path: root/usr.sbin/cdcontrol
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-09-26 06:18:59 +0000
committerbde <bde@FreeBSD.org>1998-09-26 06:18:59 +0000
commit4ef2ffab16674dbf497bca0223d17abe1db20209 (patch)
tree27d9995899929320e7030d1f66081a43a93643d7 /usr.sbin/cdcontrol
parentd7210d0597b045421ebd7797db3a860f936ce66f (diff)
downloadFreeBSD-src-4ef2ffab16674dbf497bca0223d17abe1db20209.zip
FreeBSD-src-4ef2ffab16674dbf497bca0223d17abe1db20209.tar.gz
Fixed clean flag handling:
Fixes for bugs not shared with ffs: - don't mount unclean filesystems rw unless forced to. - accept EXT2_ERROR_FS (treat it like !EXT2_VALID_FS). We still don't set this or honour the maximal mount count. - don't attempt to print the name of the mount point when mounting an unclean file system, since the name of the previous mount point is unknown and the name of the current mount point is still "". Fixes for bugs shared with ffs until recently: - don't set the clean flag on unmount of an initially-unclean filesystem that was (forcibly) mounted rw. - set the clean flag on rw -> ro update of a mounted initially-clean filesystem. - fixed some style bugs (mostly long lines). The fixes are slightly simpler than for ffs, because the relevant on-disk state is not a simple boolean variable, and the superblock has a core-only extension. Obtained from: parts from ffs_vfsops.c, parts from NetBSD
Diffstat (limited to 'usr.sbin/cdcontrol')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud