Date: Thu, 25 Apr 2013 01:33:00 +0200 From: Mateusz Guzik <mjguzik@gmail.com> To: "Marc G. Fournier" <scrappy@hub.org> Cc: "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org> Subject: Re: What are my mount =?utf-8?Q?options_?= =?utf-8?B?4oCm?= ? Message-ID: <20130424233300.GA23151@dft-labs.eu> In-Reply-To: <D5BF94C7-9FDC-4E4D-B9B8-6E5C2715B02A@hub.org> References: <D5BF94C7-9FDC-4E4D-B9B8-6E5C2715B02A@hub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 24, 2013 at 04:19:03PM -0700, Marc G. Fournier wrote: > > I realize that *in theory*, I should find them in /etc/fstab, but if I'm experimenting with various mount options, is there some way of determining what my current options are? > > For instance, if I do a 'mount' command, it tells me: > > 192.168.1.1:/vol/ports on /usr/ports (nfs) > 192.168.1.1:/vol/vm on /vm (nfs) > > for instance, on Ubuntu, it tells me everything I set as options: > > 10.5.253.130:/vol/vm on /mnt type nfs (rw,rsize=32768,wsize=32768,addr=10.5.253.130) > > I tried 'mount -p', and even that seems to drop any options as listed in /etc/fstab: > > 192.168.1.1:/vol/ports /usr/ports nfs rw 0 0 > 192.168.1.1:/vol/vm /vm nfs rw 0 0 > > while my /etc/fstab has: > > 192.168.1.1:/vol/ports /usr/ports nfs rw,rsize=32768,wsize=32768 0 0 > 192.168.1.1:/vol/vm /vm nfs rw,rsize=32768,wsize=32768 0 0 > You can use '-m' switch from nfsstat(8) to dump all mount-time-settable parameters of your mounts, i.e. this will dump stuff you didn't set explicitly as well. -- Mateusz Guzik <mjguzik gmail.com>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130424233300.GA23151>