> On Feb 27, 2023, at 12:02 PM, Bernd Boeckmann via Freedos-devel 
> <freedos-devel@lists.sourceforge.net> wrote:
> 
>> Seriously, thank you. :-)
> 
> Glad I could help :-)
> 
>> On a side note: It might be nice to support '/prio:max’ and '/pri:max’. 
> 
> 
> Shouldn’t do /pri:100,100 the trick?

Yep, works fine. 

> The ,100 indicates that the first value is to be interpreted as a percentage. 
> If you want to specify the size in MB you must NOT give the ,100 as a second 
> argument. As an example:
> 
> fdisk 1 /clear /pri:2048 /ext:100,100 /log:4096 /log:100,100
> 
> Will wipe the disk, create a  ~2048 MB primary partition, an extended 
> spawning the rest of the disk and two logical partitions, the first ~4096 MB 
> in size and the second filling the rest of the extended partition.

Interesting, the HELP simply says:

Creating primary partitions and logical drives:  sizes in MB or [,100] in 
percent
/PRI:<size>[,100] [/SPEC:<type#>] [drive#] Creates a primary partition.

Using your example, I think it would be easier for a user to understand as:

fdisk 1 /clear /pri:2048 /ext:max /log:4096 /log:max

But, that installer will just use 100,100 and not worry about it. 

:-)

Jerome


> 
> Greetings, Bernd
> 
> 
> 
> _______________________________________________
> Freedos-devel mailing list
> Freedos-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-devel

_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to