How to mkfs a msdos filesystem?

How to mkfs a msdos filesystem?

Post by Thomas Fo » Tue, 18 Mar 1997 04:00:00



Hi,
as the subject says I want to create a msdos filesystem via linux
but I cannot find a mkfs.msdos or similar...

If this is a FAQ please point me to the answers...

Thanks,
Thomas

--
Thomas Foks               | Hartmann & Braun
                          | Abtlg. PSF

Tel.: 02056/12-5705       | D-42579 Heiligenhaus
--------
PGP-Fingerprint: FC 25 CD F5 44 B6 7C FB  DC 35 03 08 29 87 0E 18

 
 
 

How to mkfs a msdos filesystem?

Post by David Sye » Fri, 21 Mar 1997 04:00:00


Use mformat on a floppy (it might even work on a hard drive, if it's
configured right).  I think superformat leaves floppies in MS-DOS
useable form as well.

Dave.

 
 
 

How to mkfs a msdos filesystem?

Post by Urs Thuerman » Fri, 21 Mar 1997 04:00:00



> as the subject says I want to create a msdos filesystem via linux
> but I cannot find a mkfs.msdos or similar...

> If this is a FAQ please point me to the answers...

There is mformat(1) in the mtools.  A mkfs.msdos /dev/something would
be nice, though.

urs

 
 
 

How to mkfs a msdos filesystem?

Post by John Timmer » Fri, 21 Mar 1997 04:00:00




> > as the subject says I want to create a msdos filesystem via linux
> > but I cannot find a mkfs.msdos or similar...

> > If this is a FAQ please point me to the answers...

> There is mformat(1) in the mtools.  A mkfs.msdos /dev/something would
> be nice, though.

Well have a look at this:

yaro:~# locate mkdosfs
/usr/doc/dosfstools/changelog.mkdosfs.gz
/usr/doc/dosfstools/mkdosfs.gz
/usr/man/man8/mkdosfs.8.gz
/usr/sbin/mkdosfs    

yaro:~# mkdosfs
mkdosfs 0.3b (Yggdrasil), 5th May 1995 for MS-DOS FS
Usage: mkdosfs [-c | -l bad-block-file] [-m boot-msg-file]
       [-n volume-name] [-i volume-id] [-s sectors-per-cluster] [-v]
       [-f number-of-FATs] [-F fat-size] [-r root-dir-entries]
       /dev/name [blocks]        

So it appears as if what you're looking for is there ;-)

--
Regards


 
 
 

How to mkfs a msdos filesystem?

Post by Geoff Sho » Wed, 26 Mar 1997 04:00:00



: >
: > > as the subject says I want to create a msdos filesystem via linux
: > > but I cannot find a mkfs.msdos or similar...
: >
: > There is mformat(1) in the mtools.  A mkfs.msdos /dev/something would
: > be nice, though.
:
: yaro:~# mkdosfs
: mkdosfs 0.3b (Yggdrasil), 5th May 1995 for MS-DOS FS
: Usage: mkdosfs [-c | -l bad-block-file] [-m boot-msg-file]
:        [-n volume-name] [-i volume-id] [-s sectors-per-cluster] [-v]
:        [-f number-of-FATs] [-F fat-size] [-r root-dir-entries]
:        /dev/name [blocks]        

OK, here's a challenge - is there any way of creating a loopback msdos
filesystem, eg for use with a dos emulator or to create a partition
image.  mkfs.ext2 etc will format a blank file, but the dos versions
don't seem to.

        Geoff
--
----------------------------------------------------------------------------
Ever sit and watch ants? They're always busy with                Geoff Short

can't identify with that kind of work ethic. http://kipper.york.ac.uk/~geoff