Opened 8 years ago

Closed 8 years ago

#29 closed defect (fixed)

Chkdsk message is interrupted before input is requested

Reported by: Lewis Rosenthal Owned by:
Priority: Feedback Pending Milestone: GA
Component: utilities Version:
Severity: highest Keywords:
Cc:

Description

When checking FAT32 media (0.10alpha7, 10/20/2016 UFAT32), and corrections must be written to disk, the message breaks before prompting for input:

[c:\]chkdsk n: /f
The current hard disk drive is: N:
The type of file system for the disk is FAT32.
The FAT32 file system program has been started.
FAT32: Unicode translate table for CP 850 loaded.
(UFAT32.DLL version 0.10a7 compiled on Oct 18 2016)
The volume label is FAT32.
The Volume Serial Number is 150A-3733.
CHKDSK is checking fats :Ok.
CHKDSK is checking files and directories...
CHKDSK is searching for lost data.
CHKDSK has searched   4% of the disk.
SYS0562: The system detected lost data on disk N:.
CHKDSK has searched 100% of the disk.

63 lost clusters found in 1 chains.
These clusters and chains will be erased unless you convert

The screen stops at this line, apparently waiting for input. Pressing Ctrl-C yields us the rest of the story:

^C
External process cancelled by a Ctrl+Break or another process
them to files.  Do you want to convert them to files(Y/N)?

Likewise, simply pressing "Y" will complete the pass (but one must know that this is the prompt).

Change History (6)

comment:1 by Valery V. Sedletski, 8 years ago

It expects "Y" to be pressed this time. Yes, there is such problem, I've seen that too.

comment:2 by Valery V. Sedletski, 8 years ago

The output of CHKDSK has been buffered, so user doesn't see the message requesting to press Y/N. So, I added fflush(stdout), and now, starting from r174, this should be fixed. The updated binaries: ftp://osfree.org/upload/fat32/fat32-0.10-r174.zip | ftp://osfree.org/upload/fat32/fat32-0.10-r174.wpi

Version 1, edited 8 years ago by Valery V. Sedletski (previous) (next) (diff)

comment:3 by Valery V. Sedletski, 8 years ago

Priority: majorFeedback Pending

comment:4 by Lewis Rosenthal, 8 years ago

Sorry; I can't retrieve either link (404). please confirm.

comment:5 by Valery V. Sedletski, 8 years ago

Corrected the link again (see above)

comment:6 by Lewis Rosenthal, 8 years ago

Milestone: FutureGA
Resolution: fixed
Status: newclosed

Confirmed fixed. thanks!

Note: See TracTickets for help on using tickets.