From owner-freebsd-questions@FreeBSD.ORG Wed Apr 2 23:00:52 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A5311878 for ; Wed, 2 Apr 2014 23:00:52 +0000 (UTC) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 8745680A for ; Wed, 2 Apr 2014 23:00:51 +0000 (UTC) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id 826AC3AE0E for ; Wed, 2 Apr 2014 16:00:46 -0700 (PDT) From: "Ronald F. Guilmette" To: freebsd-questions@freebsd.org Subject: Re: A question about fsck and the -t option In-Reply-To: <533C40BF.2010907@cyberleo.net> Date: Wed, 02 Apr 2014 16:00:46 -0700 Message-ID: <2514.1396479646@server1.tristatelogic.com> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2014 23:00:52 -0000 In message <533C40BF.2010907@cyberleo.net>, CyberLeo Kitsana wrote: >A glance at the source code[1] suggests that {fsck} attempts to infer the >type from the fstab, and then the BSD disklabel. Based upon my limited perusal/skimming of the fsck man page, this appears to be undocumented behavior. I shall be filing a documentation PR on this, because I'm a firm believer that important aspects of behavior should be documented. >It does not appear to >attempt a guess from the filesystem magic itself. Should it perhaps do so? The particular filesystem that wanted to check yesterday was most definitely _not_ listed in my /etc/fstab file. But that was not an oversight. That was by intent. Also and separately, please correct me if I am wrong, but aren't BSD style partition labels going the way of the dinosaur, now that we have GPT partitioning available?