LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   how to cofigure USB flash drive? (https://www.linuxquestions.org/questions/linux-hardware-18/how-to-cofigure-usb-flash-drive-300350/)

wrangler 03-11-2005 06:27 AM

how to cofigure USB flash drive?
 
Hi,
Can anyone give pointers or links which explain how to configure portable usb flash drives. I have mandrake 10.1

thanks,
Sen

db391 03-11-2005 06:40 AM

If you mean getting them to work, that means adding a line to your /etc/fstab:

Code:

/dev/sda1 /mnt/usb1 vfat user,noauto,rw,sync,noexec 0 0
Also mkdir /mnt/usb and KDE (or gnome) will add the USB (sda1) to the devices.

wrangler 03-11-2005 07:37 AM

thanks for that but in: /dev/sda1 /mnt/usb1 vfat user,noauto,rw,sync,noexec 0 0 should it be sda1 or ...

rpz 03-11-2005 09:40 AM

I have no experience of flash drives in Mandrake, but in Fedora, the drives appear under /dev/sdaN, where N is not constant (for example, right now my USB drive is /dev/sda4). I prefer to use hald to automount them when plugged in (they pop up on the desktop just like in winxp/osx). This daemon takes care of all the hassle with fstab lines. This is default in Fedora, in mandrake you might have to install it yourself.

BroX 03-11-2005 10:02 AM

Anyone any idea why some flash drives work well, while others seem not to be recognised?
fstab line is
Code:

/dev/sda1        /mnt/usbflash    vfat        noauto,user,owner,uid=1000       
0  0

Cheers, Leon.
[edit] Running Slack current, kernel 2.4.29


All times are GMT -5. The time now is 05:31 AM.