Advertisement

fstab

Started by April 09, 2005 09:42 AM
5 comments, last by gumpy 19 years, 5 months ago
pretty sure this isn't 100% right... /dev/hdd2 /mnt/shared vfat defaults 1 1 /dev/hdd3 swap swap defaults 0 0 /dev/hda3 / ext3 defaults 1 1 /dev/hdd4 /mnt/hd2 ext3 defaults 1 1 /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 hdd2 is the fat32 partition for sharing files between windows xp and linux. hdd4 is an extra ext3 partition for general storage space. am i actually doing this right?
This space for rent.
Looks fine to me. Why don't you mount each one manually from a live cd with the given options and see if they work?
Advertisement
This is what I would use:

/dev/hdd2 /mnt/shared vfat umask=0000,dmask=0000,uid=0002,gid=users,users 0 0
Quote: Original post by darklordsatan
This is what I would use:

/dev/hdd2 /mnt/shared vfat umask=0000,dmask=0000,uid=0002,gid=users,users 0 0

is that how you mount the partition with full access for all users?

i already got rid of windows and reinstalled linux, but it'd be nice to know in case i ever use windows again.
erm, forgot to log in...
This space for rent.
umask=0000 is like chmod 777 to all files
dmask=0000 is like chmod 777 to all folders
uid=0002 is liek the owner of the folders, change acordingly
gid=users is, as you may guess, the group
users allows all users to mount the partition

I hope I was of any help, cheers
Advertisement
good stuff to know. thanks.
This space for rent.

This topic is closed to new replies.

Advertisement