On Tuesday 17 October 2006 08:57, Thufir wrote:
> How can I fix line 10 of /etc/fstab so that, like /mnt/windows, it's
> just automagically available for read and write?

[snip]
>   9  /dev/hdb1               /mnt/windows          
>  vfat    users,owner,rw,umask=000 0 0
>  10  #/dev/hdb4              
> /mnt/gentoo             ext3    users,owner,rw,umask=000 0 0 11

The short answer is that you don't. The long answedr is that you can, if 
you are willing to change permissions.

Your /mnt/windows is a vfat filesystem, which has no idea of unix 
permissions. But it's mounted on a Unix system which must have 
permissions, so the kernel takes a default and applies the default to 
every file and directory

Your /mnt/gentoo is ext3 which DOES understand permissions, so therefore 
the system will use the permissions and owner/group that is already on 
that filesystem. You can't override this, and neither do you want to. 
The defaults you are using mostly do not apply to ext3 either, check 
the man page for mount for valid options to ext3 and ext2.

If you are willing to change owner and permissions on all the files 
on /dev/hdb4 then you can do so and they will be available when 
mounted, but you cannot arbitrarily suspend existing permissions with 
just a mount operation.

alan
-- 
gentoo-user@gentoo.org mailing list

Reply via email to