Time to kill fdc ?
Claude Buisson
clbuisson at orange.fr
Sun Feb 10 14:07:23 UTC 2013
On 02/10/2013 13:28, Fbsd8 wrote:
> Poul-Henning Kamp wrote:
>> I tried to read a floppy disk yesterday.
>>
>> When was the last time anybody tried that with a FreeBSD release ?
>>
>> Based on my brief experiments yesterday, 6.X is the last release
>> where accessing floppy disks carry less than a 10% risk of a panic.
>>
>> Unless somebody fixes the fdc driver to work in -current, I intend
>> to dust of my axe and cut it from the tree later this spring.
>>
> Floppy drive support was removed from Freebsd around release 7.0 I
> think. Read the release-notes for 6.0, 7.0 and 8.0 to determine when it
> happened.
Is this a joke ??
Script started on Sun Feb 10 14:47:20 2013
root at fidel:~ # uname -a
FreeBSD fidel 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Fri Jan 18 17:45:10 CET 2013
toor at fidel:/usr/obj/home/src/sys/ADELE10X i386
root at fidel:~ # mount_msdosfs /dev/fd0 /floppy
root at fidel:~ # ll /floppy
total 341
-rw-rw-r-- 1 root operator 1851 Aug 15 2011 licence.txt
-rw-rw-r-- 1 root operator 79175 Aug 15 2011 liesmich.html
-rw-rw-r-- 1 root operator 70564 Aug 15 2011 liesmich.txt
-rw-rw-r-- 1 root operator 43319 Sep 15 2011 plpbt.bin
-rw-rw-r-- 1 root operator 81846 Aug 15 2011 readme.html
-rw-rw-r-- 1 root operator 71509 Aug 15 2011 readme.txt
root at fidel:~ # umount /floppy
root at fidel:~ # dd if=/dev/fd0 of=floppy.img
2880+0 records in
2880+0 records out
1474560 bytes transferred in 48.027444 secs (30702 bytes/sec)
root at fidel:~ # mount_msdosdfs /dev/fd0 /floppy
root at fidel:~ # ll /floppy
total 0
root at fidel:~ # umount /floppy
root at fidel:~ # dd if=floppy.img of=/dev/fd0
2880+0 records in
2880+0 records out
1474560 bytes transferred in 47.829774 secs (30829 bytes/sec)
root at fidel:~ # mount_msdosfs /dev/fd0 /floppy
root at fidel:~ # ll /floppy
total 341
-rw-rw-r-- 1 root operator 1851 Aug 15 2011 licence.txt
-rw-rw-r-- 1 root operator 79175 Aug 15 2011 liesmich.html
-rw-rw-r-- 1 root operator 70564 Aug 15 2011 liesmich.txt
-rw-rw-r-- 1 root operator 43319 Sep 15 2011 plpbt.bin
-rw-rw-r-- 1 root operator 81846 Aug 15 2011 readme.html
-rw-rw-r-- 1 root operator 71509 Aug 15 2011 readme.txt
root at fidel:~ # rm /floppy/*
root at fidel:~ # umount /floppy
with a 10 years old drive, and >10 years old floppies..
yes, there can be i/o errors with such media
CBu
More information about the freebsd-current
mailing list