Subject: fsck -c 2
To: None <port-pc532@sun-lamp.cs.berkeley.edu>
From: Julian Howard Stacey <Julian.H.Stacey@regent.e-technik.tu-muenchen.de>
List: port-pc532
Date: 07/25/1994 15:54:24
I suspect that one needs to do
fsck -c 2
to satisfy the new kernel.
I'm hoping this'll then stop me getting more 4gigabyte files on a 300M disc!
BUT ... Phil Budne's old autoboot binary does not understand type 2 FFS
discs. & Ive had no luck getting my binary of `boot' to work
with old FFS, let alone type 2 FFS (previous attempts were with
gcc2.4.5, mabe 2.5.8 or 2.6.0 will be better)
BUT new kernel has problems:
- Error: /tmp/vi.000102: Inappropriate file type or format.
- make core dumps
New kernel = (NetBSD 1.0-ALPHA 94 07 22 mirrored sources)
Old kernel = NetBSD 0.9C (surfer) #3: Mon Jul 11
I suspect I need to build a disc with new kernel & new utils
& then boot off it.
(is there some upgrade kit/method I don't know about for type 2 FFS,
(I only just succeeded in enrolling on sunlamp current, so havent seen
any anouncements there may have been)
(I wonder if Mach & FreeBSD etc can cope with NetBSD FFS type 2 file systems.)
PS Intro/ Demo. for those who havent upgraded:
/usr/src/sbin/fsck/fsck -c 2 /dev/rsd1a
** //dev/rsd1a
CONVERT TO NEW INODE FORMAT? [yn] y
/usr/src/sbin/dumpfs/dumpfs /dev/rsd1a | grep BSD
cylgrp dynamic inodes 4.4BSD
/usr/src/sbin/dumpfs/dumpfs /dev/rsd0a | grep BSD
cylgrp dynamic inodes 4.2/4.3BSD
PPS I think you can easily hurt yourself playing with -c 2 - Beware !
3PS Mathias tells me the sys call numbers have changed ... Aaargh !
Julian
--
Julian Stacey <stacey@freefall.cdrom.com>
Alternates: <julian@pcsbst.pcs.com>,<jhs@regent.e-technik.tu-muenchen.de>
Tel. +49 89 268616 TZ=GMT+1 Munich, Germany
------------------------------------------------------------------------------