[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [mtools] FAT count
From: |
Alain Knaff |
Subject: |
Re: [mtools] FAT count |
Date: |
Sat, 24 May 2003 23:11:18 +0200 |
User-agent: |
KMail/1.5.1 |
On Wednesday 30 April 2003 22:01, Robb Main wrote:
> Is there no way to force a single FAT (instead of the two 'normal') when
> creating a filesystem image file?
> What are the ramifications of forcing a single FAT (i.e. does this cause
> any problems with any versions of DOS, or DOS utilities, etc.)?
> Thanks,
> Robb Main.
>
In today's patch (20030524), there is now a new -d option in mformat,
with which you can indicate the number of fats:
For example, the following command will format an 1440 disk with only
one FAT:
mformat -d 1 -s 18 -h 2 -t 80 a:
The same exect can be achieved by setting the MTOOLS_NFATS environment
variable:
export MTOOLS_NFATS=1
mformat -s 18 -h 2 -t 80 a:
The environment variable is useful in situations where you have no
direct control over mformat's commandline, such as is the case when it
is called via another program (syslinux, etc.). A similar variable
exists for the root directory size (MTOOLS_DIR_LEN):
export MTOOLS_NFATS=1
export MTOOLS_DIR_LEN=1
syslinux /dev/fd0
Regards,
Alain
_______________________________________________
mtools mailing list
address@hidden
http://www.tux.org/mailman/listinfo/mtools