Re: mount_nfs -T -i --> fstab?
From: Conrad J. Sabatier (conrads_at_cox.net)
Date: 12/31/04
- Next message: Conrad J. Sabatier: "Re: mjpegtools"
- Previous message: Tlhingan: "Re: NFS: what happens to local space when remote space is imported?"
- In reply to: Per Hedeland: "Re: mount_nfs -T -i --> fstab?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 31 Dec 2004 04:40:57 GMT
In article <cr0l9g$2fq0$1@hedeland.org>, Per Hedeland <per@hedeland.org> wrote:
>
>
>In article <klLAd.31234$F25.2769@okepread07> conrads@cox.net (Conrad
>J. Sabatier) writes:
>>In article <oht6t0dofhvll91vlgesvr4eg07p6j560u@4ax.com>,
>>Tlhingan <tlhingan1@optonline.net> wrote:
>>>
>>>
>>>I'd like to mount_nfs -T -i SRVR:/nfs/share at boot using fstab
>>>instead, but I don't know how these options are written in fstab. can
>>>this be done? how? or would it be better as a script from rc.conf?
>>
>>SRVR:/nfs/share /some/mount/point nfs rw,-Ti 0 0
>>
>>should do the trick.
>
>Are you sure? I haven't tried it recently, but ISTR that only the words
>allowed with the -o option can be given in the fstab options field, and
>fstab(5) seems to agree. In this case it should be OK to use
>
>SRVR:/nfs/share /some/mount/point nfs rw,tcp,intr 0 0
>
>- but not all mount_xxx options are available in -o form. Hm,
>mount_nfs(8) lists those as "Historic" and "deprecated" - hopefully that
>just refers to their usage with mount_nfs, the possibility to specify
>mount_xxx options in fstab is something that should be extended IMHO,
>not reduced...
Yes, I'm quite sure it will work. :-) I use the following in my own fstab:
# Device Mountpoint FStype Options Dump Pass#
gateway:/mm /mm nfs rw,-T 0 0
gateway:/usr/home/ncvs /usr/home/ncvs nfs rw,-T 0 0
gateway:/usr/ports/distfiles /usr/ports/distfiles nfs rw,-T 0 0
-- Conrad J. Sabatier <conrads@cox.net> -- "In Unix veritas"
- Next message: Conrad J. Sabatier: "Re: mjpegtools"
- Previous message: Tlhingan: "Re: NFS: what happens to local space when remote space is imported?"
- In reply to: Per Hedeland: "Re: mount_nfs -T -i --> fstab?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|