From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Iragne Date: Tue, 30 Mar 2004 07:25:46 +0000 Subject: Re: add/remove actions for usb devices Message-Id: <406920FA.50508@labri.fr> List-Id: References: <40648838.2040703@labri.fr> In-Reply-To: <40648838.2040703@labri.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org jjluza wrote: >>Florian Iragne wrote : >>on device add, it is correctly mounted. on device removal, the system >>freeze and i have to use magic keys to reboot the machine. >> > > yes, that's the error I get. > I'm pretty sure that's because vfat doesn't support sync mode. No, i don't think so. I have a script that mount/umount devices automatically (wthout using udev event), and it works (with sync mode for vfat). > If I don't make udev handle device removal, I can unmount it manually, but it > freeze too. manually, sometimes it hangs, but not always, and without any error message >>well, where do you see any mention of the limitation of the sync mode to >>ext*/ufs? i've read the manpage of mount several times, but did not find >>anything like the info you mentioned. > > I have read it on the manual page from debian sid. I have read such a thing on > several web sites too, after searching on google, but some other sites tell > we can ... so I'm a bit disappointed. > > you can read that from this manpage too : > http://www.netadmintools.com/html/8mount.man.html > >>the sync option today has effect only for ext2, ext3 and ufs) > i will read those, but the manpage on my debian sid doesn't seem to be the same than yours. ;-) > > > It would be so good if vfat be aware of sync and if my kernel doesn't oops on > device removal. yes, it would be good Florian ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel