---------------------------------------------------------------------------- ATAPI LS-120 (wfd) driver Ver 1.1 Jan. 31, 1998 Junichi Satoh ---------------------------------------------------------------------------- * Introduction This driver allows to use ATAPI LS-120 drive on FreeBSD2.2.5-RELEASE. Device name is 'wfd'. It allows to read/write following floppy disks: . 120MB . 1.44MB . 1.25MB (PC-9801 series format, FAT file system) (NOTICE) . 1.2MB . 720KB (NOTICE) 'mount_msdos' doesn't support 1024Byte/sec disks. So, the 1.25MB floppy disks can be not mounted. To read/write it, you need a software which supports 1024Byte/sec disks, extended 'mtools' or etc.. It may have some problems. If you find problems, report to me. * Installation 1. Patch to the kernel source. # cd /usr/src/sys # patch -p < ls120-driver-980131.patch 2. Patch to the MAKEDEV and make 'wfd' device files. # cd /dev # patch -p < MAKEDEV.patch # ./MAKEDEV wfd0 3. Patch to the disktab. (If you want to add the LS-120 entry to the disktab.) # cd /etc # patch -p < disktab.patch 4. Configure the kernel configuration file. . Append a 'wfd' device. device wfd0 #LS-120 . To use wfd driver, you have to define following options too. options ATAPI options ATAPI_STATIC 5. Configure the kernel. After rebooting by new kernel, you can use LS-120 drive through 'wfd' driver. * How to make UFS disks . Use entire disk space for UFS (partitions, wfd0a wfd0b ... wfd0h, are usable) # disklabel -rw wfd0 fd120m # newfs /dev/rwfd0a . Use fdisk slices (120MB floppy only) # fdisk -i /dev/wfd0 ... set parameters. # disklabel -rw wfd0 fd120m # newfs /dev/rwfd0s1a How to make UFS disks by wfd driver is the same with od driver. * TODO . Support lowlevel format. * ChangeLog Ver 0.1 First beta version. Ver 0.2 Support PC-98 format. Ver 0.5 Correct probing messages. Ver 0.6 Fix a problem, when a LS-120 drive is connected to the same IDE interface with a ATAPI CD-ROM drive, the CD-ROM drive is not probed. Ver 1.0 Support slice. Ver 1.1 Synchronize with the driver commited in 3.0-CURRENT. . Major device numbers have been changed. (Thanks to Paul Traina) . Support ATAPI Zip. (Thanks to Mike Smith) . Fix a problem, FreeBSD filesystems could be dammaged by repeatedly mounting and unmounting several partitions.