What have I done now seems weird

Scott Talbot talbotscott at cox.net
Tue Sep 28 18:04:09 UTC 2004


On Tue, 2004-09-28 at 07:38 +0100, nosp wrote:
> On Tue, 2004-09-28 at 07:14, Peter Cague wrote:
> > Hi
> > 
> > I followed the instructions as per ntfs drives and did all the command
> > line stuff and they worked fine but when I put the command lines into my
> > fstab the come up as bad lines
> > 
> [snip]
> > /dev/hda1               /mnt/Windoz          -t   ntfs -r -o unmask=0222
> > /dev/hda2               /mnt/Bits            -t   ntfs -r -o unmask=0222
> > 
> > if I run the two above lines at the prompt they work?
> 
> The format of an /etc/fstab line is not the same as the format of the
> command-line arguments to "mount".
> 
> Try:
> /dev/hda1               /mnt/Windoz          ntfs  ro,unmask=0222 0 0
> /dev/hda2               /mnt/Bits            ntfs  ro,unmask=0222 0 0
                                                        ^^^^^^  
	That should be umask=0222, which makes it read only permissions with
sub folders visible.

Scott


> You should probably also familiarize yourself with the fstab format (man
> fstab).
> 
> FWIW this line works for me:
> 
> /dev/hdc1               /mnt/win_c              ntfs    noauto,owner,ro
> 0 0
> 
> 
> 




More information about the users mailing list