aboutsummaryrefslogtreecommitdiff
path: root/util-linux
AgeCommit message (Collapse)Author
2006-09-22getopt: fix whitespace damageDenis Vlasenko
2006-09-22readprofile: getopt_ulflags'isationDenis Vlasenko
2006-09-22ipcs: fix my recent breakageDenis Vlasenko
2006-09-22Change license statements (and clean up headers) on some of the files thatRob Landley
Erik or I are primary copyright holders on.
2006-09-21mount: nfs mount should enable bb_error-to-syslog supportDenis Vlasenko
2006-09-21mount: make Rob happy by reinstating #definesDenis Vlasenko
2006-09-19ipcs: fix output (misaligned columns)Denis Vlasenko
2006-09-19ipcs: getopt_ulflag'ification, -170 bytesDenis Vlasenko
2006-09-19mount: fstabname needs to be const char*Denis Vlasenko
2006-09-19mount: fix warning (printf field width of * wants int, not size_t)Denis Vlasenko
2006-09-17whitespace cleanupDenis Vlasenko
2006-09-17mount: style fixletDenis Vlasenko
2006-09-17mount: revert mount --bind to using "bind" as fstype.Denis Vlasenko
2006-09-17mount: mount_it_now() - char *dir is not really needed.Denis Vlasenko
2006-09-17mount: fix "duplicate mount options in mtab" bugDenis Vlasenko
2006-09-17mount: nfs_strerror's static buffer was bigger than needed.Denis Vlasenko
2006-09-17mount: getopt_ulflag'ificationDenis Vlasenko
2006-09-17mount: style fixesDenis Vlasenko
2006-09-17mount: fix bugs: free(mp->mnt_fsname) of non-malloced ptr;Denis Vlasenko
check for "more than 2 arguments" was actually checking for -2.
2006-09-17mount: use bb_simplify_path as appropriateDenis Vlasenko
2006-09-17mount: style fixesDenis Vlasenko
2006-09-15mount: reorder things, fix NFS-less mount.Denis Vlasenko
2006-09-14umount: do not try to close FILE* which is NULL.Denis Vlasenko
2006-09-14mount: -o remount should not add lines to /etc/mtabDenis Vlasenko
2006-09-14mount: move code from nfsmount.c into mount.cDenis Vlasenko
2006-09-14mount: fix mtab support (but it is still rather buggy)Denis Vlasenko
2006-09-14More code from kernel developers, and therefore licensed under GPLv2 only.Rob Landley
Clarify the license boilerplate. On an unrelated note, this could use busyboxification. check_mount() looks reusable and ask() is generic...
2006-09-13- fix copy'n paste errors that got introduced when switching to the shorter ↵Bernhard Reutner-Fischer
boilerplate. No object code changes.
2006-09-12Remove pointless "const". Bloatcheck says 0 bytes difference.Rob Landley
2006-09-11nfsmount: sanitize it. It had a rather peculiar idea of implementing "bg"Denis Vlasenko
option - it was going to return a special flag back to caller and expecting caller to call it again with special parameter! Also caller was charged with calling mount() syscall... mount: mtab support was non-functional. Enabling it revealed serious bug which is not fixed yet.
2006-09-11- convert a few xopen3(,,0) into xopen(,). Also peruse the fact that xopen ↵Bernhard Reutner-Fischer
defaults to 0777 on it's own, so we don't need to xopen3(,,0777). Saves a few bytes: $ size busybox.old busybox text data bss dec hex filename 839676 8780 243592 1092048 10a9d0 busybox.old 839660 8780 243592 1092032 10a9c0 busybox $ make CC=gcc-4.2-HEAD bloatcheck function old new delta static.vconfig_main 281 279 -2 static.rx_main 1076 1074 -2 static.mt_main 294 292 -2 static.gzip_main 753 751 -2 static.mkfs_minix_main 4034 4030 -4 static.unzip_main 1771 1766 -5 static.crontab_main 1513 1507 -6 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/7 up/down: 0/-23) Total: -23 bytes
2006-09-10nfsmount: remove some really old code (for kernels 1.x!) + small cleanups.Denis Vlasenko
2006-09-10nfsmount: delete nfsmount.hDenis Vlasenko
2006-09-10nfsmount: nfsmount.h merged into nfsmount.cDenis Vlasenko
2006-09-10nfsmount: style fixDenis Vlasenko
2006-09-10ipcs: silly trick with strings. saves ~200 bytes.Denis Vlasenko
2006-09-08A quick cleanup pass of some low-hanging mess.Rob Landley
2006-09-06removed a lot of trailing \n in bb_msg() calls. It is addedDenis Vlasenko
automatically by function itself.
2006-09-05Vladimir Dronnikov (ybrnj80 at yandex dot ru) pointed out that my cleanup ofRob Landley
his code introduced a bug (an extra backslash in the CIFS mount string).
2006-09-04Thinko.Rob Landley
2006-09-01Vladimir Dronnikov also submitted a CIFS support patch to mount, which IRob Landley
heavily reworked here and probably broke. Tomorrow I need to set up a copy of samba to test against. (This compiles, I make no promises beyond that.)
2006-08-29Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damageRob Landley
(the e2fsprogs directory is too twisty and evil to easily fix, but I plan to rewrite it anyway so I'll just bump that up in priority a bit).
2006-08-28- pull from busybox_scratch: r15829:15850Bernhard Reutner-Fischer
Various fixes, cleanups and shrinkage: saves 952 Bytes: text data bss dec hex filename 1087742 15853 790632 1894227 1ce753 ../busybox/busybox.old 1086790 15853 790632 1893275 1ce39b busybox via: # scripts/bloat-o-meter ../busybox/busybox_unstripped.old busybox_unstripped function old new delta ipcrm_main 756 822 +66 getval - 61 +61 maybe_set_utc - 40 +40 udhcpc_main 2896 2912 +16 md5_hash_block 428 437 +9 opt 8 16 +8 qgravechar 106 110 +4 make_bitmap 292 295 +3 inflate_unzip 2056 2059 +3 add_partition 1412 1414 +2 __parsespent 156 158 +2 qrealloc 41 42 +1 format - 1 +1 catv_main 313 314 +1 watch_main 293 292 -1 varunset 81 80 -1 part 1 - -1 check_if_skip 837 836 -1 start_stop_daemon_main 840 837 -3 create_lost_and_found 175 172 -3 supress_non_delimited_lines 4 - -4 static.l 4 - -4 static.c 5 1 -4 bsd_sum_file 237 233 -4 eval2 338 332 -6 arithmetic_common 166 158 -8 cmpfunc 22 5 -17 cksum_main 294 275 -19 cmp_main 465 439 -26 dd_main 1535 1508 -27 rmmod_main 376 333 -43 cut_file 727 644 -83 ipcs_main 3809 3721 -88 cut_main 722 614 -108 date_main 1443 1263 -180 remove_ids 222 - -222 ------------------------------------------------------------------------------ (add/remove: 3/4 grow/shrink: 11/18 up/down: 217/-853) Total: -636 bytes
2006-08-17The kernel can't handle umount /dev/hdc, we have to do it through mtab,Rob Landley
except that we still have to work when there is no mtab. Oh, and while we're at it, take advantage of the fact that modern processors avoid branches via conditional assignment where possible. ("x = a ? b : c;" turns into "x = c; if (a) x = b;" because that way there's no branch to potentially mispredict and thus never a bubble in the pipeline. The if(a) turns into an assembly test followed by a conditional assignment (rather than a conditional jump).) So since the compiler is going to do that _anyway_, we might as well take advantage of it to produce a slightly smaller binary. So there.
2006-08-10Patch from Chris Steel to fix mdev deleting device nodes.Rob Landley
2006-08-09Vladimir Dronnikov convinced me to twiddle the semantics of the new sharedRob Landley
subtree stuff to look more like http://lwn.net/Articles/159077/ thinks they should.
2006-08-08Fix a typo (|| instead of |) and remove two comments about a problem fixedRob Landley
in the previous patch.
2006-08-08Add shared subtree support, suggested by Vladimir Dronnikov. Also break out aRob Landley
few new (unfinished) config options, which I intend to make hidden (but enabled) when CONFIG_NITPICK is disabled. Getting the .config infrastructure to do that is non-obvious, it seems...
2006-08-08Using lstat() instead of stat() means that attempting to loopback mountRob Landley
a symlink doesn't work.
2006-08-06Make a warning go away on 64-bit systems.Rob Landley