[Jfs-discussion] Problem on boot with fsck.jfs
Brought to you by:
blaschke-oss,
shaggyk
From: Barry A. <ba...@us...> - 2001-05-16 18:20:41
|
I made the changes you suggested and added a debug message that is printed when the -d option is specified. These changes will be in the next JFS drop. Until then, the diff's are listed in the attahed file. (See attached file: ro.out) Barry Arndt IBM Linux Technology Center JFS for Linux http://oss.software.ibm.com/developerworks/opensource/jfs (512) 838-0723 t/l 678-0723 ---------------------- Forwarded by Barry Arndt/Austin/IBM on 05-16-2001 10:37 AM --------------------------- Paul Larson <pl...@au...>@dwoss.lotus.com on 05-10-2001 02:22:45 PM Sent by: jfs...@dw... To: jfs...@dw... cc: Subject: [Jfs-discussion] Problem on boot with fsck.jfs I'm still messing with this system I have booting from jfs and I'm noticing that sometimes on booting, fsck gives me a big "WARNING!!!" that checking a mounted filesystem could cause corruption. The root fs is mounted read-only when this happens though, so running an fsck shouldn't be a problem. It looks like Is_Device_Mounted() in fssubs.c is checking to see if it's mounted and if it's jfs, but doesn't bother to check if it's mounted read-only or read-write. Could we just have it check Mount_Data->mntopts for the ro flag and return something other than MSG_JFS_VOLUME_IS_MOUNTED? Then catch that case in initial_processing() and bypass the annoying "Do you really want to continue" message that is halting my bootup. Thanks, Paul Larson _______________________________________________ Jfs-discussion mailing list Jfs...@os... http://oss.software.ibm.com/developerworks/opensource/mailman/listinfo/jfs-discussion |