Accessing disks via their serial numbers.

Dmitry Pryanishnikov dmitry at atlantis.dp.ua
Mon Jun 26 13:05:59 UTC 2006


On Mon, 26 Jun 2006, Poul-Henning Kamp wrote:
>>  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.

  The last sector must be re-marked as BAD after newfs and before restore, just
like actual BAD sector. I don't say that keeping the last sector out of use
is simple, but it's definitely possible (again, with UFS).

Sincerely, Dmitry
-- 
Atlantis ISP, System Administrator
e-mail:  dmitry at atlantis.dp.ua
nic-hdl: LYNX-RIPE


More information about the freebsd-arch mailing list