Results 1 to 4 of 4
I have a Debian Sarge machine without X and I wanto to mount an external hard disk as user, so I modified /etc/fstab by adding this line:
Code:
/dev/sda1 /mnt/usb ...
- 02-15-2007 #1Just Joined!
- Join Date
- Nov 2006
- Posts
- 15
Problem with USB hard disk
I have a Debian Sarge machine without X and I wanto to mount an external hard disk as user, so I modified /etc/fstab by adding this line:
but I can't mount it:Code:/dev/sda1 /mnt/usb vfat rw,users,auto 0 0
I don't find a solution, I read some tutorial but it makes me confused about fstab options.Code:roberto@ferro:~$ mount -t vfat /dev/sda1 /mnt/usb mount: only root can do that
- 02-17-2007 #2
You've correctly added the users option to allow users to mount the filesystem. Judging from the error message, it sounds like vfat filesystems do not honor that option.
Did you test to see if you are able to mount it as root? If so, is setting the user up as a sudoer (to mount only) an option?
- 02-17-2007 #3Code:
/dev/sda1 /mnt/usb vfat defaults,umask=0 0 0
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-19-2007 #4Just Joined!
- Join Date
- Nov 2006
- Posts
- 15
I solved with
and I can mount withCode:/dev/sda1 /mnt/usb vfat rw,noauto,user,uid=1000 0 0
Thank youCode:mount /mnt/usb


Reply With Quote
