Filesystem creation

lnordstrom
2002-05-12T01:23:39Z

Hello.

As being new to this list, first a short introduction:
Living 15 km outside the nearest town with my woman and four
cats. Working as a lathe-turner in town.
I have been interested in and tinkered with computers since the
late seventies, more actively since late eighties.
Could afford to buy my first DOS-box (second hand XT) -89. Since
then the zoo has grown a bit. Installed Linux for the first time
somewhere late -98. Got LRP running on an old crappy 386 to
network my modem a year later. Fiddel with muLinux now and then.
Never done any serious programming of any sort, just small bits
and pieces in Basic, Pascal, assembler, DOS batch, shellscript.
Enough of this.

I was glad when I found out about ELKS a while ago (2-3 yrs) and
even gladder to see that there now are ready-to-go floppy
images.

I'm trying to run the image "comb" on an IBM PS/2-30. It boots
OK and runs as I expect. But when I try to make a file system on
the harddisk and mount it, I bump into something.

fdisk reports 773 cyl, 2 heads, 27 sec.

/dev/bda1 * 0 1 6 1 27 385 1 20520
/dev/bda2 * 0 1 386 1 27 695 80 16740
/dev/bda3 * 0 1 696 1 27 772 80 4158

mkfs /dev/bda2 5859 finishes OK, but a following fsck /dev/bda2
produces an error message, fsck: bad magic number in super-block.

If I reduce the number of blocks by one, to 5858, fsck finishes
without error message.

Mounting the new fs under /mnt goes OK, but ls /mnt gives error
messages.

/mnt:
Bad inode number on dev 0302: 3677 is out of range
Bad inode number on dev 0302: 11330 is out of range
(some garbage on this line)

Trying to repair the fs with fsck -a desn't seem to do any good.

If I reduce the number of blocks further, down to 5666, I get no
error messages anywhere. Mounting, unmounting, making
directories, copying files seems to work OK.

Did I bump into anything but my own ignorance?

I realize I know too little about the minix fs. Google produces
a lot of links but the first few pages contained no link to a
spec. Anybody got a good URL to a little detail on minix fs?

Regards,
Lars

Does steel wool come from metal sheep?

Net-Tamer V 1.10.1 - Registered