Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2006 16:05:55 +0300 (EEST)
From:      Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        John-Mark Gurney <gurney_j@resnet.uoregon.edu>, Pawel Jakub Dawidek <pjd@freebsd.org>, freebsd-arch@freebsd.org
Subject:   Re: Accessing disks via their serial numbers. 
Message-ID:  <20060626160403.X47547@atlantis.atlantis.dp.ua>
In-Reply-To: <46654.1151326570@critter.freebsd.dk>
References:  <46654.1151326570@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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@atlantis.dp.ua
nic-hdl: LYNX-RIPE



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