Книга: Fedora™ Unleashed, 2008 edition
Creating a DOS File System with mkdosfs
Creating a DOS File System with mkdosfs
It is possible to create DOS file systems without owning any Microsoft software if you use the mkdosfs
command. To create a DOS file system in an image file, use the -C option. The -n
option enables you to specify a volume label. To create a 1.4MB DOS file system as an image file with the label dosfloppy
, the sector size (-S
) should be 512
and the block count should be 1440
. Use the -v
option to provide verbose output so that you can observe what happens.
# mkdosfs -n dosfloppy -v -C floppy.img -S 512 1440
A complete review of all the argument options and syntax for creating a DOS file system can be found in the man page for mkdosfs
. The new file system must be mounted (as described in the following section) and then formatted with the mformat
command.
- Creating a File System
- The Disk as a Storage Device
- Creating the File System on the Partitioned Disk
- Shared Cache file
- Безопасность внешних таблиц. Параметр EXTERNAL FILE DIRECTORY
- Chapter 13. rc.firewall file
- Using Double Quotes to Resolve Variables in Strings with Embedded Spaces
- Drawbacks with restore
- System tools used for debugging
- Integrated Secure Communications System
- 7. AGGREGATION WITH INDEPENDENT WORKS
- Creating CDs from the Command Line