Share via


Command Line Parameters for the File System Driver Test (Windows Embedded CE 6.0)

1/6/2010

The File System Driver Test executes the tux -o -d fsdtst command line on default execution. You can modify the test by editing the command line. For information about how to edit the command line for a test, see Editing the Command-Line for a Test. The following table shows the command line parameters for the File System Driver Test.

Command line parameter Description

-zorch

Runs all test cases, destroying all information on the storage device. Test cases write to and read from sectors on the storage device without preserving the contents of the sectors.

-p profile

Specifies the storage profile to which to restrict testing, found in the registry under the HKEY_LOCAL_MACHINE\System\StorageManager\Profiles key.

The default storage profile is PCMCIA.

-s filesystem

Specifies the file system to which to restrict testing.

The default file system is Fatfs.dll. You only need to specify a file system when testing a new FSD.

-r \root

Specifies the root directory in which to run the test. If you provide this option, the test only runs in the specified directory and ignores the –s and –p options.

This flag is useful for a file system driver that does not use storage profiles such as a network file system driver. If the name of the root directory includes spaces, surround the name of the directory with single quotation marks; for example, -r '\Storage Card'.

-c clusterbytes

Specifies the size of a cluster used by the FSD. You can use this option to specify the size of a cluster for a file system that is not a FAT file system.

Specifying this option does not affect the cluster size for a FAT volume. By default, the test uses a cluster size of 4096 bytes. You can use the default value if the file system being tested does not have a cluster-like data structure.

-d maxrootdirs

Specifies the maximum number of directory entries that the test attempts to create in the root directory. Specifying this option does not affect the number of directory entries for a FAT volume.

The default value is 255 directory entries. You can use the default value if the file system being tested does not limit the number of directory entries that can exist in the root directory.

-q

Disables quick filling of partitions.

Quick filling is enabled by default and, for a test case that requires the creation of a large file to fill the partition, a large filler file is artificially created by calling the SetFilePointer and SetEndOfFile functions. If you specify this option, disabling quick filling, a large file is created by repeated calls to the WriteFile function.

-f

Disables automatic formatting of each mounted partition before testing.

Automatic formatting is enabled by default and each mounted partition is formatted as a FAT volume before each test case runs. If you specify this option, the test does not automatically format each mounted partition.

Ee504741.note(en-US,WinEmbedded.60).gifNote:
If this flag is used, the Windows Embedded CE 6.0 Test Kit (CETK) requires that it always come at the end of the command line after all other parameters have been specified; otherwise, the command line will not parse correctly.

See Also

Other Resources

File System Driver Test