From owner-freebsd-hackers Wed Apr 5 08:56:02 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id IAA23117 for hackers-outgoing; Wed, 5 Apr 1995 08:56:02 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id IAA23106 for ; Wed, 5 Apr 1995 08:55:37 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id BAA24115; Thu, 6 Apr 1995 01:48:27 +1000 Date: Thu, 6 Apr 1995 01:48:27 +1000 From: Bruce Evans Message-Id: <199504051548.BAA24115@godzilla.zeta.org.au> To: bde@zeta.org.au, phk@ref.tfs.com Subject: Re: swap always use at least 64KB ? Cc: davidg@Root.COM, hackers@FreeBSD.org, luigi@labinfo.iet.unipi.it Sender: hackers-owner@FreeBSD.org Precedence: bulk >> > 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