[lfs-support] Mountfs bootscript stops shutdown
bruce.dubbs at gmail.com
Thu Mar 22 19:10:36 PDT 2012
Fernando de Oliveira wrote:
>> If you can run an experiment for me, there are a couple of
>> tests you can
>> make to check this out. The stop portion of the script
>> now reads:
>> # Don't unmount tmpfs like /run
>> log_info_msg "Unmounting all other
>> currently mounted file systems..."
>> umount -a -d -r -t
>> notmpfs,nosysfs,nodevtmpfs >/dev/null
>> # Make all LVM volume groups unavailable,
>> if appropriate
>> if [ -x /sbin/vgchange ]; then
>> /sbin/vgchange -an; fi
>> First, try moving the vgchange line to right before the
>> umount command.
> Test passed. Message " No volume groups found" appears on screen, of course.
>> The second test would be to use the current script but
>> change the line:
>> -t notmpfs,nosysfs,nodevtmpfs
>> -t notmpfs,nosysfs,nodevtmpfs,noproc
> Undone first change for second test. Test passed, too. Message appears again.
I think I'll leave in this last form and also redirect the stdout of
vgchange to /dev/null.
> Done. Just FYI, shutdown fine, as after second test, and last form of the script.
Thanks for the test.
More information about the lfs-support