From owner-freebsd-questions@FreeBSD.ORG Thu Oct 6 15:25:47 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CBE116A41F for ; Thu, 6 Oct 2005 15:25:47 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from leto.uk.clara.net (leto.uk.clara.net [80.168.69.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACE0343D4C for ; Thu, 6 Oct 2005 15:25:46 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from bloodhound.noc.clara.net ([195.8.70.207]) by leto.uk.clara.net with esmtp (Exim 4.43) id 1ENXcv-0006Du-T9; Thu, 06 Oct 2005 16:25:45 +0100 Received: from personal by bloodhound.noc.clara.net with local (Exim 4.52 (FreeBSD)) id 1ENXdb-000KAy-IZ; Thu, 06 Oct 2005 16:26:27 +0100 Date: Thu, 6 Oct 2005 16:26:27 +0100 From: Brian Candler To: Doug Poland Message-ID: <20051006152627.GA77534@uk.tiscali.com> References: <20051006144532.GA77214@uk.tiscali.com> <20051006151014.GB32796@polands.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051006151014.GB32796@polands.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@freebsd.org Subject: Re: Setting mount_nfs options in /etc/fstab X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2005 15:25:47 -0000 On Thu, Oct 06, 2005 at 10:10:14AM -0500, Doug Poland wrote: > Here's an fstab entry of mine for an nfs mount. > > fs:/data /data nfs -3,-R=3,-b,-i,-s,-r=32768,-w=32768,rw 0 0 > > Your options and milage may vary... That works for me, thank you. Perhaps the fstab(5) page could be clearer then. It says: The fourth field, (fs_mntops), describes the mount options associated with the file system. It is formatted as a comma separated list of options. It contains at least the type of mount (see fs_type below) plus any additional options appropriate to the file system type. See the options flag (-o) in the mount(8) page and the file system specific page, such as mount_nfs(8), for additional options that may be specified. and also later: struct fstab { char *fs_spec; /* block special device name */ char *fs_file; /* file system path prefix */ char *fs_vfstype; /* File system type, ufs, nfs */ char *fs_mntops; /* Mount options ala -o */ <<<<<<< char *fs_type; /* FSTAB_* from fs_mntops */ int fs_freq; /* dump frequency, in days */ int fs_passno; /* pass number on parallel fsck */ }; When I read this, the implication to me was that only options which you could pass using -o to mount or mount_nfs were permitted. Cheers, Brian.