On Tue, 29 Nov 2005 03:51:52 +0100, you wrote:

Hi,
   
>Alain talks about batch mode, and /Z:SERIOUSLY (the "seriously" option 
>implements "ECHO Y | FORMAT C:" ).

Oh I see, without prompt is necessary in batch file

>I think, *if* /Z:SERIOUSLY is returned, then and only then, allow to 
>return errorlevel 1 as proposed by Alain.
>MS-FORMAT, FreeDOS Format:
>
>0 =    ok, ok with bad-sectors, sintax errors or help msg.
>3 =    aborted by user
>4 =    fatal error, disk broken or wrong name
>5 =    harddisk format confirmation not given (user selected "no")
>outputs = 0, 3 and 4 confirmed my myself.
>
>FreeDOS Format with /Z:SERIOUSLY:
>
>0 =    ok, sintax errors or help msg.
>1 =     ok with bad-sectors
>3 =    aborted by user
>4 =    fatal error, disk broken or wrong name
>5 =    harddisk format confirmation not given (user selected "no")
>outputs = 0, 3 and 4 confirmed my myself.

If MS-DOS never use errorlevel 1, FreeDOS can have this as a
"improvement". In my mind, FreeDOS is designed to surpass MS-DOS, not
only compatible, so if necessary errorlevel 2 can be added

>While at it, "0" should only be "OK".
>Also implement errlvl 2 then: syntax error or help message.

Yes!

>> By user or terminated itself because of bad sectors? In this case I
>> guess it's terminated by user since 0 is OK with bad sector, am I
>> correct?
>>   
>no idea, and what errorlevel would CTRL-C generate?

Not errorlevel 3?

I have a suggestion to "let users more comfortable".

The story is ... I got a lot of hard disk to format sometimes, the
hard disk is usually 80GB or more, FreeDOS FORMAT's percentage change
very slow like hang up. Sometimes my colleagues think that it hang up
and they reset the PC ...!

To avoid these kind of misunderstandings, is it possible to show
remaining "sector" or "cluster" or even "LBA blocks" so users can see
it's working, AND know how much "blocks" left exactly.


Rgds,
Johnson.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to