From owner-freebsd-questions Mon May 13 16:42:38 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA07464 for questions-outgoing; Mon, 13 May 1996 16:42:38 -0700 (PDT) Received: from heart.engr.csulb.edu (gxu@heart.engr.csulb.edu [134.139.47.130]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id QAA07455 for ; Mon, 13 May 1996 16:42:35 -0700 (PDT) Received: from localhost (gxu@localhost) by heart.engr.csulb.edu (940816.SGI.8.6.9/8.6.9) with SMTP id QAA00889; Mon, 13 May 1996 16:41:38 -0700 X-Authentication-Warning: heart.engr.csulb.edu: gxu owned process doing -bs Date: Mon, 13 May 1996 16:41:37 -0700 (PDT) From: Genquan Xu To: Greg Lehey cc: FreeBSD Questions Subject: Re: Disk Utilities(add new HDD) In-Reply-To: <199605130716.JAA12097@allegro.lemis.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Greg Lehey: Thank you for your help. I went to the last step to mount the disk, but I get the following message: # mount /dev/rwd1c /u1 /dev/rwd1c on /u1: Block device required I do not know how to deal with it, try sevral newfs switches, it still not work. It could be that I do something wrong? Following is the disklabel(I edited the disktab put an entry cp120(cornnor 120M IDE for a test)) and newfs display: # /dev/rwd1c: type: ST506 disk: cp120 label: flags: bytes/sector: 512 sectors/track: 39 tracks/cylinder: 8 sectors/cylinder: 312 cylinders: 761 sectors/unit: 237568 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 bps/cpg] a: 237568 0 unused 0 0 # (Cyl. 0 -761*) b: 237568 0 unused 0 0 # (Cyl. 0 -761*) c: 237568 0 4.2BSD 512 4096 0 # (Cyl. 0 -761*) d: 237568 0 unused 0 0 # (Cyl. 0 -761*) e: 237568 0 unused 0 0 # (Cyl. 0 -761*) g: 237568 0 unused 0 0 # (Cyl. 0 -761*) h: 237568 0 unused 0 0 # (Cyl. 0 -761*) # newfs /dev/rwd1c Warning: Block size and bytes per inode restrict cylinders per group to 5. /dev/rwd1c: 237568 sectors in 58 cylinders of 1 tracks, 4096 sectors 116.0MB in 12 cyl groups (5 c/g, 10.00MB/g, 4448 i/g) super-block backups (for fsck -b #) at: 32, 20512, 40992, 61472, 81952, 102432, 122912, 143392, 163872, 184352,204832, 225312, On Mon, 13 May 1996, Greg Lehey wrote: > > jason xu writes: > > > > Hi: > > I just add a hard disk, but I can not find the add disk utilities to > > foramt the HDD or make a newfs. The only commands I found are fdisk(it > > seems bind--no menuls), disklabel and newfs. Where are the basic disk > > utilities? > > Those are the ones. I don't understand "it seems bind". > > > Could it be more friendly? > > They couldn't be less friendly :-) > > Yes, we know that things could be a lot better. If it helps, grab a > copy of the document on > ftp://freefall.FreeBSD.ORG/incoming/disksetup.ps.gz. If you do, and > you have trouble, *please* let me know so that I can fix it. > > > Thanks! I have used several Unix OS, this is what I frustrate about > > the disk utilities. > > I don't think anybody's particularly proud about the current state of > affairs. We're just hoping that somebody will come by and fix it. > > Greg > Thanks again! --jason