|
|
1.1 root 1: .TH dutil 1 "16 Jun 1998" "dmsdos 0.9.1.3" "dmsdos utilities"
2: .SH NAME
3: dutil \- dmsdos hacker's utility
4: .SH SYNOPSIS
5:
6: .BI dutil " directory [command [options ...]]"
7:
8: .SH DESCRIPTION
9: Perform
10: .I command
11: on the CVF that is mounted under
12: .I directory.
13: In fact,
14: .I directory
15: may be also a subdirectory of the mountpoint.
16:
17: If no
18: .I command
19: is given, general information about the CVF is printed.
20:
21:
22: .B List of commands
23:
24:
25: .B cluster \- print cluster information
26:
27: .B sector \- read raw sector from disk and hexdump it
28:
29: .B rrawcluster \- read raw cluster from disk and hexdump it
30:
31: .B rcluster \- read and decompress cluster and hexdump it
32:
33: .B bitfat \- print bitfat content
34:
35: .B setcomp \- change compression format
36:
37: .B setcf \- change compression level
38:
39: .B dumpcache \- dump cache information to syslog
40:
41: .B synccache \- write dirty clusters to disk immediately
42:
43: .B logstat \- dump statistics to syslog
44:
45: .B checkfs \- check filesystem tables
46:
47: .B setloglevel \- change dmsdos log level
48:
49: .B setspeedup \- change dmsdos speedup flags
50:
51: .B memory \- report dmsdos memory usage for caching
52:
53:
54: .B The commands in detail
55:
56:
57: .B dutil directory cluster
58: .I clusternr
59:
60: Print information about cluster
61: .I clusternr.
62:
63: .B dutil directory sector
64: .I sectornr [file]
65:
66: Read raw sector
67: .I sectornr
68: from disk and print it as hexdump. If
69: .I file
70: is given, it is written to a binary file (raw, not as hexdump).
71:
72: .B dutil directory rrawcluster
73: .I clusternr [file]
74:
75: Read raw cluster data from cluster
76: .I clusternr
77: from disk and print it as hexdump. If
78: .I file
79: is given, it is written to a binary file (raw, not as hexdump).
80: The cluster data are not decompressed. This command does not work for
81: fragmented or suballocated clusters and may return complete garbage
82: in these cases.
83:
84: .B dutil directory rcluster
85: .I clusternr [file]
86:
87: Read and decompress cluster
88: .I clusternr
89: from disk and print it as hexdump. If
90: .I file
91: is given, it is written to a binary file (raw, not as hexdump).
92:
93: .B dutil directory bitfat
94: .I sectornr
95:
96: Read bitfat allocation information of sector
97: .I sectornr
98: from disk and print it.
99:
100: .B dutil directory setcomp
101: .I value
102:
103: Set compression scheme for write access.
104: .I value
105: must be one out of
106: .B guess ds00 ds01 ds02 jm00 jm01 sq00 sd3 sd4 .
107: See the dmsdos driver documentation about compression schemes.
108:
109: .B dutil directory setcf
110: .I value
111:
112: Set compression level for write access.
113: .I value
114: must be one out of the range
115: .BR 1 " - " 12.
116: A higher level means better but slower compression.
117:
118: .B dutil directory dumpcache
119:
120: Dump dmsdos cache information to syslog.
121:
122: .B dutil directory synccache
123: .I [value]
124:
125: Write dirty clusters back to disk immediately. If
126: .I value
127: is given and not zero, the data may be passed to the compression
128: daemon instead of written directly to disk. Otherwise the command
129: waits until the data are compressed and written. If you want to ensure
130: physical write access to disk also
131: .BR sync(1)
132: the buffer cache.
133:
134: .B dutil directory logstat
135:
136: Write dmsdos statistics to syslog.
137:
138: .B dutil directory checkfs
139: .I [value]
140:
141: Check the CVF internal tables for inconsistencies. If
142: .I value
143: is given and not zero, try to repair errors.
144:
145: .B dutil directory setloglevel
146: .I value
147:
148: Set the dmsdos driver log level.
149: .I value
150: must be a decimal or a 0x prefixed hexadecimal number.
151: See the dmsdos driver documentation for details about log levels.
152:
153: .B dutil directory setspeedup
154: .I value
155:
156: Set the dmsdos driver speedup flags.
157: .I value
158: must be a decimal or a 0x prefixed hexadecimal number.
159: See the dmsdos driver documentation for details about the speedup flags.
160:
161: .B dutil directory memory
162:
163: Report how much memory the dmsdos driver currently uses for caching.
164:
165: .SH BUGS
166:
167: The dutil commands for reading data from disk operate at a lower level than
168: the dmsdos cluster cache.
169: .I You must disable dmsdos write-back caching or sync the dmsdos cluster
170: .I cache before each operation to get correct results in all cases.
171:
172:
173: .SH SEE ALSO
174:
175: Refer to the dmsdos main documentation for further information.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.