What are my mount options … ?

Marc G. Fournier scrappy at hub.org
Wed Apr 24 23:19:06 UTC 2013


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




More information about the freebsd-fs mailing list