Accessing disks via their serial numbers.

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Jun 26 12:56:42 UTC 2006


In message <20060626154144.D47547 at atlantis.atlantis.dp.ua>, Dmitry Pryanishniko
v writes:

>  I'm repeating my recent post to -current, just for the record... Actually,
>there IS the way to tell whether the last sector is in use on UFS, and
>reserve it from futher use by FS. It's badsect(8). Just declare the last 
>sector as bad, [...]

The problem with this approach is that if the user does a newfs and restore,
the information is not preserved.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-arch mailing list