Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

394 lines
14 KiB

  1. ---- Commands Supported ----
  2. behavior Control file system behavior
  3. dirty Manage volume dirty bit
  4. file File specific commands
  5. fsinfo File system information
  6. hardlink Hardlink management
  7. objectid Object ID management
  8. quota Quota management
  9. reparsepoint Reparse point management
  10. sparse Sparse file control
  11. usn USN management
  12. volume Volume management
  13. x is an invalid parameter.
  14. ---- Commands Supported ----
  15. behavior Control file system behavior
  16. dirty Manage volume dirty bit
  17. file File specific commands
  18. fsinfo File system information
  19. hardlink Hardlink management
  20. objectid Object ID management
  21. quota Quota management
  22. reparsepoint Reparse point management
  23. sparse Sparse file control
  24. usn USN management
  25. volume Volume management
  26. ---- BEHAVIOR Commands Supported ----
  27. query Query the file system behavior parameters
  28. set Change the file system behavior parameters
  29. x is an invalid parameter.
  30. ---- BEHAVIOR Commands Supported ----
  31. query Query the file system behavior parameters
  32. set Change the file system behavior parameters
  33. Usage : fsutil behavior query <option>
  34. <option>
  35. disable8dot3
  36. allowextchar
  37. disablelastaccess
  38. quotanotify
  39. mftzone
  40. Usage : fsutil behavior set <option> <value>
  41. <option> <values>
  42. disable8dot3 on | off
  43. allowextchar on | off
  44. disablelastaccess on | off
  45. quotanotify 1 through 4294967295 seconds
  46. mftzone 1 through 4
  47. disable8dot3 = off
  48. allowextchar = off
  49. disablelastaccess = off
  50. quotanotify = 4294967295
  51. mftzone = 0
  52. Usage : fsutil behavior set <option> <value>
  53. <option> <values>
  54. disable8dot3 on | off
  55. allowextchar on | off
  56. disablelastaccess on | off
  57. quotanotify 1 through 4294967295 seconds
  58. mftzone 1 through 4
  59. Usage : fsutil behavior set <option> <value>
  60. <option> <values>
  61. disable8dot3 on | off
  62. allowextchar on | off
  63. disablelastaccess on | off
  64. quotanotify 1 through 4294967295 seconds
  65. mftzone 1 through 4
  66. ---- DIRTY Commands Supported ----
  67. query Query the dirty bit
  68. set Set the dirty bit
  69. x is an invalid parameter.
  70. ---- DIRTY Commands Supported ----
  71. query Query the dirty bit
  72. set Set the dirty bit
  73. Usage : fsutil dirty query <volume pathname>
  74. Eg : fsutil dirty query C:
  75. Usage : fsutil dirty set <volume pathname>
  76. Eg : fsutil dirty set C:
  77. ---- FILE Commands Supported ----
  78. findbysid Find a file by security identifier
  79. queryallocranges Query the allocated ranges for a file
  80. setshortname Set the short name for a file
  81. setvaliddata Set the valid data length for a file
  82. setzerodata Set the zero data for a file
  83. createnew Creates a new file of a specified size
  84. x is an invalid parameter.
  85. ---- FILE Commands Supported ----
  86. findbysid Find a file by security identifier
  87. queryallocranges Query the allocated ranges for a file
  88. setshortname Set the short name for a file
  89. setvaliddata Set the valid data length for a file
  90. setzerodata Set the zero data for a file
  91. createnew Creates a new file of a specified size
  92. Usage : fsutil file findbysid <user> <pathname>
  93. Eg : fsutil file findbysid scottb C:\users
  94. Usage : fsutil file queryallocranges offset=<val> length=<val> <pathname>
  95. offset : File Offset, the start of the range to query
  96. length : Size, in bytes, of the range
  97. Eg : fsutil file queryallocranges offset=1024 length=64 C:\Temp\sample.txt
  98. Usage : fsutil file setshortname <pathname> <shortname>
  99. Eg : fsutil file setshortname C:\testfile.txt testfile
  100. Usage : fsutil file setvaliddata <pathname> <datalength>
  101. Eg : fsutil file setvaliddata C:\testfile.txt 4096
  102. Usage : fsutil file setzerodata offset=<val> length=<val> <pathname>
  103. offset : File offset, the start of the range to set to zeroes
  104. length : Byte length of the zeroed range
  105. Eg : fsutil file setzerodata offset=100 length=150 C:\Temp\sample.txt
  106. ---- FSINFO Commands Supported ----
  107. drives List all drives
  108. drivetype Query drive type for a drive
  109. volumeinfo Query volume information
  110. ntfsinfo Query NTFS specific volume information
  111. statistics Query file system statistics
  112. x is an invalid parameter.
  113. ---- FSINFO Commands Supported ----
  114. drives List all drives
  115. drivetype Query drive type for a drive
  116. volumeinfo Query volume information
  117. ntfsinfo Query NTFS specific volume information
  118. statistics Query file system statistics
  119. Drives: A:\C:\D:\E:\F:\G:\
  120. Usage : fsutil fsinfo drivetype <pathname>
  121. Eg : fsutil fsinfo drivetype C:
  122. Usage : fsutil fsinfo volumeinfo <rootpathname>
  123. Eg : fsutil fsinfo volumeinfo C:\
  124. Usage : fsutil fsinfo ntfsinfo <volume pathname>
  125. Eg : fsutil fsinfo ntfsinfo C:
  126. Usage : fsutil fsinfo statistics <volume pathname>
  127. Eg : fsutil fsinfo statistics C:
  128. ---- HARDLINK Commands Supported ----
  129. create Create a hardlink
  130. x is an invalid parameter.
  131. ---- HARDLINK Commands Supported ----
  132. create Create a hardlink
  133. Usage : fsutil hardlink create <new filename> <existing filename>
  134. Eg : fsutil hardlink create c:\foo.txt c:\bar.txt
  135. ---- OBJECTID Commands Supported ----
  136. query Query the object identifier
  137. set Change the object identifier
  138. delete Delete the object identifier
  139. create Create the object identifier
  140. x is an invalid parameter.
  141. ---- OBJECTID Commands Supported ----
  142. query Query the object identifier
  143. set Change the object identifier
  144. delete Delete the object identifier
  145. create Create the object identifier
  146. Usage : fsutil objectid query <pathname>
  147. Eg : fsutil objectid query C:\Temp\sample.txt
  148. Usage : fsutil objectid set <ObjectId> <BirthVolumeId> <BirthObjectId> <DomainId> <pathname>
  149. ObjectId : 16-digit hexadecimal data
  150. BirthVolumeId : 16-digit hexadecimal data
  151. BirthObjectId : 16-digit hexadecimal data
  152. DomainId : 16-digit hexadecimal data
  153. All values must be in Hex of the form 40dff02fc9b4d4118f120090273fa9fc
  154. Eg : fsutil objectid set 40dff02fc9b4d4118f120090273fa9fc
  155. f86ad6865fe8d21183910008c709d19e
  156. 40dff02fc9b4d4118f120090273fa9fc
  157. 00000000000000000000000000000000 C:\Temp\sample.txt
  158. Usage : fsutil objectid delete <pathname>
  159. Eg : fsutil objectid delete C:\Temp\sample.txt
  160. Usage : fsutil objectid create <pathname>
  161. Eg : fsutil objectid create C:\Temp\sample.txt
  162. ---- QUOTA Commands Supported ----
  163. disable Disable quota tracking and enforcement
  164. track Enable quota tracking
  165. enforce Enable quota enforcement
  166. violations Display quota violations
  167. modify Sets disk quota for a user
  168. query Query disk quotas
  169. x is an invalid parameter.
  170. ---- QUOTA Commands Supported ----
  171. disable Disable quota tracking and enforcement
  172. track Enable quota tracking
  173. enforce Enable quota enforcement
  174. violations Display quota violations
  175. modify Sets disk quota for a user
  176. query Query disk quotas
  177. Usage : fsutil quota disable <volumepathname>
  178. Eg : fsutil quota disable C:
  179. Usage : fsutil quota track <volumepathname>
  180. Eg : fsutil quota track C:
  181. Usage : fsutil quota enforce <volumepathname>
  182. Eg : fsutil quota enforce C:
  183. Searching in System Event Log...
  184. Searching in Application Event Log...
  185. No quota violations detected
  186. Usage : fsutil quota modify <volumepathname> <threshold> <limit> <user>
  187. Eg : fsutil quota modify c: 3000 5000 domain\user
  188. Usage : fsutil quota query <volumepathname>
  189. Eg : fsutil quota query C:
  190. ---- REPARSEPOINT Commands Supported ----
  191. set Create a new reparse point
  192. query Query a reparse point
  193. delete Delete a reparse point
  194. x is an invalid parameter.
  195. ---- REPARSEPOINT Commands Supported ----
  196. set Create a new reparse point
  197. query Query a reparse point
  198. delete Delete a reparse point
  199. Usage : fsutil reparsepoint query <pathname>
  200. Eg : fsutil reparsepoint query C:\Server
  201. Usage : fsutil reparsepoint delete <pathname>
  202. Eg : fsutil reparsepoint delete C:\Server
  203. ---- SPARSE Commands Supported ----
  204. setflag Set sparse
  205. queryflag Query sparse
  206. queryrange Query range
  207. setrange Set sparse range
  208. x is an invalid parameter.
  209. ---- SPARSE Commands Supported ----
  210. setflag Set sparse
  211. queryflag Query sparse
  212. queryrange Query range
  213. setrange Set sparse range
  214. Usage : fsutil sparse setflag <pathname>
  215. Eg : fsutil sparse setflag C:\Temp\sample.txt
  216. Usage : fsutil sparse queryflag <pathname>
  217. Eg : fsutil sparse queryflag C:\Temp\sample.txt
  218. Usage : fsutil sparse queryrange <pathname>
  219. Eg : fsutil sparse queryrange C:\Temp\sample.txt
  220. Usage : fsutil sparse setrange <pathname> <beginning offset> <length>
  221. Eg : fsutil sparse setrange C:\Temp\sample.txt 65536 131072
  222. ---- USN Commands Supported ----
  223. createjournal Create a USN journal
  224. deletejournal Delete a USN journal
  225. enumdata Enumerate USN data
  226. queryjournal Query the USN data for a volume
  227. readdata Read the USN data for a file
  228. readjournal Read the USN journal for a volume
  229. x is an invalid parameter.
  230. ---- USN Commands Supported ----
  231. createjournal Create a USN journal
  232. deletejournal Delete a USN journal
  233. enumdata Enumerate USN data
  234. queryjournal Query the USN data for a volume
  235. readdata Read the USN data for a file
  236. readjournal Read the USN journal for a volume
  237. Usage : fsutil usn createjournal m=<max-value> a=<alloc-delta> <volume pathname>
  238. Eg : fsutil usn createjournal m=1000 a=100 C:
  239. Usage : fsutil usn deletejournal <flags> <volume pathname>
  240. <Flags>
  241. /D : Delete
  242. /N : Notify
  243. Eg : usn deletejournal /D C:
  244. Usage : fsutil usn enumdata <file ref#> <lowUsn> <highUsn> <pathname>
  245. Eg : fsutil usn enumdata 1 0 1 C:
  246. Usage : fsutil usn queryjournal <volume pathname>
  247. Eg : fsutil usn queryjournal C:
  248. Usage : fsutil usn readdata <pathname>
  249. Eg : fsutil usn readdata C:\Temp\sample.txt
  250. Usage : fsutil usn readjournal <volume pathname>
  251. Eg : fsutil usn readjournal C:
  252. ---- VOLUME Commands Supported ----
  253. dismount Dismount a volume
  254. extend Extend the size of a volume
  255. diskfree Query the free space of a volume
  256. x is an invalid parameter.
  257. ---- VOLUME Commands Supported ----
  258. dismount Dismount a volume
  259. extend Extend the size of a volume
  260. diskfree Query the free space of a volume
  261. Usage : fsutil volume dismount <volume pathname>
  262. Eg : fsutil volume dismount C:
  263. Usage : fsutil volume extend <Drive pathname> [Size in MB]
  264. Eg : fsutil volume extend C: 100
  265. Usage : fsutil volume diskfree <drivename>
  266. Eg : fsutil volume diskfree C:
  267. File E:\SdNt\Base\fs\ntfs\fu\sparse is created
  268. Zero data is changed
  269. ** Range : 0 **
  270. Starting Offset : 0
  271. Length in bytes : 10000
  272. ** Range : 1 **
  273. Starting Offset : 30000
  274. Length in bytes : f12400
  275. File E:\SdNt\Base\fs\ntfs\fu\sparse is created
  276. Zero data is changed
  277. ** Range : 0 **
  278. Starting Offset : 0
  279. Length in bytes : 10000
  280. ** Range : 1 **
  281. Starting Offset : 30000
  282. Length in bytes : fd0000
  283. quotanotify value is set
  284. quotanotify = 4294967295
  285. Usage : fsutil behavior set <option> <value>
  286. <option> <values>
  287. disable8dot3 on | off
  288. allowextchar on | off
  289. disablelastaccess on | off
  290. quotanotify 1 through 4294967295 seconds
  291. mftzone 1 through 4
  292. Usage : fsutil behavior set <option> <value>
  293. <option> <values>
  294. disable8dot3 on | off
  295. allowextchar on | off
  296. disablelastaccess on | off
  297. quotanotify 1 through 4294967295 seconds
  298. mftzone 1 through 4
  299. Usage : fsutil behavior set <option> <value>
  300. <option> <values>
  301. disable8dot3 on | off
  302. allowextchar on | off
  303. disablelastaccess on | off
  304. quotanotify 1 through 4294967295 seconds
  305. mftzone 1 through 4
  306. Usage : fsutil behavior set <option> <value>
  307. <option> <values>
  308. disable8dot3 on | off
  309. allowextchar on | off
  310. disablelastaccess on | off
  311. quotanotify 1 through 4294967295 seconds
  312. mftzone 1 through 4
  313. Usage : fsutil behavior set <option> <value>
  314. <option> <values>
  315. disable8dot3 on | off
  316. allowextchar on | off
  317. disablelastaccess on | off
  318. quotanotify 1 through 4294967295 seconds
  319. mftzone 1 through 4
  320. Usage : fsutil behavior set <option> <value>
  321. <option> <values>
  322. disable8dot3 on | off
  323. allowextchar on | off
  324. disablelastaccess on | off
  325. quotanotify 1 through 4294967295 seconds
  326. mftzone 1 through 4
  327. File E:\SdNt\Base\fs\ntfs\fu\xxx is created
  328. Error: The file exists.
  329. FileSystemControlFlags = 0x00000001
  330. Quota tracking is enabled on this volume
  331. Logging for quota events is not enabled
  332. The quota values are up to date
  333. Default Quota Threshold = 0xffffffffffffffff
  334. Default Quota Limit = 0xffffffffffffffff
  335. SID Name = BUILTIN\Administrators (Alias)
  336. Change time = Fri Nov 10 11:57:56 2000
  337. Quota Used = 5156365450
  338. Quota Threshold = 18446744073709551615
  339. Quota Limit = 18446744073709551615
  340. SID Name = NT AUTHORITY\SYSTEM (WellKnownGroup)
  341. Change time = Tue Oct 31 08:52:56 2000
  342. Quota Used = 215936
  343. Quota Threshold = 18446744073709551615
  344. Quota Limit = 18446744073709551615