Return to BSD News archive
Newsgroups: comp.unix.bsd Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!saimiri.primate.wisc.edu!caen!nigel.msen.com!fmsrl7!destroyer!news.iastate.edu!niko From: niko@iastate.edu (Nikolaus E Schuessler) Subject: ******** BSD Unix filesys gurus w/ strng stomachs only ******** Message-ID: <C5EEvo.8n1@news.iastate.edu> Sender: news@news.iastate.edu (USENET News System) Organization: Iowa State University, Ames, IA Date: Tue, 13 Apr 1993 01:30:58 GMT Lines: 41 Now that i have everyone's attention :) I have a fairly low level file system question. I almost have a unix filesystem built on a macintosh floppy. I have ported disklabel and it labels the floppy ok, but my newfs isn't working so well. Here is misc stuff: Here is what i get: fsys: 2880 sectors in 80 cylinders of 2 tracks, 18 sectors 1.5MB in 5 cyl groups (16 c/g, 0.29MB/g, 128 i/g) super-block backups (for fsck -b #) at: 32, 632, 1184, 1784, 2336, internal error: can't find block in cyl 0 with a disktab of: floppy1440k:\ :ty=removable:ns#18:nt#2:nc#80:\ :dt=floppy:se#512:\ :pa#2880:oc#0:bc#4096:fc#512:\ :pc#2880:oc#0:bc#4096:fc#512: Here is the code in mkfs (from the bsd-4.3 source dist): "alloc" in mkfs for (d = 0; d < acg.cg_ndblk; d += sblock.fs_frag) if (isblock(&sblock, cg_blksfree(&acg), d / sblock.fs_frag)) goto goth; printf("internal error: can't find block in cyl 0\n"); return (0); It looks to me that its checking the disk for cylinder "markers". The question is, where is an example or explanation of what has to go on the disk before newfs touches it... If you would, I'd prefer email since this group is rather busy... -- Niko Schuessler Project Vincent Systems Manager email: niko@iastate.edu Iowa State University Computation Center voice: (515) 294-1672 Ames IA 50011 snail: 291 Durham