[wellylug] Mounting USB flash memory

Eugene Van Wyk Eugene.VanWyk at 4rf.com
Thu Oct 28 07:17:33 NZDT 2004


I run Mandrake10 (Disk Smith version).  So far I have used my memory
stick (Kingston) without any issues.  The first time I plugged it in,
Mandrake detected it and created an icon on my desktop.  I can not
remember whether I had any input in the initial exercise as it was
months ago.

Now I plug it in click on "mnt/removable" and the directory appears.  I
do what I need to do, save the files, and unplug the device.  No drama.

Should I explicitly unmount it?  Maybe I've just been lucky, but I have
not had file corruption, and I have been using it for at least 7 months
now.

Eugene van Wyk
Test Development Engineer
4RF Communications Ltd
26 Glover St
Ngauranga
Wellington
New  Zealand
 

-----Original Message-----
From: wellylug-admin at lists.wellylug.org.nz
[mailto:wellylug-admin at lists.wellylug.org.nz] On Behalf Of David Antliff
Sent: Wednesday, 27 October 2004 11:51 p.m.
To: wellylug at lists.wellylug.org.nz
Subject: Re: [wellylug] Mounting USB flash memory


On Wed, 27 Oct 2004, Centurion Computer Technology Ltd wrote:
> You will have to look at hotplug to solve this one.  I think
> automounting may be difficult because when it comes time to remove it
> you have to unmount it before you unplug it otherwise you end up with
> data corruption especially if you use the default fat filesystem on
it.
>
> I just setup an entry in /etc/fstab and a disk drive applet on the
> desktop (Gnome) to mount and unmount it.

I do pretty much the same with my USB camera and USB mp3 player. However
I 
use udev instead of devfs to manage my device nodes. You might want to 
look into this if you are using a 2.6 kernel. There's a very good howto
I 
can point you at if you're interested...

(udev means you don't have to worry about /dev/sda1 being either device,

depending on which you plugged in first, amongst other things...)

-- 
David.


-- 
Wellington Linux Users Group Mailing List:
wellylug at lists.wellylug.org.nz
To Leave:  http://lists.wellylug.org.nz/mailman/listinfo/wellylug




More information about the wellylug mailing list