Re: Local Mount Options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 6, 2013 at 4:24 PM, Tim Gustafson <tjg@xxxxxxxx> wrote:
>> isos    -fstype=nfs4,ro,rsize=8192,wsize=8192,intr,nolock,nosuid libre:/isos
>
> Are you sure it wasn't just accepting and ignoring that as a "sloppy" option?
>
> The man page for mount on CentOS 5.x is very specific:
>
> -t vfstype
>      The  argument following the -t is used to indicate the file system
>      type. The file system types which are currently supported include:
>      *snip* nfs4
>
> The man page makes no mention of -fstype and when I tried to mount
> something manually that way, this is what I see:
>
> root@client: mount -fstype=nfs4 server:/export/home/tjg /mnt
> root@client: mount | grep tjg
> server:/export/home/tjg on /mnt type ype=nfs4 (rw)

The "-fstype=nfs4" option is parsed by the automounter, which turns it into
"-t nfs4". LDAP map example showing how I think it should work (untested):

dn: automountKey=dir,automountMapName=auto.test,dc=x,dc=com
objectClass: automount
automountKey: dir
automountInformation: -fstype=nfs4,rsize=8192,wsize=8192 server:/

Leonardo
--
To unsubscribe from this list: send the line "unsubscribe autofs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux Ext4]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux