Automatic unmounting, USB flash drives and Linux

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....


Go Back   Usenet Forums > Linux Forums > Linux General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-30-2008
Keith
 
Posts: n/a
Default Automatic unmounting, USB flash drives and Linux

Hello,


does Linux support automatic unmounting of USB devices (flash drives)
like Windows XP does
without manually unmounting.

Regards.
Reply With Quote
  #2 (permalink)  
Old 06-30-2008
NBaH
 
Posts: n/a
Default Re: Automatic unmounting, USB flash drives and Linux

Windows XP does not !
That also recommends you don't detach removable media without
disconnecting them first !
Reply With Quote
  #3 (permalink)  
Old 06-30-2008
Keith
 
Posts: n/a
Default Re: Automatic unmounting, USB flash drives and Linux

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?
Reply With Quote
  #4 (permalink)  
Old 06-30-2008
Keith
 
Posts: n/a
Default Re: Automatic unmounting, USB flash drives and Linux

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?
Reply With Quote
  #5 (permalink)  
Old 06-30-2008
Keith
 
Posts: n/a
Default Re: Automatic unmounting, USB flash drives and Linux

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/
Reply With Quote
  #6 (permalink)  
Old 06-30-2008
NBaH
 
Posts: n/a
Default Re: Automatic unmounting, USB flash drives and Linux

> > > 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...
?
Reply With Quote
  #7 (permalink)  
Old 06-30-2008
Keith
 
Posts: n/a
Default Re: Automatic unmounting, USB flash drives and Linux

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?"
Reply With Quote
  #8 (permalink)  
Old 07-01-2008
pk
 
Posts: n/a
Default Re: Automatic unmounting, USB flash drives and Linux

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.

Reply With Quote
  #9 (permalink)  
Old 07-07-2008
Florian Diesch
 
Posts: n/a
Default Re: Automatic unmounting, USB flash drives and Linux

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! **
-----------------------------------------------------------------------
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:46 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0