fstab settings
This is my /etc/fstab file.
/dev/hda2 swap swap defaults 0 0 /dev/hda3 / ext3 defaults 1 1 /dev/hda1 /boot ext3 defaults 1 2 /dev/hda8 /home ext3 defaults 1 2 /dev/hda9 /depository ext3 defaults 1 2 /dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,owner 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 proc /proc proc defaults 0 0 none /sys sysfs defaults 0 0 I have a Sony digital camera and a USB thumbdrive that I want to be able to use. What do I need to add to my fstab to be able to mount these? When I mess with lilo, I have to run lilo. When you adjust fstab, do you have to run anything? |
Here's what I have for my JumpDrive:
Code:
/dev/sda1 /mnt/sda vfat defaults,users,umask=0002 0 0 No, you don't need to run anything, just edit and save as root/su. |
Use this HOWTO guide. It got my Jumpdrive and MP3 player working via USB.
http://www.linuxquestions.org/questi...icle&artid=115 |
I keep getting a an error:
mount: special device /dev/sda1 does not exist What does that mean? I know that my thumbdrive is plugged in. If it is not sda1, what is it? |
I experienced that constantly with Mandrake 10.1. Do you have an updated kernel (like 2.6.x)? It's my understanding that the 2.6 series uses dynamic devices, and to be honest, I was never able to get the stupid thing to work properly with USB devices.
|
Got it - here is what I did to get my USB devices working
Here is my /etc/fstab
/dev/hda2 swap swap defaults 0 0 /dev/hda3 / ext3 defaults 1 1 /dev/hda1 /boot ext3 defaults 1 2 /dev/hda8 /home ext3 defaults 1 2 /dev/hda9 /depository ext3 defaults 1 2 /dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,owner 0 0 /dev/sda1 /mnt/flash auto users,rw,noauto 0 0 /dev/sdb2 /mnt/camera auto users,rw,noauto 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 proc /proc proc defaults 0 0 none /sys sysfs defaults 0 0 I got the camera to mount with the command : mount /dev/sdb1 /mnt/camera I got the thumbdrive to mount with: mount -t vfat /dev/sda /mnt/flash Does anyone know why the commands are different? I am not complaining, I am just glad it works, but I really wish that I could understand the difference, as opposed to me just getting lucky with some help from lq.org. I am running linux version 2.6.11.2. |
All times are GMT -5. The time now is 06:34 PM. |