LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   USB Key (https://www.linuxquestions.org/questions/linux-hardware-18/usb-key-333706/)

Darkness-Inc 06-15-2005 12:40 AM

USB Key
 
i put me usb key in and was wondering where i go to find it and acces it... and is it installed?

rootboy 06-15-2005 01:17 AM

It should be, have you checked to see if it showed up in your /etc/fstab or your /etc/mtab?

You might have to create a mountpoint in your /mnt/ directory to access it. This would either have to reflect where fstab thinks it should go, or you will have to edit your fstab to reflect where you want your key mounted.

Post your fstab if you need more help.

Darkness-Inc 06-15-2005 02:19 AM

my mtab looks like this

/dev/hdd1 / ext3 rw 0 0
none /proc proc rw 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
none /dev/shm tmpfs rw 0 0

my fstab looks like this

LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0


can you explain what an mtab and fstab are.... what all the writing means and how do i get me usb key to work please :P

rootboy 06-16-2005 10:58 PM

Quote:

Originally posted by Darkness-Inc
my mtab looks like this

/dev/hdd1 / ext3 rw 0 0
none /proc proc rw 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
none /dev/shm tmpfs rw 0 0

my fstab looks like this

LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0


can you explain what an mtab and fstab are.... what all the writing means and how do i get me usb key to work please :P

Well, the mtab file shows what filesystems are currently mounted, and fstab tell linux how to mount them.

The format is device, mount point, permissions and when to do FSCK's (IIRC).


As it applies to you at the moment, it shows that your dongle isn't mounted. Drat...


You're going to need some entry in fstab to tell the system how and where to mount your stick. On my SuSE system it's automagic. You might need to add it yourself. Add this line to the end of your /etc/fstab file.

You'll have to do these things as root.

/dev/sda1 /mnt/sda1 vfat noauto,users,owner,exec,umask=000 0 0

Save and close the file, and then run this "mkdir /mnt/sda1". This creates the mount point.


Now run "mount /mnt/sda1" (you can mount sda1 as user if you like).


You can also try this:

http://www.linuxquestions.org/questi...ight=dmesg+usb


All times are GMT -5. The time now is 04:57 AM.