Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mkfatimage16(1) [debian man page]

MKFATIMAGE16(1) 					      Make HDIMAGE for DOSEMU						   MKFATIMAGE16(1)

NAME
mkfatimage16 - generate a virtual drive image suitable for DOSEMU SYNOPSIS
mkfatimage16 [ -b bsectfile ] [{ -t tracks | -k Kbytes }] [ -l volume-label ] [ -f outfile ] [ -p ] [ file... ] DESCRIPTION
mkfatimage16 creates a hdimage file for DOSEMU that is pre-loaded with the files specified on the command line. The output is either writ- ten to stdout (hence do not forget to append " > hdimagefile", else you will see garbage on the screen) or to the file specified by the -f option. For the latter you may also use option -p in order to force padding up to the given size. This padding will result in so-called holes on an ext2-FS, hence the actual disk usage will not be greater. The file created by mkfatimage16 then can be used as a virtual drive, when defined in /etc/dosemu.conf. As long as -k is not given, the number of heads is always 4 and you have 17 sectors per head else it is adjusted accordingly. To vary the size, you may either use the -t option or specify the total amount of Kbytes via -k option. All files given behind the options will be copied onto the hdimage. In addition a DOSEMU suitable master boot record (MBR) is established and via option -b you may specify a boot sector that gets inserted as first sector of the partition. To later access the hdimage outside of DOSEMU you should use mtools (/etc/mtools.conf parameters partition=1 and offset=128). OPTIONS
-b file Insert the first 512 bytes of file into the bootsector of the partition. -t num Make the virtual disk have num tracks. This is the one way to define the size of the disk. -k Kbytes Make the virtual disk be Kbytes in size. Using -t and -k are mutual exclusive. -l label insert label as volume label for the disk. -f outfile The hdimage is written to outfile instead of stdout -p Pad the hdimage with zero up to the total size given by -t or -k (only in conjunction with -f). AUTHOR
Pasi Eronen (pe@iki.fi) and Peter Wainwright. BUGS
This program doesn't support name mangling and does very little checking for non-DOS filenames. Disk full condition isn't detected (and probably causes erratic behaviour). Duplicate files aren't detected. AVAILABILITY
Comes with DOSEMU SEE ALSO
dosemu(1), xdosemu(1), mtools(1) Version ALPHA 0.98 September, 1998 MKFATIMAGE16(1)

Check Out this Related Man Page

disktab(5)							File Formats Manual							disktab(5)

Name
       disktab - disk description file

Syntax
       #include <disktab.h>

Description
       The file is a simple data base that describes disk geometries and disk partition characteristics.  The format is patterned after the termi-
       nal data base.  Entries in consist of a number of fields separated by colons (:).  The first entry for each disk gives the names  that  are
       known for the disk, separated by vertical bars (|).  The last name given should be a long name fully identifying the disk.

       The following list indicates the normal values stored for each disk entry:
       Name Type Description
       ns   num  Number of sectors per track
       nt   num  Number of tracks per cylinder
       nc   num  Total number of cylinders on the disk
       ba   num  Block size for partition `a' (bytes)
       bd   num  Block size for partition `d' (bytes)
       be   num  Block size for partition `e' (bytes)
       bf   num  Block size for partition `f' (bytes)
       bg   num  Block size for partition `g' (bytes)
       bh   num  Block size for partition `h' (bytes)
       fa   num  Fragment size for partition `a' (bytes)
       fd   num  Fragment size for partition `d' (bytes)
       fe   num  Fragment size for partition `e' (bytes)
       ff   num  Fragment size for partition `f' (bytes)
       fg   num  Fragment size for partition `g' (bytes)
       fh   num  Fragment size for partition `h' (bytes)
       pa   num  Size of partition `a' in sectors
       pb   num  Size of partition `b' in sectors
       pc   num  Size of partition `c' in sectors
       pd   num  Size of partition `d' in sectors
       pe   num  Size of partition `e' in sectors
       pf   num  Size of partition `f' in sectors
       pg   num  Size of partition `g' in sectors
       ph   num  Size of partition `h' in sectors
       se   num  Sector size in bytes
       ty   str  Type of disk (e.g. removable, winchester)

       The entries can be automatically generated with the program.

Files
See Also
       chpt(8), newfs(8)

																	disktab(5)
Man Page