aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mkfs_ext2.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* mount: fix the wrongly stored fs creation timeDenys Vlasenko2012-06-211-7/+4
| | | | | | This bug made our ext2 images non-mountable by ext4 driver. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Drop include/bb_linux_ext2_fs.h, use existing e2fsprogs/e2fs_defs.hDenys Vlasenko2012-04-171-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Create and use our own copy of linux/ext2_fs.hDenys Vlasenko2012-04-131-7/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* work around linux/ext2_fs.h breakageDenys Vlasenko2012-04-121-0/+6
| | | | | | See https://bugzilla.kernel.org/show_bug.cgi?id=42986 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mke2fs: do not zero out first kilobyte. Closes 3247Denys Vlasenko2012-01-111-1/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move remaining help text from include/usage.src.hPere Orga2011-04-111-0/+39
| | | | | Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: whitespace fixesDenys Vlasenko2010-10-281-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: add xfstat functionDenys Vlasenko2010-08-311-1/+1
| | | | | | | | | | | | | | | | function old new delta xfstat - 25 +25 mkfs_ext2_main 2421 2423 +2 mkfs_reiser_main 1197 1194 -3 next 312 307 -5 ar_main 533 522 -11 mkfs_minix_main 2938 2924 -14 mkfs_vfat_main 1511 1495 -16 writeTarFile 272 255 -17 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/6 up/down: 27/-66) Total: -39 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-161-1/+1
| | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: improve comments a bitDenys Vlasenko2010-06-181-3/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: reuse stringBernhard Reutner-Fischer2010-06-181-1/+1
| | | | | | | | | | function old new delta mkfs_ext2_main 2376 2378 +2 .rodata 135872 135848 -24 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 2/-24) Total: -22 bytes Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* mkfs_ext2: fix handling of -I argumentBernhard Reutner-Fischer2010-06-181-1/+1
| | | | | | -I <unsigned int> but was treated as a character Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* tune2fs: move to e2fsprogsDenys Vlasenko2010-05-091-4/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: fix bad comment. no code changesDenys Vlasenko2010-02-021-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkXXXX: unify [KBYTES] parameter handling (added it to mkswap)Denys Vlasenko2010-02-011-13/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* whitespace fixesDenys Vlasenko2010-01-251-7/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: fix compile errorDenys Vlasenko2009-10-241-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: code shrinkDenys Vlasenko2009-10-221-8/+9
| | | | | | | function old new delta mkfs_ext2_main 2505 2492 -13 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: fix a bug where we don't fully respect -n on filesDenys Vlasenko2009-10-221-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: use compatible inode sizes; add -I <inodesize>. (by Vladimir)Denys Vlasenko2009-10-221-19/+32
| | | | | | | | | | function old new delta mkfs_ext2_main 2385 2495 +110 packed_usage 26400 26447 +47 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 157/0) Total: 157 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: 1.41.9 compatDenys Vlasenko2009-10-221-17/+11
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: make sure we extend the image to requested sizeDenys Vlasenko2009-10-211-1/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: e2fsck 1.14.4 compatDenys Vlasenko2009-10-211-5/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: explain 256-byte inodes. no code changesDenys Vlasenko2009-10-211-19/+39
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: explain why 0.5G+ images are a bit differentDenys Vlasenko2009-10-211-4/+11
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: another update by VladimirDenys Vlasenko2009-10-201-52/+95
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* clarify in commentDenys Vlasenko2009-10-201-3/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: further work on small imagesDenys Vlasenko2009-10-201-14/+17
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: fixes for small image generation. images up to ~8M are ok nowDenys Vlasenko2009-10-201-3/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: fix 60k image creationDenys Vlasenko2009-10-201-3/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: further work by VladimirDenys Vlasenko2009-10-201-39/+39
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: small tweakDenys Vlasenko2009-10-201-2/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: compat fixesDenys Vlasenko2009-10-201-190/+197
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: more work. added test scriptDenys Vlasenko2009-10-181-75/+99
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: fixes for huge filesystemsDenys Vlasenko2009-10-181-23/+43
| | | | | | | | | function old new delta mkfs_ext2_main 2145 2617 +472 div_roundup 15 35 +20 packed_usage 26792 26776 -16 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: make it able to create images larger than 4GDenys Vlasenko2009-10-181-55/+95
| | | | | | | | | | | | function old new delta mkfs_ext2_main 1904 2145 +241 has_super 29 23 -6 PUT 52 40 -12 packed_usage 26807 26792 -15 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/3 up/down: 241/-33) Total: 208 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: shrinkDenys Vlasenko2009-10-181-2/+0
| | | | | | | function old new delta mkfs_ext2_main 1924 1904 -20 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: code shrinkDenys Vlasenko2009-10-171-3/+1
| | | | | | | function old new delta mkfs_ext2_main 1933 1924 -9 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: code shrinkDenys Vlasenko2009-10-171-3/+3
| | | | | | | | function old new delta div_roundup - 15 +15 mkfs_ext2_main 1980 1933 -47 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: fix a buglet introduced in last commitDenys Vlasenko2009-10-171-4/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: shrinkDenys Vlasenko2009-10-171-8/+11
| | | | | | | | function old new delta has_super 28 25 -3 mkfs_ext2_main 2011 1980 -31 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: new applet by VladimirVladimir Dronnikov2009-10-171-0/+479
function old new delta mkfs_ext2_main - 2011 +2011 static.supers - 184 +184 allocate - 118 +118 packed_usage 26692 26791 +99 PUT - 52 +52 has_super - 28 +28 applet_names 2143 2160 +17 applet_main 1264 1272 +8 applet_nameofs 632 636 +4 applet_install_loc 158 159 +1 ------------------------------------------------------------------------------ (add/remove: 5/0 grow/shrink: 5/0 up/down: 2522/0) Total: 2522 bytes Signed-off-by: Vladimir Dronnikov <dronnikov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>