Table of Contents
$ mkreiserfs -h mkreiserfs: option requires an argument — h Usage: mkreiserfs [options] device [block-count]
Options:
-b | --block-size N size of file-system block, in bytes -j | --journal-device FILE path to separate device to hold journal -s | --journal-size N size of the journal in blocks -o | --journal-offset N offset of the journal from the start of the separate device, in blocks -t | --transaction-max-size N maximal size of transaction, in blocks -B | --badblocks file store all bad blocks given in file on the fs -h | --hash rupasov|tea|r5 hash function to use by default -u | --uuid UUID store UUID in the superblock -l | --label LABEL store LABEL in the superblock --format 3.5|3.6 old 3.5 format or newer 3.6 -f | --force specified once, make mkreiserfs the whole disk, not block device or mounted partition; specified twice, do not ask for confirmation -q | --quiet quiet work without messages, progress and questions. Useful if run in a script. For use by end users only. -d | --debug print debugging information during mkreiser -V print version and exit
$ df | grep dlCache1 /dev/hdb12 74706268 32828 70878488 1% /lfs/dlCache1
% mkreiserfs -l dlCache1 /dev/hdb12
Guessing about desired format.. Kernel 2.4.25-1-386 is running. Format 3.6 with standard journal Count of blocks on the device: 18974752 Number of blocks consumed by mkreiserfs formatting process: 8791 Blocksize: 4096 Hash function used to sort names: "r5" Journal Size 8193 blocks (first block 18) Journal Max transaction length 1024 inode generation number: 0 UUID: 1ce0e8d9-ad89-436b-b35f-40f0a9265fa9 LABEL: dlCache1 ATTENTION: YOU SHOULD REBOOT AFTER FDISK! ALL DATA WILL BE LOST ON '/dev/hdb12'! Continue (y/n):y Initializing journal - 0%....20%....40%....60%....80%....100% Syncing..ok
ReiserFS is successfully created on /dev/hdb12.
mount /dev/hdb12 /lfs/dlCache1
$ mount | grep dlCache1 /dev/hdb12 on /lfs/dlCache1 type reiserfs (rw)
$ df | grep dlCache1 /dev/hdb12 75896684 32840 75863844 1% /lfs/dlCache1