From owner-svn-doc-head@FreeBSD.ORG Thu Jan 30 15:18:50 2014 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 37B46E15; Thu, 30 Jan 2014 15:18:50 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 16081160D; Thu, 30 Jan 2014 15:18:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0UFIn1h097223; Thu, 30 Jan 2014 15:18:49 GMT (envelope-from dru@svn.freebsd.org) Received: (from dru@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0UFInOB097222; Thu, 30 Jan 2014 15:18:49 GMT (envelope-from dru@svn.freebsd.org) Message-Id: <201401301518.s0UFInOB097222@svn.freebsd.org> From: Dru Lavigne Date: Thu, 30 Jan 2014 15:18:49 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r43694 - head/en_US.ISO8859-1/books/handbook/disks X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jan 2014 15:18:50 -0000 Author: dru Date: Thu Jan 30 15:18:49 2014 New Revision: 43694 URL: http://svnweb.freebsd.org/changeset/doc/43694 Log: Reduce floppy section to a procedure. Make note to remove this section in 06/15 when 8.4 is EOL'd (references PR155982) This section will not appear in the print edition. Sponsored by: iXsystems Modified: head/en_US.ISO8859-1/books/handbook/disks/chapter.xml Modified: head/en_US.ISO8859-1/books/handbook/disks/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/handbook/disks/chapter.xml Thu Jan 30 14:25:06 2014 (r43693) +++ head/en_US.ISO8859-1/books/handbook/disks/chapter.xml Thu Jan 30 15:18:49 2014 (r43694) @@ -1407,9 +1407,9 @@ cd0: Attempt to query device size failed - Creating and Using Floppy Disks + - Storing data on floppy disks is sometimes useful, for - example when one does not have any other removable storage media - or when one needs to transfer small amounts of data to another - computer. + This section explains how to format a 3.5 inch floppy disk + in &os;. - This section explains how to use floppy disks in &os;. It - covers formatting and usage of 3.5inch DOS floppies, but the - concepts are similar for other floppy disk formats. - - - Formatting Floppies - - - The Device - - Floppy disks are accessed through entries in - /dev, just like other - devices. To access the raw floppy disk, simply use - /dev/fdN. - - - - Formatting + + Steps to Format a Floppy A floppy disk needs to be low-level formatted before it can be used. This is usually done by the vendor, but - formatting is a good way to check media integrity. Although - it is possible to force other disk sizes, 1440kB is what - most floppy disks are designed for. - - To low-level format the floppy disk, use - &man.fdformat.1;. This utility expects the device name as - an argument. - - Make note of any error messages, as these can help + formatting is a good way to check media integrity. To + low-level format the floppy disk on &os;, use + &man.fdformat.1;. When using this utility, make note of any + error messages, as these can help determine if the disk is good or bad. - - - Formatting Floppy Disks - - To format the floppy, insert a new 3.5inch floppy + + + To format the floppy, insert a new 3.5 inch floppy disk into the first floppy drive and issue: &prompt.root; /usr/sbin/fdformat -f 1440 /dev/fd0 - - - - - - The Disk Label + - After low-level formatting the disk, a disk label needs to - placed on it. This disk label will be destroyed later, but + + After low-level formatting the disk, create a disk label as it is needed by the system to determine the size of the disk - and its geometry. - - The new disk label will take over the whole disk and will - contain all the proper information about the geometry of the - floppy. The geometry values for the disk label are listed in + and its geometry. The supported geometry values are listed in /etc/disktab. To write the disk label, use &man.bsdlabel.8;: &prompt.root; /sbin/bsdlabel -B -w /dev/fd0 fd1440 - - - - The File System - - The floppy is now ready to be high-level formatted. This - will place a new file system on it so that &os; can read and - write to the disk. Since creating the new file system - destroys the disk label, the disk label needs to be recreated - whenever the disk is reformatted. + - The floppy's file system can be either UFS or FAT. + + The floppy is now ready to be high-level formatted with a + file system. The floppy's file system can be either UFS or FAT, where FAT is generally a better choice for floppies. - To put a new file system on the floppy, issue: + To format the floppy with FAT, issue: &prompt.root; /sbin/newfs_msdos /dev/fd0 + + - The disk is now ready for use. - - - - Using the Floppy - - To use the floppy, mount it with &man.mount.msdosfs.8;. - One can also use + The disk is now ready for use. To use the floppy, mount it with &man.mount.msdosfs.8;. + One can also install and use emulators/mtools from the Ports Collection. -