Hi, just saw on devel that a single wrong partition type already gives:

WARNING: partition Pri:4 FS 06 has CHS=3584-0-1, not 1023-254-63
WARNING: partition Pri:4 FS 06 has CHS=3646-254-63, not 1023-354-63
WARNING: partition Pri:4 FS 06 is not LBA
Please run FDISK to correct this - using LBA to access partition.
 start 3584-0-1, end 3646-254-63
D: HD1, Pri[ 4], CHS=3584-0-1, start=28113 MB, size=    494 MB

So you have 5 lines of error messages (the 354 is a typo by Mark ;-)).
How about using TWO instead?

WARNING: partition Pri:4 FS 06 is no LBA partition type, please set
to LBA type FS 0E with FDISK: CHS max 1023-254-63, 3584-0-1..3646-254-63 too 
big!

Or something similar than that. In either case, it will fit two lines.
The three "WARNING" lines are shown where they are triggered, but the
kernel always survives until it reaches the nice "please run" message
anyway, so I would suggest to remove the WARNING lines. Instead, use:

Partition ???:? is FS ?? but must be ?? for LBA, as CHS values are beyond
1023-254-63. Partition start is ?????-???-??, end is ?????-???-?? here.

Wow. Now you even have two variants of two-line messages :-). Let me know
if there is a reason why the WARNING lines must be kept - I think there
is none. Of course you can add a \007 char in the 2-line message for emphasis 
;-).

Eric



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Freedos-kernel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to