*BSD News Article 40505


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!hpg30a.csc.cuhk.hk!agate!howland.reston.ans.net!news.sprintlink.net!nwnexus!deanstoy!dean
From: dean@deanstoy.wa.com (Dean M. Phillips)
Subject: Re: FreeBSD: How to mount a floppy?
Organization: None whatsoever!
Message-ID: <D1zsx7.Jo@deanstoy.wa.com>
References: <D1zrMw.Dy@ecf.toronto.edu> <rcjvdb.789423089@asterix.urc.tue.nl>
Date: Fri, 6 Jan 1995 16:39:07 GMT
Lines: 30

>ficnar@ecf.toronto.edu (FICNAR  FRANK G) writes:
>>	I was just wondering how one formats and mounts a floppy in FreeBSD?
[snip]
>
In article <rcjvdb.789423089@asterix.urc.tue.nl> rcjvdb@urc.tue.nl (Jan van den Bosch) writes:
>try: mount /dev/fd0a ... (for 3 1/2", 1.4MB) 
>or   mount /dev/fd0e ... (for 3 1/2", 720kB)

Err... This is not the whole answer.  The complete answer is:
Step 1) Low level format (fdformat)
Step 2) High level format (disklabel & newfs or mformat)
Step 3) Mount

For BSD 4.2 file systems do:
fdformat -f 1440 fd0
disklabel -w -B fd0 fd1440
newfs [options-to-taste] fd1a
mount /dev/fd0a /fd3.5

For messdos file systems do:
fdformat -f 1440 fd0
mformat a:
mount -t msdos /dev/fd0a /fd3.5

Adjust sizes and devices to suit your hardware.
-- 
---------------------------------------------------------------------------
Dean M. Phillips            PGP mail encouraged        dean@deanstoy.wa.com
Office: 206-294-1024         Lab: 206-662-0286           Home: 206-488-8282
PGP key on server or finger dphill@leland.stanford.edu or by E-Mail.