From owner-freebsd-questions@FreeBSD.ORG Sat Feb 25 01:21:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71D1C10656EF for ; Sat, 25 Feb 2012 01:21:01 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from mail.monochrome.org (b4.ebbed1.client.atlantech.net [209.190.235.180]) by mx1.freebsd.org (Postfix) with ESMTP id 87FF08FC18 for ; Sat, 25 Feb 2012 01:21:01 +0000 (UTC) Received: from [192.168.1.11] ([192.168.1.11]) by mail.monochrome.org (8.14.3/8.14.3) with ESMTP id q1P1L0Vi077193; Fri, 24 Feb 2012 20:21:00 -0500 (EST) (envelope-from chris@monochrome.org) Date: Fri, 24 Feb 2012 20:21:00 -0500 (EST) From: Chris Hill To: Matthew Seaman In-Reply-To: <4F47B5FB.2000307@infracaninophile.co.uk> Message-ID: References: <4F47B5FB.2000307@infracaninophile.co.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: mount options display (detailed) 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: Sat, 25 Feb 2012 01:21:05 -0000 On Fri, 24 Feb 2012, Matthew Seaman wrote: > On 24/02/2012 15:56, jb wrote: >> how can I display detailed mount options, e.g. rw, async, acls, atime, ... >> This regarding local fs or NFS. >> 'mount' does not do that. > > mount -p > > This is actually something you could in theory have worked out from the > mount(8) man page, so long as you knew what 'fstab format' meant. > Perhaps that page could do with a little editing so that it doesn't > assume so much prior knowledge of its readers. >From the man page: -p Print mount information in fstab(5) format. Implies also the -v option. 'mount -p' shows me something that looks a lot like my own /etc/fstab. It appears to be showing me what's mounted right now, but it does not display any mount options. This is on 8.0-STABLE; maybe things have changed in the Brave New World of Nine. -- Chris Hill chris@monochrome.org ** [ Busy Expunging ]