Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Oct 2009 00:31:00 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Vincent Hoffman <vince@unsane.co.uk>
Cc:        PJ <af.gourmet@videotron.ca>, michael <michael.copeland@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: I hate to bitch but bitch I must
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 17 Oct 2009 23:17:29 +0100, Vincent Hoffman <vince@unsane.co.uk> 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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091018003100.f69bf5e4.freebsd>