Time to kill fdc ?

C. P. Ghost cpghost at cordula.ws
Sun Feb 10 14:32:44 UTC 2013

On Sun, Feb 10, 2013 at 1:28 PM, Fbsd8 <fbsd8 at a1poweruser.com> wrote:
> 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.

Nope, floppy support is still there, and AFAICS it is working just fine:

Script started on Sun Feb 10 15:21:07 2013

root at phenom:~ # uname -a
FreeBSD phenom.cordula.ws 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0
r244903: Mon Dec 31 15:14:32 CET 2012
root at phenom.cordula.ws:/usr/obj/usr/src/sys/GENERIC  amd64

root at phenom:~ # fdformat /dev/fd0
Format 1440K floppy `/dev/fd0'? (y/n): y

root at phenom:~ # newfs /dev/fd0

/dev/fd0: 1.4MB (2880 sectors) block size 32768, fragment size 4096
        using 2 cylinder groups of 1.00MB, 32 blks, 128 inodes.
super-block backups (for fsck_ffs -b #) at:
 192, 2240
root at phenom:~ # mount /dev/fd0 /mnt
root at phenom:~ # df -h /mnt
Filesystem    Size    Used   Avail Capacity  Mounted on
/dev/fd0      1.1M    8.0k    1.0M     1%    /mnt
root at phenom:~ # cp /usr/include/sys/_*.h /mnt
root at phenom:~ # sync
root at phenom:~ # df -h /mnt
Filesystem    Size    Used   Avail Capacity  Mounted on
/dev/fd0      1.1M    112k    948k    11%    /mnt
root at phenom:~ # ls /mnt
.snap                   _null.h                 _sx.h
_bus_dma.h              _pthreadtypes.h         _task.h
_callout.h              _rmlock.h               _termios.h
_cpuset.h               _rwlock.h               _timespec.h
_iovec.h                _semaphore.h            _timeval.h
_kstack_cache.h         _sigset.h               _types.h
_lock.h                 _sockaddr_storage.h     _umtx.h
_lockmgr.h              _stack.h
_mutex.h                _stdint.h
root at phenom:~ # umount /mnt
root at phenom:~ # exit

Script done on Sun Feb 10 15:26:10 2013

This was with an 10+ years old 1.44MB floppy that I had
lying around here, on FreeBSD/amd64 9.1 r244903.

It would be a shame to axe that code.


Cordula's Web. http://www.cordula.ws/

More information about the freebsd-current mailing list