isc 2.2 can't mount 512Byte filesystem

Heiko Blume src at scuzzy.in-berlin.de
Mon Nov 19 05:21:35 AEST 1990


well, it looks like ISC 2.2 doesn't grok 512Byte filesystems.
as always you think "no problem, the mkfs(1M) man page says it all!".
so you go ahead with

mkfs /dev/dsk/1s6 151552:40000 -b 512

and

labelit /dev/dsk/1s6 spool disk1

which works OK. no errors as expected. all the numbers reported are correct
(bytes per logical block etc). so you try to 'mount /dev/dsk/1s6 /mnt',
which fails of course:

NOTICE: bad free block count in free ist block on Adaptec AHA-150 SCSI
        host adapter DISK unit 1, partition 6

mount: possibly damaged file system

so you do a 'fsck512 /dev/dsk/1s6'. no problem, no error. then you
think "gee, do i have to specify the fs type?!". you try a 
'fstyp /dev/dsk/1s6' which tells you "S51K" which is wrong, and
you discover that there is no program to check for the 512Byte fs
in /etc/fstyp.d. "no wonder mount doesn't succeed!" you think,
start your favorite superblock editor and have a look. of course
everything is just fine! s_magic, s_type, s_state etc were all
correctly set by mkfs. you conclude that you can create 512Byte filesystems
but you can not mount them. just for fun, and to make sure
you have tried everything, you do a 

mount -r /dev/dsk/1s6 /mnt

which succeeds! it only looks like some great magic just doubled the
capacity (MB and # of blocks) of the filesystem when you do
a 'df' :-)

of course i'll be glad if i missed something and someone can tell
me what. otherwise i'll be glad if will get fixed in 2.2.1!

while speaking of documented features: i'll NEVER try out dfsck(1M).

p.s.: i want a 512Byte filesystem for news, so speed is not an issue.
-- 
      Heiko Blume <-+-> src at scuzzy.in-berlin.de <-+-> (+49 30) 691 88 93
                    public source archive [HST V.42bis]:
        scuzzy Any ACU,f 38400 6919520 gin:--gin: nuucp sword: nuucp
                     uucp scuzzy!/src/README /your/home



More information about the Comp.unix.sysv386 mailing list