Skip to content

Commit 0486297

Browse files
committed
udftune: Add man-page
1 parent 0df15ad commit 0486297

File tree

1 file changed

+87
-0
lines changed

1 file changed

+87
-0
lines changed

doc/udftune.8

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
'\" t -*- coding: UTF-8 -*-
2+
.\" Copyright (C) 2017-2021 Pali Rohár <[email protected]>
3+
.\" Copyright (C) 2023 Johannes Truschnigg <[email protected]>
4+
.\"
5+
.\" This program is free software; you can redistribute it and/or modify
6+
.\" it under the terms of the GNU General Public License as published by
7+
.\" the Free Software Foundation; either version 2 of the License, or
8+
.\" (at your option) any later version.
9+
.\"
10+
.\" This program is distributed in the hope that it will be useful,
11+
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
.\" GNU General Public License for more details.
14+
.\"
15+
.\" You should have received a copy of the GNU General Public License along
16+
.\" with this program; if not, write to the Free Software Foundation, Inc.,
17+
.\" 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18+
.\"
19+
.TH UDFTUNE 8 "udftools" "Commands"
20+
21+
.SH NAME
22+
udftune \(em modify UDF filesystem characteristics
23+
24+
.SH SYNOPSIS
25+
.BI "udftune [block\-options] [filesystem\-options] " device
26+
27+
.SH DESCRIPTION
28+
\fBudftune\fP is a UDF-specific utility to modify various aspects of filesystem
29+
metadata, in the spirit of \fBtune2fs\fP(8) and similar tools for other
30+
filesystems. Its current implementation can mark an existing UDF device/image
31+
read-only, or to reverse that and mark it read-write.
32+
33+
.SH OPTIONS
34+
35+
.SS "GENERAL OPTIONS"
36+
.TP
37+
.B \-h,\-\-help
38+
Display the usage and the list of options.
39+
40+
.SS "BLOCK OPTIONS"
41+
.TP
42+
.BI \-b,\-\-blocksize= " block\-size "
43+
44+
.TP
45+
.BI \-\-startblock= " start\-block "
46+
47+
.TP
48+
.BI \-\-lastblock= " last\-block "
49+
50+
.TP
51+
.BI \-\-vatblock= " vat\-block "
52+
53+
.TP
54+
.B \-\-force
55+
56+
.TP
57+
.B \-n,\-\-no\-write
58+
59+
For a comprehensive overview of the block-related options listed above, please
60+
refer to \fBudflabel\fP(8).
61+
62+
.SS "FILESYSTEM OPTIONS"
63+
.TP
64+
.BI \-\-mark-ro
65+
Mark the UDF filesystem on \fIdevice\fP ro (read-only) in its FSD and LVD.
66+
67+
.TP
68+
.BI \-\-mark-rw
69+
Mark the UDF filesystem on \fIdevice\fP rw (read+write) in its FSD and LVD.
70+
71+
.SH "EXIT STATUS"
72+
\fBudftune\fP returns 0 if successful, non-zero if there are problems like
73+
if the block device does not contain a UDF filesystem, or updating failed.
74+
75+
.SH AUTHOR
76+
.nf
77+
Johannes Truschnigg <[email protected]>
78+
Pali Rohár <[email protected]>
79+
.fi
80+
81+
.SH AVAILABILITY
82+
\fBudftune\fP is part of the udftools package since after version 2.3 and is
83+
available from https://github.com/pali/udftools/.
84+
85+
.SH "SEE ALSO"
86+
\fBmkudffs\fP(8), \fBpktsetup\fP(8), \fBcdrwtool\fP(1), \fBudfinfo\fP(1),
87+
\fBwrudf\fP(1)

0 commit comments

Comments
 (0)