*BSD News Article 81765


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!metro!metro!asstdc.scgt.oz.au!nsw.news.telstra.net!act.news.telstra.net!psgrain!newsfeed.internetmci.com!news.corpcomm.net!news
From: Zach Heilig <zach@blizzard.gaffaneys.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: A: Drive?!?!?
Date: 29 Oct 1996 03:36:20 -0600
Organization: Corporate Communications
Lines: 35
Sender: zach@bedrock.gaffaneys.com
Message-ID: <87budmyuwb.fsf@bedrock.gaffaneys.com>
References: <3268183E.5B5E@freenet.mb.ca> <3269269A.1D2@icanect.net>
	<54dhc5$3gs@uriah.heep.sax.de> <553dn0$72f@newshost.lanl.gov>
NNTP-Posting-Host: dialup16.gaffaneys.com
Mime-Version: 1.0 (generated by tm-edit 7.89)
Content-Type: text/plain; charset=US-ASCII
X-Newsreader: Gnus v5.3/Emacs 19.34

>>>>> "Charlie" == Charlie Sorsby <crs@lanl.gov> writes:

Charlie> OK, I, too, am somewhat ignorant of this process under
Charlie> FreeBSD.

Charlie> Am I correct that one would first format the diskette
Charlie> with fdformat?

Right, but fdformat is only a low-level formatter, it does not put
a filesystem (either dos or freebsd) on the disk.

Charlie> Must I put a Unix file system on the diskette to be able
Charlie> to mount it?

Yes, this is from /etc/disktab:

# Floppy formats:
#
# To make a filesystem on a floppy:
#	fdformat [-f <size>] fd<drive>[.<size>]
#	disklabel -B -r -w fd<drive>[.<size>] fd<size>
#	newfs <opts> fd<drive>[.<size>]

I have a script I use to make a mount'able floppy (the stressed
formats don't work reliably for me):

#!/bin/sh
fdformat -q fd0.1440
disklabel -B -r -w fd0.1440 fd1440
newfs -c 1 fd0.1440

-- 
Zach Heilig (zach@blizzard.gaffaneys.com) | ALL unsolicited commercial email
Support bacteria -- it's the              | is unwelcome.  I avoid dealing
only culture some people have!            | with companies that email ads.