1MKUDFFS(8) System Manager's Manual MKUDFFS(8)
2
3
4
6 mkudffs - create an UDF filesystem
7
8
10 mkudffs [ switches ] device [ blocks-count ]
11
12
14 mkudffs is used to create a UDF filesystem on a device (usually a
15 disk). device is the special file corresponding to the device (e.g
16 /dev/hdX). blocks-count is the number of blocks on the device. If
17 omitted, mkudffs automagically figures the file system size. The order
18 of options matters. Ident string options must be first and options to
19 override default settings implied by the media-type or UDF revison
20 should be after the option they are overriding.
21
22
24 -h,--help
25 Display the usage and list of options.
26
27
28 -l,--label= label
29 Specify the UDF label. UDF label is synonym for specifying both
30 --lvid and --vid options. If omitted, mkudffs label is LinuxUDF.
31
32
33 -u,--uuid= uuid
34 Specify the UDF uuid. Must be exactly 16 characters and is used
35 for first 16 characters of --fullvsid option. If omitted,
36 mkudffs uuid is generated from local time and random number.
37
38
39 -b,--blocksize= block-size
40 Specify the size of blocks in bytes. Valid block size vales are
41 512, 1024, 2048 and 4096 bytes per block. If omitted, mkudffs
42 block-size is set to device logical block (sector) size. If it
43 is unknown then block-size 2048 is used.
44
45
46 -r,--udfrev= udf-revision
47 Specify the udf revision to use. Valid revisions are 0x0201,
48 0x0200, 0x0150, and 0x0102. If omitted, mkudffs udf-revision is
49 0x0201. The hex values represent the ISO/IEC 13346 standard ver‐
50 sion numbers: e.g. the 0x0201 refers to 2.01 (March 15, 2000)
51 which is mainly a bugfix release to UDF 2.00.
52
53
54 --lvid= logical-volume-ident
55 Specify the logical volume identifier. If omitted, mkudffs logi‐
56 cal-volume-ident is LinuxUDF.
57
58
59 --vid= volume-ident
60 Specify the volume identifier. If omitted, mkudffs volume-ident
61 is LinuxUDF.
62
63
64 --vsid= volume-set-ident
65 Specify the 17.-127. character of volume set identifier. If
66 omitted, mkudffs volume-set-ident is LinuxUDF.
67
68
69 --fsid= file-set-ident
70 Specify the file set identifier. If omitted, mkudffs file-set-
71 ident is LinuxUDF.
72
73
74 --fullvsid= full-volume-set-ident
75 Specify the volume set identifier. Overwrite previous --uuid and
76 --vsid options.
77
78
79 --uid= uid
80 Specify the uid of the root (/) directory. If omitted, mkudffs
81 uid is 0.
82
83
84 --gid= gid
85 Specify the gid of the root (/) directory. If omitted, mkudffs
86 gid is 0.
87
88
89 --strategy= strategy
90 Specify the allocation strategy to use. Valid strategies are 4
91 and 4096. If omitted, mkudffs strategy is based on the media-
92 type.
93
94
95 --spartable= spartable-number
96 Specify the number of sparing tables to write to disc. Valid
97 numbers are 1 - 4. This option implies --media-type=cdrw.
98
99
100 --media-type= media-type
101 Specify the media type. Valid media types are:
102
103 hd (default) hard drive
104
105 dvd DVD (Digital Versatile Disc)
106
107 dvdram DVD-RAM (Digital Versatile Disc-Random
108 Access Memory)
109
110 dvdrw DVD-RW (DVD Read-Write)
111
112 worm WORM (Write Once Ready Many)
113
114 mo MO (Magneto Optical)
115
116 cdrw CD-RW (CD Read-Write)
117
118 cdr CD-R (CD Recordable)
119
120
121 --space= space
122
123 freedbitmap Freed bitmap
124
125 freedtable Freed table
126
127 unallocbitmap Unallocated bitmap
128
129 unalloctable Unallocated table
130
131
132 --ad= ad
133
134 inicb Allocation Descriptors in ICB
135
136 short Short Allocation Descriptors
137
138 long Long Allocation Descriptors
139
140
141 --noefe
142 Don't Use Extended File Entries
143
144
145 --u8 Ident string options are encoded in 8-bit OSTA Compressed Uni‐
146 code equivalent. Must be specified as first argument.
147
148
149 --u16 Ident string options are encoded in 16-bit OSTA Compressed Uni‐
150 code equivalent. Must be specified as first argument.
151
152
153 --utf8 Ident string options are encoded in UTF-8 (default). Must be
154 specified as first argument.
155
156
157 --closed
158 Make cdr media type closed (AVDP is written to start and also
159 end of disk). By default cdr media type is unclosed (AVDP is
160 written only to start of disk).
161
162
163 --packetlen= length
164 Packet length in number of sectors for cdrw (default: 32 sec‐
165 tors) and dvdrw (default: 16 sectors) media types.
166
167
169 mkudffs returns 0 if successful, non-zero if there are problems.
170
171
173 Ben Fennema <bfennema@falcon.csc.calpoly.edu>
174 Pali Rohár <pali.rohar@gmail.com>
175
176
178 mkudffs is part of the udftools package and is available from
179 https://github.com/pali/udftools/.
180
181
182
183System Management Commands udftools MKUDFFS(8)