summaryrefslogtreecommitdiff
path: root/util-linux/mkfs_ext2.c
AgeCommit message (Collapse)Author
2017-07-18Update menuconfig items with approximate applet sizesDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2017-01-29*: add comment about APPLET_ODDNAME formatDenys Vlasenko
It confused me more than once Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2016-11-16Make mke2fs and mkfs.ext2 individually selectableDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2016-07-06getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LISTDenys Vlasenko
In many cases, this aqllows to drop use of opt_complementary. Approximately -400 bytes: function old new delta getopt32 1423 1502 +79 opt_string 17 18 +1 OPT_STR 24 25 +1 uniq_main 416 406 -10 timeout_main 279 269 -10 sulogin_main 270 260 -10 readprofile_main 1825 1815 -10 ps_main 543 533 -10 pidof_main 245 235 -10 pgrep_main 611 601 -10 od_main 2600 2590 -10 mkfs_minix_main 2684 2674 -10 mkfs_ext2_main 2603 2593 -10 microcom_main 712 702 -10 makemime_main 315 305 -10 ionice_main 282 272 -10 inetd_main 2074 2064 -10 ifplugd_main 1144 1134 -10 halt_main 353 343 -10 getopt_main 636 626 -10 fdisk_main 2854 2844 -10 env_main 206 196 -10 dmesg_main 319 309 -10 conspy_main 1214 1204 -10 awk_main 981 971 -10 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/22 up/down: 81/-220) Total: -139 bytes text data bss dec hex filename 919373 906 14060 934339 e41c3 busybox_old 918969 906 14060 933935 e402f busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2016-03-30Replace a few more bb_info_msg's by bb_error_msg or printfDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2016-03-30Use bb_error_msg instead of bb_info_msg in all commented-out debug printoutsDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2012-06-21mount: fix the wrongly stored fs creation timeDenys Vlasenko
This bug made our ext2 images non-mountable by ext4 driver. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2012-04-17Drop include/bb_linux_ext2_fs.h, use existing e2fsprogs/e2fs_defs.hDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2012-04-13Create and use our own copy of linux/ext2_fs.hDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2012-04-12work around linux/ext2_fs.h breakageDenys Vlasenko
See https://bugzilla.kernel.org/show_bug.cgi?id=42986 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2012-01-11mke2fs: do not zero out first kilobyte. Closes 3247Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2011-04-11move remaining help text from include/usage.src.hPere Orga
Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-10-28*: whitespace fixesDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-08-31libbb: add xfstat functionDenys Vlasenko
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>
2010-08-16*: make GNU licensing statement forms more regularDenys Vlasenko
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>
2010-06-18mkfs_ext2: improve comments a bitDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-06-18mkfs_ext2: reuse stringBernhard Reutner-Fischer
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>
2010-06-18mkfs_ext2: fix handling of -I argumentBernhard Reutner-Fischer
-I <unsigned int> but was treated as a character Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-05-09tune2fs: move to e2fsprogsDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-02-02mkfs_ext2: fix bad comment. no code changesDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-02-01mkXXXX: unify [KBYTES] parameter handling (added it to mkswap)Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-01-25whitespace fixesDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-24mkfs_ext2: fix compile errorDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-22mkfs_ext2: code shrinkDenys Vlasenko
function old new delta mkfs_ext2_main 2505 2492 -13 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-22mkfs_ext2: fix a bug where we don't fully respect -n on filesDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-22mkfs_ext2: use compatible inode sizes; add -I <inodesize>. (by Vladimir)Denys Vlasenko
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>
2009-10-22mkfs_ext2: 1.41.9 compatDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-21mkfs_ext2: make sure we extend the image to requested sizeDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-21mkfs_ext2: e2fsck 1.14.4 compatDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-21mkfs_ext2: explain 256-byte inodes. no code changesDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-21mkfs_ext2: explain why 0.5G+ images are a bit differentDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-20mkfs_ext2: another update by VladimirDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-20clarify in commentDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-20mkfs_ext2: further work on small imagesDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-20mkfs_ext2: fixes for small image generation. images up to ~8M are ok nowDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-20mkfs_ext2: fix 60k image creationDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-20mkfs_ext2: further work by VladimirDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-20mkfs_ext2: small tweakDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-20mkfs_ext2: compat fixesDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-18mkfs_ext2: more work. added test scriptDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-18mkfs_ext2: fixes for huge filesystemsDenys Vlasenko
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>
2009-10-18mkfs_ext2: make it able to create images larger than 4GDenys Vlasenko
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>
2009-10-18mkfs_ext2: shrinkDenys Vlasenko
function old new delta mkfs_ext2_main 1924 1904 -20 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-17mkfs_ext2: code shrinkDenys Vlasenko
function old new delta mkfs_ext2_main 1933 1924 -9 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-17mkfs_ext2: code shrinkDenys Vlasenko
function old new delta div_roundup - 15 +15 mkfs_ext2_main 1980 1933 -47 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-17mkfs_ext2: fix a buglet introduced in last commitDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-17mkfs_ext2: shrinkDenys Vlasenko
function old new delta has_super 28 25 -3 mkfs_ext2_main 2011 1980 -31 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-17mkfs_ext2: new applet by VladimirVladimir Dronnikov
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>