Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2004 22:56:23 +0800
From:      Stephen Liu <satimis@icare.com.hk>
To:        Mike Jeays <Mike.Jeays@rogers.com>, Prodigy <prodigy@punktas.lt>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Format floppy problem
Message-ID:  <200403172256.24082.satimis@icare.com.hk>
In-Reply-To: <1079484528.5194.9.camel@chaucer>
References:  <200403170921.34200.satimis@icare.com.hk> <004501c40b75$501d8e90$1e00a8c0@prodigy> <1079484528.5194.9.camel@chaucer>

next in thread | previous in thread | raw e-mail | index | archive | help
- snip -
> > > $ fdformat /dev/fd0
> > > Format 1440K floppy `/dev/fd0'? (y/n): y
> > > Processing VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV done.
> > >
> > > they could not be mounted
> > >
> > > $ mount -t msdos /dev/fd0 /usr/home/user/floppy
> > > msdosfs: /dev/fd0: Invalid argument
> > >
> > > I tested 3 floppies with the same result.  Kindly advise how to fix
> > > this problem.  Is there a special format floppy command for FreeBSD.
> > >
- snip -

> If you want to format a floppy with the FAT format for use in a Windows
> system, try:
>
> #!/bin/sh
> # Format a DOS floppy  TMJ 1999-05-15
> fdformat -f 1440 fd0
> newfs_msdos -f 1440 fd0
>
> You can then mount it as
> mount -t msdos /dev/fd0 /mnt
>
> The other method is to format it with the UFS filesystem, by:
>
> #!/bin/sh
> # 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>]
> fdformat -q fd0.1440
> disklabel -B -r -w fd0.1440 fd1440
> newfs -c 1 fd0.1440
>
> These can be mounted by
> mount /dev/fd0 /mnt
> but cannot be used on a Windows system.

Hi Mike, Prodigy and other folks

Thanks for your advice.  Problem is now solved.

B.R.
Stephen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403172256.24082.satimis>