Subject: Removing some support in the non wedge case (was: CVS commit: src/sbin)
To: None <tech-userlevel@NetBSD.org>
From: Bernd Ernesti <netbsd@lists.veego.de>
List: tech-userlevel
Date: 08/27/2006 11:37:13
Hi,
On Sat, Aug 26, 2006 at 10:03:47PM +0000, Christos Zoulas wrote:
>
> Module Name: src
> Committed By: christos
> Date: Sat Aug 26 22:03:47 UTC 2006
>
> Modified Files:
> src/sbin/fsck_ffs: Makefile setup.c
> src/sbin/newfs: Makefile extern.h mkfs.c newfs.c
>
> Log Message:
> - Deal with wedges and the new disk geometry structures, instead of using
> struct disklabel.
>
> Functionality lost:
> 1. struct disklabel used to be updated to contain bsize, fsize, cpg.
> This information was used to locate the alternative superblock in
> the filesystem if the primary superblock was corrupted. We need
> to find a new place to store this information if we need this
> functionality.
> 2. On vax SMD drives that contained bad sector lists, the newfs program
> knew how to get the offset and skip to the correct location in order
> to place the label.
Hmm, wouldn't it have been possible to still keep the 'lost functionality' in an
non wedge case?
Bernd