[15720] in Athena Bugs
sgi 8.1.14: mtools
daemon@ATHENA.MIT.EDU (Emil Sit)
Fri Dec 5 14:18:37 1997
To: bugs@MIT.EDU
Date: Fri, 05 Dec 1997 14:18:34 EST
From: Emil Sit <sit@MIT.EDU>
System name: mr-toad
Type and version: IP22 8.1.14
Display type: GR3-XZ
What were you trying to do?
Play around with a zip drive.
What's wrong:
I'm looking at what is probably a standard distribution zip disk:
% mdir z:
Volume in drive Z is ZIP-100
Volume Serial Number is 15F9-2C71
Directory for Z:/
tour <DIR> 05-12-1997 11:49a
dosstuff <DIR> 05-12-1997 11:50a
register <DIR> 05-12-1997 11:50a register
w31stuff <DIR> 05-12-1997 11:50a
w95stuff <DIR> 05-12-1997 11:51a
5 file(s) 0 bytes
27 344 896 bytes free
If I then run
% /mit/mtools/bin/mdir y:
Trace/BPT trap (core dumped)
Looking at the core file, we see:
% gdb /mit/mtools/bin/mdir core
GDB is free software and you are welcome to distribute copies of it
under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.14 (mips-sgi-irix5.2), Copyright 1995 Free Software Foundation, Inc...
Core was generated by `mtools'.
Program terminated with signal 5, Trace/BPT trap.
Reading symbols from /usr/lib/libc.so.1...done.
#0 0x421aec in file_geom () at plain_io.c:170
plain_io.c:170: No such file or directory.
(gdb) where
#0 0x421aec in file_geom () at plain_io.c:170
#1 0x40f740 in find_device () at init.c:159
#2 0x40f950 in fs_init () at init.c:202
#3 0x423b80 in open_subdir () at streamcache.c:67
#4 0x414360 in mdir () at mdir.c:342
#5 0x420d50 in main () at mtools.c:115
What should have happened:
It shouldn't have dumped core.
Please describe any relevant documentation references:
I notice that the mtools.conf lists y: without a partition= tag.
Maybe that has something to do with it.