Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Apr 2011 03:17:18 -0700
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        Pan Tsu <inyaoo@gmail.com>
Cc:        freebsd-fs@freebsd.org, "Jason J. Hellenthal" <jhell@DataIX.net>, dillon@backplane.com
Subject:   Re: Why not just name the cam-ata devices the same as the old names?
Message-ID:  <20110427101718.GA82324@icarus.home.lan>
In-Reply-To: <864o5kgplh.fsf@gmail.com>
References:  <4DB70949.6090104@FreeBSD.org> <20110426182017.GA92471@freebsd.org> <4DB70F13.6060002@FreeBSD.org> <BANLkTikFHLaQ=Vrt9UhyJdo5ELm522OZjA@mail.gmail.com> <4DB759A1.4050201@FreeBSD.org> <20110427054218.GA88420@DataIX.net> <864o5kgplh.fsf@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 27, 2011 at 10:44:58AM +0400, Pan Tsu wrote:
> "Jason J. Hellenthal" <jhell@DataIX.net> writes:
> 
> > I do not know if this was summed up in a easy way by Jeremy's nice
> > message below but in short a summary can be made here to clear that up.
> >
> > /dev/gptid/* /dev/gpt/*
> > 	* These survive its raw partition being newfs'd
> > 	* Are only created for disks that are partitioned
> > 	  and contain a GPT table as can be seen with gpart
> > 	  show
> > 	* Operations on these or the raw partition will not remove them.
> 
> Not sure if we have support for labels based on disk serial number
> similar to /dev/serno/* from DragonFlyBSD but
> 
> /dev/serno/*
> 	* no extra step to setup, e.g. `gpart create' or `newfs'
> 	* survive wiping entire disk, no metadata stored on-disk
> 	* available on every ata disk

How is this number generated within DFBSD?  I have seen hard disks that
have literally no serial number (field is blank, and not space-padded
either).  Some systems vendors do this.  I'm wondering if the generated
number is based on a combination of details (ex. device model string +
serial number string + total drive capacity in bytes), rather than just
pure drive serial number.

CC'ing Matt as he probably knows.  :-)

-- 
| Jeremy Chadwick                                   jdc@parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.               PGP 4BD6C0CB |




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