After I had linux complain at me during a file copy onto a ReactOS partition, I checked it with dosfsck, and found all some issues. Since then I have been checking the partition I use for vmware after installs. dosfsck has been finding errors every time. I ran a quick regression test and it seems the was introduced between 0.2.8 and 0.2.9. It seems that most of these errors are non fatal, as myself and others have not noticed this causing any problems. Still, it bothers me, since it could be causing a problem somewhere. GreyGhost claimed Windows was not finding any issues with his ros partition, can anyone confirm?
I'm using flat disk images under vmware and qemu, and I'm seeing this issue under both. I'm using both IDE and SCSI drives under vmware, and see the issues with both types.
Anyone who is more famliar with filesystems care to comment?
dosfsck of a 0.2.9(and HEAD) install:
root@phoenix:/home/ford/public/virtuals/vmware/ReactOS# dosfsck -v /dev/loop0 dosfsck 2.10 (22 Sep 2003) dosfsck 2.10, 22 Sep 2003, FAT32, LFN Checking we can access the last sector of the filesystem Boot sector contents: System ID "MSWIN4.1" Media byte 0xf8 (hard disk) 512 bytes per logical sector 8192 bytes per cluster 1 reserved sector First FAT starts at byte 512 (sector 1) 2 FATs, 16 bit entries 102400 bytes per FAT (= 200 sectors) Root directory starts at byte 205312 (sector 401) 512 root directory entries Data area starts at byte 221696 (sector 433) 51125 data clusters (418816000 bytes) 63 sectors/track, 16 heads 63 hidden sectors 818433 sectors total /ReactOS/SYSTEM32/CONFIG/SYSTEM File size is 61440 bytes, cluster chain length is > 65536 bytes. Truncating file to 61440 bytes. /ReactOS/SYSTEM32/CONFIG/SOFTWARE File size is 122880 bytes, cluster chain length is > 122880 bytes. Truncating file to 122880 bytes. Checking for unused clusters. Leaving file system unchanged. /dev/loop0: 361 files, 6907/51125 clusters
dosfsck of a 0.2.8 install:
root@phoenix:/home/ford/public/virtuals/vmware/ReactOS# dosfsck -v /dev/loop0 dosfsck 2.10 (22 Sep 2003) dosfsck 2.10, 22 Sep 2003, FAT32, LFN Checking we can access the last sector of the filesystem Boot sector contents: System ID "MSWIN4.1" Media byte 0xf8 (hard disk) 512 bytes per logical sector 8192 bytes per cluster 1 reserved sector First FAT starts at byte 512 (sector 1) 2 FATs, 16 bit entries 102400 bytes per FAT (= 200 sectors) Root directory starts at byte 205312 (sector 401) 512 root directory entries Data area starts at byte 221696 (sector 433) 51125 data clusters (418816000 bytes) 63 sectors/track, 16 heads 63 hidden sectors 818433 sectors total Checking for unused clusters. /dev/loop0: 324 files, 5501/51125 clusters
Here is a dosfsck of the scsi build disk I use under vmware, after a partial build:
root@phoenix:/home/ford/public/virtuals/vmware/ReactOS# losetup -o 32256 /dev/loop0 build-scsi-flat.vmdk root@phoenix:/home/ford/public/virtuals/vmware/ReactOS# dosfsck -v /dev/loop0 dosfsck 2.10 (22 Sep 2003) dosfsck 2.10, 22 Sep 2003, FAT32, LFN Checking we can access the last sector of the filesystem Boot sector contents: System ID "MSWIN4.1" Media byte 0xf8 (hard disk) 512 bytes per logical sector 4096 bytes per cluster 32 reserved sectors First FAT starts at byte 16384 (sector 32) 2 FATs, 32 bit entries 4185088 bytes per FAT (= 8174 sectors) Root directory start at cluster 2 (arbitrary size) Data area starts at byte 8386560 (sector 16380) 1046185 data clusters (4285173760 bytes) 63 sectors/track, 255 heads 63 hidden sectors 8385867 sectors total /REACTOS/makefile.auto File size is 2274845 bytes, cluster chain length is > 2277376 bytes. Truncating file to 2274845 bytes. /REACTOS/MEDIA/FONTS/COUR.TTF File size is 144456 bytes, cluster chain length is > 147456 bytes. Truncating file to 144456 bytes. /REACTOS/MEDIA/FONTS/.svn/text-base/cour.ttf.svn-base File size is 144456 bytes, cluster chain length is > 147456 bytes. Truncating file to 144456 bytes. /REACTOS/MEDIA/NLS/C_949.NLS File size is 196642 bytes, cluster chain length is > 200704 bytes. Truncating file to 196642 bytes. /REACTOS/MEDIA/NLS/C_932.NLS File size is 162850 bytes, cluster chain length is > 163840 bytes. Truncating file to 162850 bytes. /REACTOS/MEDIA/NLS/C_950.NLS File size is 196642 bytes, cluster chain length is > 200704 bytes. Truncating file to 196642 bytes. /REACTOS/MEDIA/NLS/C_936.NLS File size is 196642 bytes, cluster chain length is > 200704 bytes. Truncating file to 196642 bytes. /REACTOS/MEDIA/NLS/.svn/text-base/c_949.nls.svn-base File size is 196642 bytes, cluster chain length is > 200704 bytes. Truncating file to 196642 bytes. /REACTOS/MEDIA/NLS/.svn/text-base/c_932.nls.svn-base File size is 162850 bytes, cluster chain length is > 163840 bytes. Truncating file to 162850 bytes. /REACTOS/MEDIA/NLS/.svn/text-base/c_950.nls.svn-base File size is 196642 bytes, cluster chain length is > 200704 bytes. Truncating file to 196642 bytes. /REACTOS/MEDIA/NLS/.svn/text-base/c_936.nls.svn-base File size is 196642 bytes, cluster chain length is > 200704 bytes. Truncating file to 196642 bytes. /REACTOS/MEDIA/DRIVERS/ETC/SERVICES File size is 398472 bytes, cluster chain length is > 401408 bytes. Truncating file to 398472 bytes. /REACTOS/MEDIA/DRIVERS/ETC/.svn/text-base/services.svn-base File size is 390238 bytes, cluster chain length is > 393216 bytes. Truncating file to 390238 bytes. /REACTOS/subsystems/WIN32/WIN32K/INCLUDE/NAPI.H File size is 34990 bytes, cluster chain length is > 36864 bytes. Truncating file to 34990 bytes. /REACTOS/subsystems/WIN32/WIN32K/DIB/DIB8GEN.C File size is 678744 bytes, cluster chain length is > 679936 bytes. Truncating file to 678744 bytes. /REACTOS/subsystems/WIN32/WIN32K/DIB/DIB16GEN.C File size is 527182 bytes, cluster chain length is > 528384 bytes. Truncating file to 527182 bytes. /REACTOS/subsystems/WIN32/WIN32K/DIB/DIB32GEN.C File size is 254584 bytes, cluster chain length is > 258048 bytes. Truncating file to 254584 bytes. /REACTOS/INCLUDE/DDRAW.H File size is 155097 bytes, cluster chain length is > 155648 bytes. Truncating file to 155097 bytes. /REACTOS/INCLUDE/STRMIF.H File size is 271851 bytes, cluster chain length is > 274432 bytes. Truncating file to 271851 bytes. /REACTOS/INCLUDE/WINUSER.H File size is 137624 bytes, cluster chain length is > 139264 bytes. Truncating file to 137624 bytes. /REACTOS/INCLUDE/.svn Has a large number of bad entries. (37/61) Drop directory ? (y/n)
some more
/REACTOS/LIB/3RDPARTY/LIBXML2/.svn/PROPS/ormation.s f Start cluster beyond limit (1952542496 > 1046186). Truncating file. /REACTOS/LIB/3RDPARTY/LIBXML2/.svn/PROPS/ormation.s f File size is 1634887024 bytes, cluster chain length is 0 bytes. Truncating file to 0 bytes. /REACTOS/LIB/3RDPARTY/LIBXML2/.svn/PROPS/FSCK0004.REN Start cluster beyond limit (1882144357 > 1046186). Truncating file. /REACTOS/LIB/3RDPARTY/LIBXML2/.svn/PROPS/FSCK0004.REN File size is 1751347823 bytes, cluster chain length is 0 bytes. Truncating file to 0 bytes. /REACTOS/LIB/3RDPARTY/LIBXML2/.svn/PROPS/FSCK0005.REN Start cluster beyond limit (1953394021 > 1046186). Truncating file. /REACTOS/LIB/3RDPARTY/LIBXML2/.svn/PROPS/FSCK0005.REN File size is 544830063 bytes, cluster chain length is 0 bytes. Truncating file to 0 bytes. /REACTOS/LIB/3RDPARTY/LIBXML2/.svn/PROPS/--noout.tes Directory has non-zero size. Fixing it. /REACTOS/LIB/3RDPARTY/LIBXML2/.svn/PROPS/--noout.tes Start cluster beyond limit (1852991008 > 1046186). Truncating file. /REACTOS/LIB/3RDPARTY/LIBXML2/.svn/PROPS/d to loa.d e Directory has non-zero size. Fixing it. /REACTOS/LIB/3RDPARTY/LIBXML2/.svn/PROPS/d to loa.d e Start cluster beyond limit (1953395746 > 1046186). Truncating file. /REACTOS/LIB/3RDPARTY/LIBXML2/WIN32/WINCE/LIBXML2.VCP File size is 150203 bytes, cluster chain length is > 151552 bytes. Truncating file to 150203 bytes. /REACTOS/LIB/3RDPARTY/LIBXML2/WIN32/WINCE/.svn/text-base/libxml2.vcp.svn-base File size is 144930 bytes, cluster chain length is > 147456 bytes. Truncating file to 144930 bytes. /REACTOS/NTOSKRNL/BUGCODES.RC File size is 12664 bytes, cluster chain length is > 16384 bytes. Truncating file to 12664 bytes. /REACTOS/NTOSKRNL/INCLUDE/INTERNAL/NAPI.H File size is 13786 bytes, cluster chain length is > 16384 bytes. Truncating file to 13786 bytes. /REACTOS/NTOSKRNL/MM/SECTION.C File size is 145682 bytes, cluster chain length is > 147456 bytes. Truncating file to 145682 bytes. /REACTOS/NTOSKRNL/MM/.svn/text-base/section.c.svn-base File size is 140762 bytes, cluster chain length is > 143360 bytes. Truncating file to 140762 bytes. /REACTOS/NTOSKRNL/EX/ZW.S File size is 42498 bytes, cluster chain length is > 45056 bytes. Truncating file to 42498 bytes. /REACTOS/DLL/DIRECTX/DPLAYX/DPLAY.C File size is 175774 bytes, cluster chain length is > 176128 bytes. Truncating file to 175774 bytes. /REACTOS/DLL/DIRECTX/DPLAYX/.svn/text-base/dplay.c.svn-base File size is 170323 bytes, cluster chain length is > 172032 bytes. Truncating file to 170323 bytes.
WD -- ReactOS is a hub, follow the spokes and you'll immediately find absolutely everything you need to know about Windows. ReactOS is not just software, it's people. kjk_hyperion