Re: mount_nfs -T -i --> fstab?

From: Per Hedeland (per_at_hedeland.org)
Date: 12/30/04


Date: Thu, 30 Dec 2004 10:29:04 +0000 (UTC)

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...

--Per Hedeland
per@hedeland.org



Relevant Pages

  • Re: mount_nfs -T -i --> fstab?
    ... Sabatier) writes: ... >>should do the trick. ... but ISTR that only the words ... >mount_xxx options in fstab is something that should be extended IMHO, ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Re: RFC: Adding a ``user mount option
    ... Would it make sense to be able to specify a group in fstab? ... Then the users can be simply given membership of this ... group to mount the devices. ...
    (freebsd-hackers)
  • Re: Re: RFC: Adding a ``user mount option
    ... Would it make sense to be able to specify a group in fstab? ... Then the users can be simply given membership of this ... group to mount the devices. ...
    (freebsd-hackers)
  • Re: USB mounting automatically : users option?
    ... you may use labels or uuid in your fstab to have your partitions ... mounted on the mount points you specify or use udev rules to get the same ...
    (Ubuntu)