Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Apr 1995 01:48:27 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, phk@ref.tfs.com
Cc:        davidg@Root.COM, hackers@FreeBSD.org, luigi@labinfo.iet.unipi.it
Subject:   Re: swap always use at least 64KB ?
Message-ID:  <199504051548.BAA24115@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> >   The first swap block is always pre-allocated. This was done to work around
>> >a problem with people putting their swap partition at the beginning of their
>> >disk (the system would happily try to destroy the label). I suppose it would
>> ...
>> The diskslice "driver" snoops on writes to label sector(s) and rejects
>> writing of invalid labels even when write protection is off.

>Sure, but then you would crash with a "swap pager write error" instead...

FITNR (Reboot).  The fix will be obvious because the slice driver prints
verbose error messages :-).  Actually, they are less verbose in this case.

Bruce



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