Adding section on using removable drives, based on Mark Mayo's submission

on ZIP drives.
This commit is contained in:
Peter da Silva 1997-05-27 10:58:17 +00:00
parent 14a2af0586
commit ceeb4e27a3
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=1588

View file

@ -1,12 +1,12 @@
<!DOCTYPE linuxdoc PUBLIC "-//FreeBSD//DTD linuxdoc//EN">
<!-- $Id: FAQ.sgml,v 1.55 1997-05-26 15:56:40 pds Exp $ -->
<!-- $Id: FAQ.sgml,v 1.56 1997-05-27 10:58:17 pds Exp $ -->
<article>
<title>Frequently Asked Questions for FreeBSD 2.X
<author>Maintainer: Peter da Silva <tt><htmlurl url='mailto:pds@FreeBSD.ORG'
name='&lt;pds@FreeBSD.ORG&gt;'></tt>
<date>$Date: 1997-05-26 15:56:40 $</date>
<date>$Date: 1997-05-27 10:58:17 $</date>
<abstract>
This is the FAQ for FreeBSD systems version 2.X All entries are
@ -1197,7 +1197,8 @@ drivedata: 0
<url url="http://www.prism.uvsq.fr/~son/ppa3.html"
name="Nicolas Souchu's home page"> in France.
Also check out <ref id="jaz" name="this note on removable drives">.
Also check out <ref id="jaz" name="this note on removable drives">,
and <ref id="disklabel" name="this note on 'formatting'">.
<sect1>
<heading>And how about JAZ, EZ, and other removable drives?</heading>
@ -1213,6 +1214,85 @@ drivedata: 0
before swapping media, and make sure that any external units are
powered on when you boot the system so FreeBSD can see them.
See <ref id="disklabel" name="this note on 'formatting'">.
<sect1>
<heading>I have a new drive, how do I use it?</heading>
Whether it's a removable drive like a ZIP or an EZ drive (or
even a floppy, if you want to use it that way), or a new hard
disk, once it's installed and recognised by the system, and
you have your cartridge/floppy/whatever slotted in, things are
pretty much the same for all devices.
<label id="disklabel">
If it's a ZIP drive or a floppy , you've already got a DOS
filesystem on it, you can use a command like this:
<verb>
mount -t msdos /dev/fd0c /floppy
</verb>
if it's a floppy, or this:
<verb>
mount -t msdos /dev/sd2s4 /zip
</verb>
for a ZIP disk with the factory configuration.
For other disks, see how they're laid out
using <tt/fdisk/ or <tt>/stand/sysinstall</tt>.
The rest of the
examples will be for a ZIP drive on sd2, the third SCSI disk.
Unless it's a floppy, or a removable you plan on sharing with
other people, it's probably a better idea to stick a BSD file
system on it. You'll get long filename support, at least a 2X
improvement in performance, and a lot more stability. First, you
need to redo the DOS-level partitions/filesystems. You can either
use <tt/fdisk/ or <tt>/stand/sysinstall</tt>, or for a small
drive that you don't want to bother with multiple operating system
support on, just blow away the whole FAT partition table (slices)
and just use the BSD partitioning:
<verb>
dd if=/dev/zero of=/dev/rsd2 count=2
disklabel -Brw sd2 auto
</verb>
You can use disklabel (more info in <ref id="2_1-disklabel-fix"
name="this note">) or <tt>/stand/sysinstall</tt> to create multiple
BSD partitions (you'll certainly want to do this if you're adding
swap space on a fixed disk, but it's probably irrelevant on a
removable).
<verb>
disklabel -e sd2
</verb>
Finally, create a new file system, this one's on our ZIP drive
using the whole disk:
<verb>
newfs /dev/rsd2c
</verb>
and mount it:
<verb>
mount /dev/sd2c /zip
</verb>
and it's probably a good idea to add a line like this to
<tt>/etc/fstab</tt> so you can just type "mount /zip" in the
future:
<verb>
/dev/sd2c /zip ffs rw,noauto 0 0
</verb>
<sect1>
<heading>What multi-port serial cards are supported by FreeBSD?</heading>