Subject: LFS file systems?
To: None <netbsd-help@NetBSD.ORG>
From: George Neville-Neil <gnn@abekas.com>
List: netbsd-help
Date: 03/03/1995 16:31:02
Hi Folks,
I got a spare WD drive with 120 Meg on it that I want to use
under NetBSD-1.0 as an LFS drive. I tried labelling the disk as
follows:
'm configuring this as ONE LARGE DISK.
caviar|Western Digital 120MB IDE:\
:dt=ST506:ty=winchester:se#512:nt#8:ns#35:nc#872:sf: \
:pc#244160:oc#0: \
:ph#244160:oh#0:th=4.2BSD:bh#4096:fh#512:
I can label the disk but I cannot newlfs it:
netbsd# disklabel -w wd1 caviar
netbsd# newlfs -L /dev/rwd1h
newlfs: /dev/rwd1h: Invalid argument
netbsd# newlfs -L /dev/rwd1c
newlfs: /dev/rwd1c: Invalid argument
netbsd# ndslfs -L wd1c
netbsd# disklabel -r wd1
# /dev/rwd1d:
type: ST506
disk: caviar
label:
flags: badsect
bytes/sector: 512
sectors/track: 35
tracks/cylinder: 8
sectors/cylinder: 280
cylinders: 872
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg]
c: 244160 0 unused 0 0 # (Cyl. 0 - 871)
h: 244160 0 4.2BSD 512 4096 0 # (Cyl. 0 - 871)
Any hints?
Later,
George