This is a discussion on Automatic unmounting, USB flash drives and Linux within the Linux General forums, part of the Linux Forums category; Hello, does Linux support automatic unmounting of USB devices (flash drives) like Windows XP does without manually unmounting. Regards....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On 30 Giu, 13:46, NBaH <n_b_a_...@hotmail.fr> wrote:
> Windows XP does not ! > That also recommends you don't detach removable media without > disconnecting them first ! Windows XP does, you bet. See Windows XP help... The problem is: does Linux support automatic unmounting? |
|
|||
|
On 30 Giu, 15:34, Keith <k.ja...@gmail.com> wrote:
> On 30 Giu, 13:46, NBaH <n_b_a_...@hotmail.fr> wrote: > > > Windows XP does not ! > > That also recommends you don't detach removable media without > > disconnecting them first ! > > Windows XP does, you bet. See Windows XP help... > > The problem is: does Linux support automatic unmounting? Or something like that? |
|
|||
|
On 30 Giu, 15:50, Keith <k.ja...@gmail.com> wrote:
> On 30 Giu, 15:34, Keith <k.ja...@gmail.com> wrote: > > > On 30 Giu, 13:46, NBaH <n_b_a_...@hotmail.fr> wrote: > > > > Windows XP does not ! > > > That also recommends you don't detach removable media without > > > disconnecting them first ! > > > Windows XP does, you bet. See Windows XP help... > > > The problem is: does Linux support automatic unmounting? > > Or something like that? http://www.metacafe.com/watch/471355...evice_removal/ |
|
|||
|
> > > Windows XP does, you bet. See Windows XP help...
> > > > The problem is: does Linux support automatic unmounting? > > > Or something like that? > > http://www.metacafe.com/watch/471355...evice_removal/ OK, I watched the video. Your asking should be : "How to disable write cache to removable devices ?" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The problem is not to pull off an USB device (as it's no more connected it'd be unmounted (?)), but to be able to pull it off and be sure stuffs have been written on it directly... ? |
|
|||
|
On 30 Giu, 21:59, NBaH <n_b_a_...@hotmail.fr> wrote:
> > > > Windows XP does, you bet. See Windows XP help... > > > > > The problem is: does Linux support automatic unmounting? > > > > Or something like that? > > >http://www.metacafe.com/watch/471355...evice_removal/ > > OK, I watched the video. Your asking should be : > "How to disable write cache to removable devices ?" > *^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > The problem is not to pull off an USB device (as it's no more > connected it'd be unmounted (?)), but to be able to pull it off and be > sure stuffs have been written on it directly... > ? OK: "How to disable write cache to removable devices?" |
|
|||
|
On Monday 30 June 2008 22:06, Keith wrote:
> OK: "How to disable write cache to removable devices?" I believe you can do that using "sync" as a mount option. That will however likely shorten the life of the device. |
|
|||
|
Keith <k.jaret@gmail.com> wrote:
> On 30 Giu, 21:59, NBaH <n_b_a_...@hotmail.fr> wrote: >> > > > Windows XP does, you bet. See Windows XP help... >> >> > > > The problem is: does Linux support automatic unmounting? >> >> > > Or something like that? >> >> >http://www.metacafe.com/watch/471355...evice_removal/ >> >> OK, I watched the video. Your asking should be : >> "How to disable write cache to removable devices ?" >> *^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> The problem is not to pull off an USB device (as it's no more >> connected it'd be unmounted (?)), but to be able to pull it off and be >> sure stuffs have been written on it directly... >> ? > > OK: "How to disable write cache to removable devices?" Use the sync flag when mounting: sync All I/O to the file system should be done synchronously. In case of media with limited number of write cycles (e.g. some flash drives) "sync" may cause life-cycle shortening. Florian -- <http://www.florian-diesch.de/> ----------------------------------------------------------------------- ** Hi! I'm a signature virus! Copy me into your signature, please! ** ----------------------------------------------------------------------- |