From owner-freebsd-fs@FreeBSD.ORG Fri Feb 9 17:19:45 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6AF4016A400 for ; Fri, 9 Feb 2007 17:19:45 +0000 (UTC) (envelope-from redchin@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx1.freebsd.org (Postfix) with ESMTP id F225F13C4B2 for ; Fri, 9 Feb 2007 17:19:42 +0000 (UTC) (envelope-from redchin@gmail.com) Received: by nf-out-0910.google.com with SMTP id m19so1163484nfc for ; Fri, 09 Feb 2007 09:19:41 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=K8V3al18uMzduJyc8KFKRfJzJaVn0ThYW0nz9K0dNLA0epLnRhRk0AfiQJ2jBHnaEB6z5rdgq3gkd8C4/+R/RTbYmgM/+JMtzlCJfAP6cojgd35sEVD9UfEjTNrKLlRjzRiCK8CeGN63DF+/ktr0R2lmcXhQAZ8oT68dixAhbEE= Received: by 10.82.175.2 with SMTP id x2mr4872329bue.1171040835991; Fri, 09 Feb 2007 09:07:15 -0800 (PST) Received: by 10.82.119.10 with HTTP; Fri, 9 Feb 2007 09:07:15 -0800 (PST) Message-ID: <1d3ed48c0702090907j368d76c0y820424e9a3609288@mail.gmail.com> Date: Fri, 9 Feb 2007 09:07:15 -0800 From: "Kevin Downey" To: Indigo In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: "freebsd-fs@freebsd.org" Subject: Re: labels and layout X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Feb 2007 17:19:45 -0000 On 2/9/07, Indigo wrote: > Hello everyone, > heres a batch of question: > > Im looking for a way to mount disks by label instead of device. Im on 6.2 > and I can't use ZFS until it gets released. > I saw that tunefs and newfs have some label option - but I assumed it's > not the kind of label I want because no one is using it. > > An example with AdvFS (Tru64): > # mount > root_domain#root on / type advfs (rw) > /proc on /proc type procfs (rw) > usr_domain#usr on /usr type advfs (rw) > var_domain#var on /var type advfs (rw) > > I just think it's stupid to edit fstab every time Im swapping things > inside the box - I think it's needless. > > > geom_lable.ko is I think the kernel module for glabel. Works great. The labels on filesystems show up in /dev/label, kpd@zifnab ~% ls /dev/label BigDisk.root BigDisk.swap BigDisk.usr BigDisk.var -- The biggest problem with communication is the illusion that it has occurred.