From owner-freebsd-questions@FreeBSD.ORG Sat Oct 17 22:31:02 2009 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 45D451065696 for ; Sat, 17 Oct 2009 22:31:02 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 04A9C8FC0C for ; Sat, 17 Oct 2009 22:31:01 +0000 (UTC) Received: from r55.edvax.de (port-92-195-71-245.dynamic.qsc.de [92.195.71.245]) by mx02.qsc.de (Postfix) with ESMTP id E56CA1DE65; Sun, 18 Oct 2009 00:31:00 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n9HMV06G001491; Sun, 18 Oct 2009 00:31:00 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 18 Oct 2009 00:31:00 +0200 From: Polytropon To: Vincent Hoffman Message-Id: <20091018003100.f69bf5e4.freebsd@edvax.de> In-Reply-To: <4ADA4279.4080006@unsane.co.uk> References: <4AD8EB8F.9010900@videotron.ca> <4AD95740.6010408@gmail.com> <4ADA3D48.70307@videotron.ca> <4ADA4279.4080006@unsane.co.uk> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: PJ , michael , freebsd-questions@freebsd.org Subject: Re: I hate to bitch but bitch I must X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Oct 2009 22:31:02 -0000 On Sat, 17 Oct 2009 23:17:29 +0100, Vincent Hoffman wrote: > yes. this makes a ufs label which you can access via /dev/ufs > for example (my home system) > jhary@ostracod > (23:08:34 <~>) 0 $ ls /dev/ufs > SCRATCH SSDROOT SSDUSR SSDVAR > [...] > /dev/ufs/SCRATCH on /scratch (ufs, local, noatime, gjournal) ^^^^^^^ ^^^^^^^^ Wow! Last time I saw this was on EAW's WEGA (a UNIX System III compatible UNIX developed in the GDR for the P8000 workstation). There even was /etc/mount and /etc/fsck. :-) > /dev/ufs/SSDVAR /var ufs rw,noatime 2 2 > /dev/label/SWAP none swap sw 0 0 These two lines illustrate the different use of the results of "glabel label" for generic labels and "tunefs -L" for UFS labels very well. > note there I have also used glabel on the swap (command used was glabel > label /dev/ad10p1) A really honest question: What does the "p" in "ad10p1" indicate? I always thought swap partitions are something like "ad10b" (an own partition right after the root partition a). > One thing to note with label, if you mount/use the device by is raw > node, the label disapears. > [...] > This used to confuse me greatly :) Why make a label available for something to mount that is already mounted and cannot be accessed through this label while being mounted? :-) The kernel messages show such messages about removing labels as soon as devices are mounted in the "traditional" way. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...