Click to See Complete Forum and Search --> : need Help with Fstab


killerasp
03-29-2001, 02:03 AM
How do i edit my fstab to mount a fat32 HD and give each user write acesss. I tried fooling around with it but nothing works

RageAHolic
03-29-2001, 03:09 AM
/dev/hdxx /mount/point vfat defaults,user,rw

That should do it...

bdg1983
03-29-2001, 07:20 AM
And there's also the NHF on the subject located here (http://www.linuxnewbie.org/nhf/intel/misc/winhd.html).

bdg1983
03-29-2001, 07:22 AM
I haven't checked, but was there nothing in 'man fstab' that would of helped?

killerasp
03-29-2001, 03:38 PM
editing it they way you told me did not work
i see cant write to it. Is there anyway to do it? i also tried NHF, and it didint work

RageAHolic
03-29-2001, 04:13 PM
The word on the street is that (while unmounted) you need to give rw permission to the mount point (directory).

chmod 666 /mount/point

Maybe give that a try...

[ 29 March 2001: Message edited by: RageAHolic ]

[ 29 March 2001: Message edited by: RageAHolic ]

Molecule Man
03-29-2001, 04:13 PM
You might now need to change the permissions on all the directories, that one bit me once.

killerasp
03-29-2001, 05:00 PM
when you use chmod 666 /mnt, it does give write access, but it goes back after you mount it

RageAHolic
03-29-2001, 05:07 PM
I would create a mount point that is a sub directory of /mnt.

mkdir /mnt/vfat or something like that...you don't even have to limit it to a sub directory of /mnt. You could create a sub directory of / called vfat and use that as your mount point.

...then chmod666 the directory upon which you will be mounting the vfat partition.

[ 29 March 2001: Message edited by: RageAHolic ]

MBMarduk
03-29-2001, 05:13 PM
here's my old SuSE fstab:

/dev/hda8 swap swap defaults 0 0
/dev/hda3 / ext2 defaults 1 1
/dev/hda7 /boot ext2 defaults 1 2

#/dev/hdd /cdrom auto ro,noauto,users,exec 0 0

/dev/fd0 /floppy auto noauto,users 0 0

none /proc proc defaults 0 0
# End of YaST-generated fstab lines, below were added by Mike.
/dev/hda1 /winC vfat noauto,users 0 0 #<--HERE!
/dev/hda5 /winD vfat noauto,users 0 0 #<--HERE!
#/dev/hda6 /winE vfat noauto,users 0 0 #<--HERE!
/dev/scd1 /cdrom auto ro,noauto,users,exec 0 0
/dev/scd0 /cdrw auto ro,noauto,users,exec 0 0

Hope that helps...
-Mike

bdg1983
03-29-2001, 06:40 PM
There's also the FAQ's

here
http://www.linuxnewbie.org/cgi-bin/faq/faqw.py?req=all#6.3

here
http://www.linuxnewbie.org/cgi-bin/faq/faqw.py?req=all#6.4

and here.
http://www.linuxnewbie.org/cgi-bin/faq/faqw.py?req=all#10.1

Something has to work.