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!
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!
FS#6032 - rc.shutdown kills mount.ntfs-fuse instead of unmounting
Attached to Project:
Arch Linux
Opened by Philip Nilsson (leffe) - Monday, 18 December 2006, 20:28 GMT
Last edited by Roman Kyrylych (Romashka) - Saturday, 12 May 2007, 13:13 GMT
Opened by Philip Nilsson (leffe) - Monday, 18 December 2006, 20:28 GMT
Last edited by Roman Kyrylych (Romashka) - Saturday, 12 May 2007, 13:13 GMT
|
DetailsI quote:
Volume is scheduled for check. Please boot into Windows TWICE, or use the 'force' option. NOTE: If you had not scheduled check and last time accessed this volume using ntfsmount and shutdown system properly, then init scripts in your distribution are broken. Please report to your distribution developers (NOT to us!) that init scripts kill ntfsmount or mount.ntfs-fuse during shutdown instead of proper umount. -- ntfsprogs/utils.c I am afraid I cannot think of a good way of not killing certain processes. I will investigate to see what other distributions have done (if anything). |
This task depends upon
for i in $(cat /proc/mounts | grep ^/dev/.d. | cut -f 1 -d ' ')
do
mount -n -o remount,ro $i || umount -n $i
done
The Gentoo solution is complex, and available here:
% wget -O - http://dev.gentoo.org/~uberlord/baselayout/baselayout-1.13.0_alpha9.tar.bz2 | tar xjf - sh/rc-services.sh init.d/halt.sh
A second candidat for rc.local.shutdown could be this removing of the psmouse module because for me this is a custom and not a system wide variable. So good it could be for laptops in my case with this line the light of my optical mouse is even on after shutdown the pc. So i even have to comment out this line which is not bad but handling such custom things in the same way as with rc.local would be more logical. But if nobody else have this problem forget the second paragraph.
Edit /etc/rc.d/netfs, there is this line:
umount -a -t nfs,smbfs,codafs,cifs,shfs,fuse
change it to
umount -a -t nfs,smbfs,codafs,cifs,shfs,fuse,fuseblk
Don't forget to add the netfs DAEMON in rc.conf. See if that umounts ntfs-3g early.
Mounting/umounting of these filesystems are hadnled by netfs initscript:
nfs,smbfs,codafs,cifs,shfs,fuse,fuseblk