Linux 2.1.11x? Floppy Drives [devfs][long]

=?iso-8859-1?Q?menion=99?= (menion@mindless.com)
Mon, 24 Aug 1998 10:15:24 -0600


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Developer, Testers, Lurkers,

I am currently using 2.1.117 & devfs, and I have not tested this on a
vanilla kernel.

OK I am having extreme wierdness with my floppy drives.

..[snip]..
[root@firewall /mnt]# ls -l tmp/
total 0
[root@firewall /mnt]#
[root@firewall /mnt]# mount /dev/floppy/0 tmp
[root@firewall /mnt]# mount
/dev/sd/c0b0t13u0p2 on / type ext2 (rw,usrquota,grpquota)
none on /proc type proc (rw)
/dev/sd/c0b0t14u0p2 on /opt type ext2 (rw,usrquota,grpquota)
/opt/images/mount/regular/bna.1996.forms.img.iso on
/opt/images/mount/BNA1996 ty
pe iso9660 (ro,nosuid,nodev,noatime,loop=/dev/loop7)
/opt/images/mount/regular/cch.smarttax.img.iso on
/opt/images/mount/CCHTax type
iso9660 (ro,nosuid,nodev,noatime,loop=/dev/loop5)
/opt/images/mount/regular/cch.smartplanner.img.iso on
/opt/images/mount/CCHPlann
er type iso9660 (ro,nosuid,nodev,noatime,loop=/dev/loop4)
/opt/images/mount/regular/bna.research.img.iso on
/opt/images/mount/BNAResearch
type iso9660 (ro,nosuid,nodev,noatime,loop=/dev/loop3)
/dev/floppy/0 on /mnt/tmp type msdos (rw)
[root@firewall /mnt]# cat /proc/mounts
802 / ext2 rw 0 0
none /dev devfs rw 0 0
/proc /proc proc rw 0 0
/dev/sdb2 /opt ext2 rw 0 0
/dev/loop7 /opt/images/mount/BNA1996 iso9660 ro,nosuid,nodev,noatime 0
0
/dev/loop5 /opt/images/mount/CCHTax iso9660 ro,nosuid,nodev,noatime 0
0
/dev/loop4 /opt/images/mount/CCHPlanner iso9660
ro,nosuid,nodev,noatime 0 0
/dev/loop3 /opt/images/mount/BNAResearch iso9660
ro,nosuid,nodev,noatime 0 0
[root@firewall /mnt]#
..[snip]..

Note the /proc/mounts does _not_ reflect the floppy as being mounted.
I copy some files over, then umount:

[root@firewall /mnt/tmp]# ls -al
total 2
drwxr-xr-x 2 root root 1024 Aug 24 10:05 ./
drwxr-xr-x 5 root root 1024 Aug 18 15:49 ../
[root@firewall /mnt/tmp]# cp /tmp/sv/* .
[root@firewall /mnt/tmp]# ls -l
total 754
- -rw-r--r-- 1 root root 132430 Aug 24 10:07 Atapi227.exe
- -rw------- 1 root root 1111 Aug 24 10:07 Mailbox
- -rw-r--r-- 1 root root 903 Aug 24 10:07 Xrootenv.0
- -rw-r--r-- 1 root root 54367 Aug 24 10:07 bookmark.htm
- -rw-r--r-- 1 root root 661 Aug 24 10:07 hosts
- -rw-r--r-- 1 root root 115 Aug 24 10:07 names.txt
- -rw-r--r-- 1 root root 6534 Aug 24 10:07 tomokaiupgrade
- -rw-r--r-- 1 root root 565169 Aug 24 10:07
wxxt-share-Linux-x86-libc
6.tar.gz
[root@firewall /mnt/tmp]# cd ..
[root@firewall /mnt]# umount tmp
umount: /dev/floppy/0: not found
umount: /mnt/tmp: not mounted
[root@firewall /mnt]#
..[snip]..

I have not built a kernel without devfs, but I will soon, and I will
see what I find. Please forgive me if this is something simple.

Thanks,

Joshua
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.5.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBNeGRlW7UjJPrCkfSEQIrQgCcCkVDUKkqgWA+nl5+RL+Fka/t7ZYAoN7Q
ci5FSNRNVCFe0Bc9ZL5C4Cb+
=gZiN
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html