root@bt:~# mke2fs /dev/sda2
mke2fs 1.41.3 (12-Oct-2008)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
10040 inodes, 40160 blocks
2008 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=41156608
5 block groups
8192 blocks per group, 8192 fragments per group
2008 inodes per group
Superblock backups stored on blocks:
8193, 24577
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 23 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
root@bt:~# mkreiserfs /dev/sda4
mkreiserfs 3.6.19 (2003 )
A pair of credits:
BigStorage () contributes to our general fund every month,
and has done so for quite a long time.
The Defense Advanced Research Projects Agency (DARPA,l) is the
primary sponsor of Reiser4. DARPA does not endorse this project; it merely
sponsors it.
Guessing about desired format.. Kernel 2.6.28.1 is running.
Format 3.6 with standard journal
Count of blocks on the device: 5974160
Number of blocks consumed by mkreiserfs formatting process: 8394
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: 54c50b45-e31d-4a92-b19c-b5973edf94a4
ATTENTION: YOU SHOULD REBOOT AFTER FDISK!
ALL DATA WILL BE LOST ON '/dev/sda4'!
Continue (y/n):y
Initializing journal - 0%....20%....40%....60%....80%....100%
Syncing..ok
Tell your friends to use a kernel based on 2.4.18 or later, and especially not a
kernel based on 2.4.9, when you use reiserFS. Have fun.
ReiserFS is successfully created on /dev/sda4.
root@bt:~# mkswap /dev/sda3
Setting up swapspace version 1, size = 2104508 KiB
no label, UUID=d18f89d5-6823-4ed8-b3e0-cf955c832799
root@bt:~# swapon /dev/sda4
swapon: /dev/sda4: Invalid argument