Holla,
Need some help on how to mount a specific; out of many, external HDD to a certain folder. I’ve tried mounting it via /DEV/DISK/BY-ID/supposed_disk_id to the folder I want. But I get permission errors as a user When I try to create anything below the first level.
mount -o users,rw -t vfat /dev/disk/by-id/disk_id /media/VAULT
Ideally, I’d like to have it in the FSTAB so I don’t have to keep remounting it. I’m on a laptop and the drive is USB; and I can’t always use the same port to plug it into.
Muchos Mahalo’s
Hi
Try this:
mount -t vfat -o uid=john,gid=users,utf8=true /dev/sda9 /media/VAULT
Change sdax to the correct value and john to suit yourself
Reference: openSUSE: HowTo set disk access permissions for Fat32 (VFAT) on a desktop PC
Thanks… Now the next part is how should I have it in FSTAB?
/dev/disk/by-id/usb-WD_My_Book_46237432345273-0:0-part1 /media/mount_point vfat umask=000 0 0
I never did get the point of the two numbers at the end…
I’ve always used the partitioner in YaST… it can setup the mount stuff for fstab for you.
A run-down on the fields contained in an fstab entry can be read from the return from “man fstab”.
PS is this a question:
Thanks… Now the next part is how should I have it in FSTAB?
<bowing>Thank you oh Great Oracle!!! </bowing>
And it was a rhetoric question…
Bowing ? – what about some tangibles?
I’ll send some pocky if ya want some… XD