Opened 3 years ago

Closed 3 years ago

#29 closed defect (fixed)

Chkdsk message is interrupted before input is requested

Reported by: lewisr 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 Changed 3 years ago by valerius

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

comment:2 Changed 3 years ago by valerius

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-r175.zip | ftp://osfree.org/upload/fat32/fat32-0.10-r175.wpi

Last edited 3 years ago by valerius (previous) (diff)

comment:3 Changed 3 years ago by valerius

  • Priority changed from major to Feedback Pending

comment:4 Changed 3 years ago by lewisr

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

comment:5 Changed 3 years ago by valerius

Corrected the link again (see above)

comment:6 Changed 3 years ago by lewisr

  • Milestone changed from Future to GA
  • Resolution set to fixed
  • Status changed from new to closed

Confirmed fixed. thanks!

Note: See TracTickets for help on using tickets.