Re: [Wlug] mounting a pen drive (usb)
Assuming you do not have any other usb devices hooked up to your laptop, adding the following line to your /etc/fstab will allow you to mount and use your pen drive as a non-root user: /dev/sda1 /mnt/sda1 vfat user,noauto,exec 0 0 Using this method, you will have to type "mount /mnt/sda1" when you insert it and "umount /mnt/sda1" when you are done. I cannot stress how important it is to unmount! Failure to do so will either leave your pen drive without the changes you made or with data corruption (I know this from experience) If anybody knows of a way for linux to mount automatically do this I am all ears (switching the noauto parameter to auto doesn't do the trick). Sincerely, Ryan Caron
Message: 7 Date: Thu, 14 Oct 2004 09:55:05 -0400 From: Walt Sawyer <wsawyer@norfolk-county.com> Subject: [Wlug] mountng a pen drive (usb) To: Worcester Linux Users Group <wlug@mail.wlug.org> Message-ID: <1097762105.2591.9.camel@localhost.localdomain> Content-Type: text/plain
How do I get my SanDisk cruzer mini 256 mb pen drive to mount on my Fedora Core 2 laptop? Thanks in advance Walt
SuSE 9.1 will automatically mount and unmount a pen drive, floppy disk or cd. I haven't yet figured out how it does that. Greg Ryan Caron wrote:
Assuming you do not have any other usb devices hooked up to your laptop, adding the following line to your /etc/fstab will allow you to mount and use your pen drive as a non-root user:
/dev/sda1 /mnt/sda1 vfat user,noauto,exec 0 0
Using this method, you will have to type "mount /mnt/sda1" when you insert it and "umount /mnt/sda1" when you are done.
I cannot stress how important it is to unmount! Failure to do so will either leave your pen drive without the changes you made or with data corruption (I know this from experience)
If anybody knows of a way for linux to mount automatically do this I am all ears (switching the noauto parameter to auto doesn't do the trick).
Sincerely, Ryan Caron
Message: 7 Date: Thu, 14 Oct 2004 09:55:05 -0400 From: Walt Sawyer <wsawyer@norfolk-county.com> Subject: [Wlug] mountng a pen drive (usb) To: Worcester Linux Users Group <wlug@mail.wlug.org> Message-ID: <1097762105.2591.9.camel@localhost.localdomain> Content-Type: text/plain
How do I get my SanDisk cruzer mini 256 mb pen drive to mount on my Fedora Core 2 laptop? Thanks in advance Walt
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
If you use gnome2 and HAL, it will automatically mount it for you. I'm running gentoo and it works very nicely. Also, hotplug (or coldplug, whichever it is now) might also be able to do the trick. Chuck On Thu, 14 Oct 2004 10:41:08 -0400 (EDT), Ryan Caron <rcaron@wpi.edu> wrote:
Assuming you do not have any other usb devices hooked up to your laptop, adding the following line to your /etc/fstab will allow you to mount and use your pen drive as a non-root user:
/dev/sda1 /mnt/sda1 vfat user,noauto,exec 0 0
Using this method, you will have to type "mount /mnt/sda1" when you insert it and "umount /mnt/sda1" when you are done.
I cannot stress how important it is to unmount! Failure to do so will either leave your pen drive without the changes you made or with data corruption (I know this from experience)
If anybody knows of a way for linux to mount automatically do this I am all ears (switching the noauto parameter to auto doesn't do the trick).
Sincerely, Ryan Caron
Message: 7 Date: Thu, 14 Oct 2004 09:55:05 -0400 From: Walt Sawyer <wsawyer@norfolk-county.com> Subject: [Wlug] mountng a pen drive (usb) To: Worcester Linux Users Group <wlug@mail.wlug.org> Message-ID: <1097762105.2591.9.camel@localhost.localdomain> Content-Type: text/plain
How do I get my SanDisk cruzer mini 256 mb pen drive to mount on my Fedora Core 2 laptop? Thanks in advance Walt
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
-- Chuck Haines chaines@gmail.com ------------------------------------------- Tau Kappa Epsilon Fraternity http://www.tkezm.org WPI Class of 2005 http://www.wpi.edu ------------------------------------------- AIM: CyberGrex YIM: CyberGrex_27 ICQ: 3707881 -------------------------------------------
Chuck Haines wrote:
If you use gnome2 and HAL, it will automatically mount it for you. I'm running gentoo and it works very nicely. Also, hotplug (or coldplug, whichever it is now) might also be able to do the trick.
Chuck
For clarity, if you are using Redhat, the definitions for SanDisk are not in /etc/updfstab.conf.default. Because of that, hotplug doesn't know what to do with the SanDisk pens if they are recognized by the OS, and the pen will not be automatically mounted. To make it automatically mount, you must add an entry for SanDisk in the /etc/updfstab.conf file. -Gina
On Thu, 14 Oct 2004 10:41:08 -0400 (EDT), Ryan Caron <rcaron@wpi.edu> wrote:
Assuming you do not have any other usb devices hooked up to your laptop, adding the following line to your /etc/fstab will allow you to mount and use your pen drive as a non-root user:
/dev/sda1 /mnt/sda1 vfat user,noauto,exec 0 0
Using this method, you will have to type "mount /mnt/sda1" when you insert it and "umount /mnt/sda1" when you are done.
I cannot stress how important it is to unmount! Failure to do so will either leave your pen drive without the changes you made or with data corruption (I know this from experience)
If anybody knows of a way for linux to mount automatically do this I am all ears (switching the noauto parameter to auto doesn't do the trick).
Sincerely, Ryan Caron
Message: 7 Date: Thu, 14 Oct 2004 09:55:05 -0400 From: Walt Sawyer <wsawyer@norfolk-county.com> Subject: [Wlug] mountng a pen drive (usb) To: Worcester Linux Users Group <wlug@mail.wlug.org> Message-ID: <1097762105.2591.9.camel@localhost.localdomain> Content-Type: text/plain
How do I get my SanDisk cruzer mini 256 mb pen drive to mount on my Fedora Core 2 laptop? Thanks in advance Walt
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
participants (4)
-
Chuck Haines
-
Gina Minks
-
Gregory Avedissian
-
Ryan Caron