From owner-freebsd-questions@FreeBSD.ORG Sun Dec 5 19:05:41 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA77916A4CE for ; Sun, 5 Dec 2004 19:05:41 +0000 (GMT) Received: from istanbul.enderunix.org (freefall.marmara.edu.tr [193.140.143.23]) by mx1.FreeBSD.org (Postfix) with SMTP id 56A7343D55 for ; Sun, 5 Dec 2004 19:05:40 +0000 (GMT) (envelope-from ofsen@enderunix.org) Received: (qmail 23011 invoked by uid 89); 5 Dec 2004 19:05:13 -0000 Message-ID: <20041205190513.23010.qmail@istanbul.enderunix.org> From: Omer Faruk Sen To: freebsd-questions@freebsd.org Date: Sun, 05 Dec 2004 21:05:13 +0200 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-9" Content-Transfer-Encoding: 7bit Subject: label with glabel or tunefs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Dec 2004 19:05:41 -0000 Hi, I am having difficulty why should I need to label a disk? I have read enough to understand the concpets of vinum. But in example at glabel man page a label created for just one disk (ad2). Why do I need to label just one disk? EXAMPLES The following example shows how to set up a label for disk ``da2'', cre- ate a file system on it, and mount it: glabel label -v usr /dev/da2 newfs /dev/label/usr mount /dev/label/usr /usr [...] umount /usr glabel stop usr glabel unload The next example shows how to set up a label for a UFS file system: tunefs -L data /dev/da4s1a mount /dev/ufs/data /mnt/data I think my main issue is with the concept of "disk labelization". Why one does need to create /dev/label/xxx or /dev/ufs/xxx instead of standard /dev/ad2s1a .. ----------------------- Omer Faruk Sen http://www.EnderUNIX.ORG Software Development Team @ Turkey http://www.Faruk.NET For Public key: http://www.enderunix.org/ofsen/ofsen.asc ******************************************************** First Turkish FreeBSD book is out! Go check it. Duydunuz mu! Turkiye'nin ilk FreeBSD kitabi cikti. http://www.acikkod.com/freebsd.php