Date: Fri, 11 Jun 1999 05:54:33 -0500 From: David Kelly <dkelly@hiwaay.net> To: Ada <acheng@barrow.uwaterloo.ca> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Formatting a dos readable floppy on FreeBSD Message-ID: <199906111054.FAA71267@nospam.hiwaay.net> In-Reply-To: Message from Ada <acheng@barrow.uwaterloo.ca> of "Fri, 11 Jun 1999 06:27:18 EDT." <Pine.OSF.3.96.990611062525.13050A-100000@barrow.uwaterloo.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
Ada writes:
> Hi,
> How can I format a floppy on FreeBSD so that Dos can read it?
% ls -l /dev/rfd0.1440
crw-rw---- 1 root operator 9, 3 May 24 08:24 /dev/rfd0.1440
Demonstrate that I'm in an appropriate group to use the above:
% id
uid=928(dkelly) gid=928(dkelly) groups=928(dkelly), 0(wheel), 5(operator), 68(dialer)
% fdformat /dev/rfd0.1440
Format 1440K floppy `/dev/rfd0.1440'? (y/n): y
Processing VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV done.
% mkdosfs /dev/rfd0.1440
%
It also helps to install /usr/ports/emulators/mtools/ as its a whole
lot easier to use mtools to read/write a floppy than to mount the thing:
% mdir a:
Volume in drive A is 4.4BSD
Directory for A:/
No files
1 457 664 bytes free
% mcopy .cshrc a:
Can't open /dev/rfd0: Permission denied
Cannot initialize 'A:'
Bad target a:
% su
Password:
# ls -l /dev/rfd0
crw-r----- 9 root operator 9, 0 May 24 08:24 /dev/rfd0
# chmod g+w /dev/rfd0
# exit
exit
% !mcopy
mcopy .cshrc a:
% mdir a:
Volume in drive A is 4.4BSD
Directory for A:/
cshrc~1 1350 06-11-1999 5:52 .cshrc
1 file 1 350 bytes
1 456 128 bytes free
%
--
David Kelly N4HHE, dkelly@nospam.hiwaay.net
=====================================================================
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906111054.FAA71267>
