From owner-freebsd-doc@FreeBSD.ORG Sat May 24 16:32:36 2014 Return-Path: Delivered-To: freebsd-doc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 03533794; Sat, 24 May 2014 16:32:36 +0000 (UTC) Received: from homiemail-a74.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by mx1.freebsd.org (Postfix) with ESMTP id DF5BB294A; Sat, 24 May 2014 16:32:35 +0000 (UTC) Received: from homiemail-a74.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a74.g.dreamhost.com (Postfix) with ESMTP id 1F13567C06B; Sat, 24 May 2014 09:32:29 -0700 (PDT) Received: from dreadnaught (ip68-100-185-59.dc.dc.cox.net [68.100.185.59]) (Authenticated sender: trhodes@fbsdsecure.org) by homiemail-a74.g.dreamhost.com (Postfix) with ESMTPA id 4866F67C069; Sat, 24 May 2014 09:32:20 -0700 (PDT) Date: Sat, 24 May 2014 12:32:04 -0400 From: Tom Rhodes To: Allan Jude Subject: Re: docs/188214: Manpage for fsck(8) doesn't say what happens when no -t or -T Message-Id: <20140524123204.43dfca83.trhodes@FreeBSD.org> In-Reply-To: <201405231540.s4NFe0ZO096321@freefall.freebsd.org> References: <201405231540.s4NFe0ZO096321@freefall.freebsd.org> X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; x86_64-unknown-freebsd9.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-doc@FreeBSD.org X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2014 16:32:36 -0000 On Fri, 23 May 2014 15:40:00 GMT Allan Jude wrote: > The following reply was made to PR docs/188214; it has been noted by GNATS. > > From: Allan Jude > To: bug-followup@FreeBSD.org, rfg@tristatelogic.com, > Tom Rhodes > Cc: > Subject: Re: docs/188214: Manpage for fsck(8) doesn't say what happens > when no -t or -T > Date: Fri, 23 May 2014 11:39:24 -0400 > > I have not checked the code to be sure, but from general usage I have > noticed that fsck(8) doesn't actually try to detect, or 'taste' the > partition, but only looks at /etc/fstab and if the type is not > specified, then returns the error. > > Suggesting that it 'attempts to detect' may give the wrong impression. > Someone would have to look at the source of fsck(8) to be sure. > So, in theory, an attempt to parse /etc/fstab would be an attempt to detect the type; however, my quick glance at the code showed no real parsing of fstab. But in my case, I followed to both the T and t flags, and just glanced at what was done would they not be specified. That was really as far as I got, and I attempted to use very generic language in case it only does one, or the other, or both. :) Reasonable? -- Tom Rhodes