1MKREISERFS(8) System Manager's Manual MKREISERFS(8)
2
3
4
6 mkreiserfs - The create tool for the Linux ReiserFS filesystem.
7
9 mkreiserfs [ -dfV ] [ -b | --block-size N ] [ -h | --hash HASH ] [ -u |
10 --uuid UUID ] [ -l | --label LABEL ] [ --format FORMAT ] [ -q | --quiet
11 ] [ -j | --journal-device FILE ] [ -s | --journal-size N ] [ -o |
12 --journal-offset N ] [ -t | --transaction-max-size N ] [ -B | --bad‐
13 blocks file ] device [ filesystem-size ]
14
16 mkreiserfs creates a Linux ReiserFS filesystem on a device (usually a
17 disk partition).
18
19 device is the special file corresponding to a device or to a partition
20 (e.g /dev/hdXX for an IDE disk partition or /dev/sdXX for a SCSI
21 disk partition).
22
23 filesystem-size
24 is the size in blocks of the filesystem. If omitted, mkreiserfs
25 will automatically set it.
26
28 -b | --block-size N
29 N is block size in bytes. It may only be set to a power of 2
30 within the 512-8192 interval.
31
32 -h | --hash HASH
33 HASH specifies which hash function will sort the names in the
34 directories. Choose from r5, rupasov, or tea. r5 is the default
35 one.
36
37 --format FORMAT
38 FORMAT specifies the format for the new filsystem. Choose format
39 3.5 or 3.6. If none is specified mkreiserfs will create format
40 3.6 if running kernel is 2.4 or higher, and format 3.5 if kernel
41 2.2 is running, and will refuse creation under all other ker‐
42 nels.
43
44 -u | --uuid UUID
45 Sets the Universally Unique IDentifier of the filesystem
46 to UUID (see also uuidgen(8)). The format of the UUID
47 is a series of hex digits separated by hypthens, e.g.:
48 "c1b9d5a2-f162-11cf-9ece-0020afc76f16". If the option is
49 skipped, mkreiserfs will by default generate a new UUID.
50
51 -l | --label LABEL
52 Sets the volume label of the filesystem. LABEL can at most
53 be 16 characters long; if it is longer than 16 characters,
54 mkreiserfs will truncate it.
55
56 -q | --quiet
57 Sets mkreiserfs to work quietly without producing messages,
58 progress or questions. It is useful, but only for use by end
59 users, if you run mkreiserfs in a script.
60
61 -j | --journal-device FILE
62 FILE is the name of the block device on which is to be places
63 the filesystem journal.
64
65 -o | --journal-offset N
66 N is the offset where the journal starts when it is to be on a
67 separate device. Default is 0. N has no effect when the journal
68 is to be on the host device.
69
70 -s | --journal-size N
71 N is the size of the journal in blocks. When the journal is to
72 be on a separate device, its size defaults to the number of
73 blocks that the device has. When journal is to be on the host
74 device, its size defaults to 8193 and the maximal possible size
75 is 32749 (for blocksize 4k). The minimum size is 513 blocks
76 (whether the journal is on the host or on a separate device).
77
78 -t | --transaction-max-size N
79 N is the maximum transaction size parameter for the journal. The
80 default, and max possible, value is 1024 blocks. It should be
81 less than half the size of the journal. If specified incor‐
82 rectly, it will automatically be adjusted.
83
84 -B | --badblocks file
85 File is the file name of the file that contains the list of
86 blocks to be marked as bad on the filesystem. This list can be
87 created by /sbin/badblocks -b block-size device.
88
89 -f Forces mkreiserfs to continue even when the device is the whole
90 disk, looks mounted, or is not a block device. If -f is speci‐
91 fied more than once, it allows the user to avoid asking for con‐
92 firmation.
93
94 -d Sets mkreiserfs to print debugging information during mkreis‐
95 erfs.
96
97 -V Prints the version and then exits.
98
99
101 This version of mkreiserfs has been written by Edward Shishkin
102 <edward@namesys.com>.
103
105 Please report bugs to the ReiserFS developers <reiserfs-
106 dev@namesys.com>, providing as much information as possible--your hard‐
107 ware, kernel, patches, settings, all printed messages; check the syslog
108 file for any related information.
109
111 reiserfsck(8), debugreiserfs(8), reiserfstune(8)
112
113
114
115Reiserfsprogs-3.6.21 January 2009 MKREISERFS(8)