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@fidel:~ # uname -a
FreeBSD fidel 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Fri Jan 18 17:45:10 CET 2013
    toor@fidel:/usr/obj/home/src/sys/ADELE10X  i386
root@fidel:~ # mount_msdosfs /dev/fd0 /floppy
root@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@fidel:~ # umount /floppy
root@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@fidel:~ # mount_msdosdfs /dev/fd0 /floppy
root@fidel:~ # ll /floppy
total 0
root@fidel:~ # umount /floppy
root@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@fidel:~ # mount_msdosfs /dev/fd0 /floppy
root@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@fidel:~ # rm /floppy/*
root@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
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to