Debian Codegraph @

upstream/debian-unstable/man1/mdoctorfat.1

raw
1 '\" t
2 .TH mdoctorfat 1 "14Jun25" mtools-4.0.49
3 .SH Name
4 mdoctorfat - doctors the allocation table of a file
5 '\" t
6 .de TQ
7 .br
8 .ns
9 .TP \\$1
10 ..
11
12 .tr \(is'
13 .tr \(if`
14 .tr \(pd"
15
16 .SH Note\ of\ warning
17 This manpage has been automatically generated from mtools's texinfo
18 documentation, and may not be entirely accurate or complete. See the
19 end of this man page for details.
20 .PP
21 .SH Description
22 .PP
23 The \fR\&\f(CWmdoctorfat\fR command was initially intended as a
24 test/debugging tool. It allows to flag FAT clusters as bad blocks, and
25 also to change the clusters allocated to a file. No consistency check
26 is done, clusters previously allocated to the file are not freed. Use
27 at your own risk.
28 .PP
29 Syntax:
30 .PP
31 .ft I
32 .nf
33 \&\fR\&\f(CWmdoctorfat\fR [\fR\&\f(CW-o\fR \fIoffset\fR] \fR\&\f(CW-b\fR \fIdrive\fR \fIclusters\fR
34 \&\fR\&\f(CWmdoctorfat\fR [\fR\&\f(CW-o\fR \fIoffset\fR] [\fR\&\f(CW-s\fR \fIsize\fR] \fIfile\fR \fIclusters\fR
35 .fi
36 .ft R
37
38 .PP
39 If flag \fR\&\f(CW-b\fR is present, the command marks the clusters as bad blocks
40 rather than change the allocation of a file.
41 .PP
42 If flag \fR\&\f(CW-b\fR is not present, the commands sets the clusters to
43 allocated to the file.
44 .PP
45 If option \fR\&\f(CW-s\fR is given in addition to the \fR\&\f(CW-b\fR, this also
46 changes the size in bytes of the file.
47 .PP
48 The cluster list is represented as a sequence of clusters or cluster
49 ranges. Example: \fR\&\f(CW7-10 20 21-24\fR. Each range needs to be a
50 different parameter.
51 .PP
52 If \fR\&\f(CW-o\fR is given, this specifies an offset to be added to each
53 cluster (offset is expressed in number of clusters).
54 .PP
55 .SH See\ Also
56 Mtools' texinfo doc
57 .SH Viewing\ the\ texi\ doc
58 This manpage has been automatically generated from mtools's texinfo
59 documentation. However, this process is only approximative, and some
60 items, such as crossreferences, footnotes and indices are lost in this
61 translation process. Indeed, these items have no appropriate
62 representation in the manpage format. Moreover, not all information has
63 been translated into the manpage version. Thus I strongly advise you to
64 use the original texinfo doc. See the end of this manpage for
65 instructions how to view the texinfo doc.
66 .TP
67 * \ \
68 To generate a printable copy from the texinfo doc, run the following
69 commands:
70
71 .nf
72 .ft 3
73 .in +0.3i
74 ./configure; make dvi; dvips mtools.dvi
75 .fi
76 .in -0.3i
77 .ft R
78 .PP
79
80 \&\fR
81 .TP
82 * \ \
83 To generate a html copy, run:
84
85 .nf
86 .ft 3
87 .in +0.3i
88 ./configure; make html
89 .fi
90 .in -0.3i
91 .ft R
92 .PP
93
94 \&\fRA premade html can be found at
95 \&\fR\&\f(CW\(ifhttp://www.gnu.org/software/mtools/manual/mtools.html\(is\fR
96 .TP
97 * \ \
98 To generate an info copy (browsable using emacs' info mode), run:
99
100 .nf
101 .ft 3
102 .in +0.3i
103 ./configure; make info
104 .fi
105 .in -0.3i
106 .ft R
107 .PP
108
109 \&\fR
110 .PP
111 The texinfo doc looks most pretty when printed or as html. Indeed, in
112 the info version certain examples are difficult to read due to the
113 quoting conventions used in info.
114 .PP