Subject: ext2fs fun
To: None <current-users@netbsd.org>
From: Antti Kantee <pooka@iki.fi>
List: current-users
Date: 03/27/1999 23:20:40
I did mount_ext2fs /dev/fd0a /floppy on an (almost) ext2 floppy. It
showed up nicely with 'mount':
/dev/fd0a on /floppy type ext2fs (local)
But:
babylon5:/> file floppy
floppy: can't stat `floppy' (Bad file descriptor).
before mount:
babylon5:/> file floppy
floppy: directory
Trying to 'cat' floppy was a big mistake and resulted in something
similar to the following:
panic: ext2fs_read: type 0
Stopped in cat at Debugger +0x4: leave
trace gave me:
_Debugger()
_panic()
_ext2fs_read()
_vn_read()
_dofileread()
_sys_read()
Now it's time to cool down, the floppy in question here is broken (I
hope). I tested with another e2 floppy and it worked fine. Still, random
panics waiting to happen is not a good thing.
My system is i386-current 1.3K with kernel + userland from yesterday.
ideas? advice that will make me feel extremely foolish? ;p
--
"Never underestimate the power of the Lite side of the \Source/"
Antti Kantee / NetBSD \ Citius, Altius, \ / o
<pooka@iki.fi> / http://www.netbsd.org \ Levytys \ / |
______________/ Free Multiplatform UN*X \___________________\/__ |