From owner-freebsd-questions@freebsd.org Wed Dec 16 14:10:11 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 974BDA4823B for ; Wed, 16 Dec 2015 14:10:11 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7B7F71774 for ; Wed, 16 Dec 2015 14:10:11 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=r14ul7EWLK1nFBs8sqbNuuZZ1KqQKW3YOVLY0pgVag4=; b=dQCtCIRT6Rsv5VKOivapv+YF6Q ZDWkQrb/TTwIGhDim3TNiWHXaU0ShCc9XnfBWAz1MXlw2VRwqt2UhfgIFqfBorgISQaSIlRjUP1Nk 2g4eEVk8Iq7yswgd0QKmoIb4PCsG1pU656cRqZSOaOnuawu22n2wIiz+8LErqgXTzaCI=; Received: from [114.121.161.253] (port=47283 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.86) (envelope-from ) id 1a94t0-000TpY-E9; Tue, 15 Dec 2015 22:44:27 -0700 Date: Wed, 16 Dec 2015 13:44:18 +0800 From: Erich Dollansky To: Sergei G Cc: FreeBSD Questions Subject: Re: which label to use in mount? Message-ID: <20151216134418.696fa994@X220.alogt.com> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Authenticated-Sender: sl-508-2.slc.westdc.net: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2015 14:10:11 -0000 Hi, On Tue, 15 Dec 2015 19:37:16 -0800 Sergei G wrote: > I have executed the following commands: > > # gpart create -s GPT ada1 > # gpart add -t freebsd-ufs -l sback -s 50G ada1 > # newfs -nL back /dev/ada1p1 > you allow the destruction of the GPT label by this. newfs /dev/label/sback should be the better option. > so, now I can mount it as either: > > # mount /dev/gpt/sback /mnt > or > # mount /dev/ufs/back /mnt This will work only until the disk became filled. > > Both seem to work. However, command > > df -H > > reports slightly different numbers: > > /dev/ufs/back 52G 4.1k 48G > 0% /mnt dev/gpt/dback 48G 4.0K > 45G 0% /mnt > > Which way is the correct way to mount? > Use only tyhe GPT label, but also for formatting. Erich