[Sussex] fstab and mounting partitions ??
Thomas Adam
thomas at edulinux.homeunix.org
Thu Nov 11 10:20:42 UTC 2004
On Thu, Nov 11, 2004 at 10:12:02AM +0000, John D. wrote:
> as you can see, I've kept the same dump/pass options, I don't know if
> I should change them for something else?
No, that's OK as it stands. You should also add the option "defaults"
after the "noatime" option for your /home fstab line, such that it
reads:
noatime,defaults
> Also, the entry I've put in for my windows partition, I've left it
> commented out for the moment as I'm unsure whether I've put the
> correct info in, i.e. the type, options and dump/pass. Would you know
> if there's anything that I should modify in the entry? or should
> it work if I just uncomment it? (I wouldn't know if it will freak
> out with ntfs as the "type" though that's how my windows install is
> formatted as).
As it is NTFS, you'll need many more options, something like:
/dev/hda1 /windows ntfs uid=<user>,gid=<group>,dmask=0002,fmask=0003 0 1
Note that the uid and the gid options should be numerical, and can be
ascertained by using the "id" command. So for example:
[n6tadam at station ~]$ id
uid=1000(n6tadam) gid=1000(n6tadam) groups=1000(n6tadam),4(adm),6(disk),20(dialout),24(cdrom),25(floppy),29(audio),40(src),44(video),50(staff),100(users),1001(sudorun),1005(vimadmin)
I would therefore use:
/dev/hda1 /windows ntfs uid=1000,gid=1000,dmask=0002,fmask=0003 0 1
Note also that the noatime is meaningless with NTFS, since you won't be
writing to that partition ever.
-- Thomas Adam
--
I know nothing, and understand even less.
More information about the Sussex
mailing list