Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#10947 - Add -r option to umount command in /etc/rc.shutdown

Attached to Project: Arch Linux
Opened by Anonymous Submitter - Friday, 18 July 2008, 11:59 GMT
Last edited by Aaron Griffin (phrakture) - Friday, 18 July 2008, 15:48 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Aaron Griffin (phrakture)
Architecture All
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

On intermittent occasions when rebooting my computer, a random one of the ext3 file systems isn't unmounted properly. On the next boot this causes a journal recovery, and possibly some file corruption. Unfortunately this problem doesn't seem to be consistently occuring, and nor have I identified any file corruption, but that doesn't mean there isn't any.

I've looked into umount command, and have found that the -r option for umount does the following, according to the following:

" -r In case unmounting fails, try to remount read-only."

I've added that option to the umount command in /etc/rc.shutdown and have not encountered this problem since on the 4 to 6 reboots of my computer I've performed since. Obviously that doesn't mean that it's had an actual effect, however as it seems to me to that it won't do any harm, and possibly would do some good on occasion, I'd like to suggest that the -r option is added to the umount command in /etc/rc.shutdown i.e.

/bin/umount -a -r -t noramfs,notmpfs,nosysfs,noproc

instead of

/bin/umount -a -t noramfs,notmpfs,nosysfs,noproc

Thanks,
Mark.
This task depends upon

Closed by  Aaron Griffin (phrakture)
Friday, 18 July 2008, 15:48 GMT
Reason for closing:  Implemented
Additional comments about closing:  http://projects.archlinux.org/?p=initscr ipts.git;a=commitdiff;h=04899c1b829f1a47 08a04e2188b256901845770f
Comment by Anonymous Submitter - Friday, 18 July 2008, 12:01 GMT
Oops, forgot to specify the package, it is initscripts v2008.05-1 on an x86_64
Comment by Glenn Matthys (RedShift) - Friday, 18 July 2008, 12:44 GMT
Sounds good to me.

Loading...