aboutsummaryrefslogtreecommitdiff
path: root/util-linux (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix umount so it works if there's no /etc/mtab or /proc/mounts, makelandley2006-02-082-27/+35
| | | | | | | | umount -a into a CONFIG_FEATURE (why not?), and zap the now obsolete defconfig file (which was supposed to be part of the previous checkin). git-svn-id: svn://busybox.net/trunk/busybox@13880 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add back in path nulling after calling find_dev() since it is needed for now ...vapier2006-02-071-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13870 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cleanup style ... just because you use less spaces doesnt mean the resulting ↵vapier2006-02-031-50/+63
| | | | | | code is smaller git-svn-id: svn://busybox.net/trunk/busybox@13802 69ca8d6d-28ef-0310-b511-8ec308f3f277
* shrink the code a bitvapier2006-02-031-8/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13801 69ca8d6d-28ef-0310-b511-8ec308f3f277
* gavinl writes in Bug 661:vapier2006-02-031-1/+1
| | | | | | | if read() file return less than 1, we should close the fd and then goto end. git-svn-id: svn://busybox.net/trunk/busybox@13800 69ca8d6d-28ef-0310-b511-8ec308f3f277
* alphabetical order and fix mdev comments about echo>/sys vs echo>/proc/sysvapier2006-02-021-34/+34
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13799 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make the build system puuuuuuuuuuurtyvapier2006-02-021-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13793 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remode warning: const static mixvodz2006-02-011-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13785 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - bzero -> memsetaldot2006-01-311-2/+2
| | | | | | | | | | | | | | | | | | text data bss dec hex filename 1652855 14444 1215616 2882915 2bfd63 busybox.oorig.gcc-3.3 1652823 14444 1215616 2882883 2bfd43 busybox.gcc-3.3 1603655 14412 1215552 2833619 2b3cd3 busybox.oorig.gcc-3.4 1603655 14412 1215552 2833619 2b3cd3 busybox.gcc-3.4 1609755 14508 1215744 2840007 2b55c7 busybox.oorig.gcc-4.0 1609755 14508 1215744 2840007 2b55c7 busybox.gcc-4.0 1590495 13516 1215392 2819403 2b054b busybox.oorig.gcc-4.1-HEAD 1590495 13516 1215392 2819403 2b054b busybox.gcc-4.1-HEAD 1589079 13036 1213248 2815363 2af583 busybox.oorig.gcc-4.2-HEAD 1589079 13036 1213248 2815363 2af583 busybox.gcc-4.2-HEAD git-svn-id: svn://busybox.net/trunk/busybox@13762 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add and use ATTRIBUTE_ALIGNED(num_bytes)aldot2006-01-311-6/+5
| | | | | | | - remove unused parameter pindex from fdisk.c, xbsd_initlabel() git-svn-id: svn://busybox.net/trunk/busybox@13751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hopefully the last of the annoying signed/unsigned and mixed type errorsandersen2006-01-302-13/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13733 69ca8d6d-28ef-0310-b511-8ec308f3f277
* just whitespacetimr2006-01-2515-388/+388
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13584 69ca8d6d-28ef-0310-b511-8ec308f3f277
* There was a missing ! on strcmp (despite the fact it worked in my testing,landley2006-01-221-12/+2
| | | | | | | | I have no idea _how_), and a simpler fix for the extra \n problem. I tested this and it worked for me, for what that's worth... git-svn-id: svn://busybox.net/trunk/busybox@13495 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add platform.h.aldot2006-01-222-7/+4
| | | | | | | - use shorter boilerplate while at it. git-svn-id: svn://busybox.net/trunk/busybox@13494 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - shared libbusybox.aldot2006-01-151-0/+6
| | | | | | | | - IMA compilation option (aka IPO, IPA,..) Please holler if i broke something.. git-svn-id: svn://busybox.net/trunk/busybox@13346 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - revert last change for now..aldot2006-01-131-15/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13270 69ca8d6d-28ef-0310-b511-8ec308f3f277
* this applet needlessly big! TODO: bb_getopt_ulflags()aldot2006-01-131-1/+1
| | | | | | | - use atol for the offset, which is always in bytes. Small step in eventually dropping bb_xparse_number(). git-svn-id: svn://busybox.net/trunk/busybox@13269 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Frank Sorenson added hotplug support to mdev. (I tweaked it a bit. Needlandley2006-01-121-14/+29
| | | | | | | | to come up with a test suite for all the stuff that requires root access. Something involving User Mode Linux or QEMU, probably...) git-svn-id: svn://busybox.net/trunk/busybox@13254 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The major:minor read from dev ends with \n, need to trim that.landley2006-01-121-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13253 69ca8d6d-28ef-0310-b511-8ec308f3f277
* With -a, the jump to mount_it_now can skip the initialization of f, andlandley2006-01-101-2/+5
| | | | | | | | | | | | if we don't zero it after closing it we re-close a filehandle that isn't open, and since this is a file _pointer_ it segfaults on a double free. Yeah, subtle bug. I need to break this out into separate functions if I can figure out how to avoid making the code larger while doing so. Part of the general -a and -o remount work I need to do, but that's after 1.1.0... git-svn-id: svn://busybox.net/trunk/busybox@13216 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Both atime and diratime should switch _off_ the corresponding no* flag.landley2006-01-101-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13215 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use MAP_PRIVATE instead of MAP_SHARED for uClinux systems (see Bug 550)vapier2006-01-041-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13077 69ca8d6d-28ef-0310-b511-8ec308f3f277
* When you went "losetup -d /dev/loop0 /dev/loop1" the error message was strange.landley2005-12-211-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12971 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix chroot, leave console alone if -c not specified, and yank debug code.landley2005-12-201-11/+16
| | | | | | | (I still haven't set up a test environment to confirm this works...) git-svn-id: svn://busybox.net/trunk/busybox@12960 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some minor cleanups/bugfixes split off from the big remount work:landley2005-12-202-27/+14
| | | | | | | | | | Shorten GPL boilerplate. Enabling FEATURE_CLEAN_UP broke things in two places. Move the NFS with uClibc check to nfsmount.c git-svn-id: svn://busybox.net/trunk/busybox@12959 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Sigh. Left the debug path in. Fixed.landley2005-12-171-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12946 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added /etc/mdev.conf support. Adds about 1.9k to mdev.landley2005-12-172-16/+123
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12945 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove duplicate entry for switch_rootaldot2005-12-151-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12896 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Nothing to see here. Move along.landley2005-12-133-0/+153
| | | | | | | | | | | | Not buying it, eh? I know I said new features before 1.1, but, well... (I was weak!) The config file and hotplug modes aren't implemented yet. Might take a stab at those tomorrow. (I _should_ go back to focusing on the bug triage list.) git-svn-id: svn://busybox.net/trunk/busybox@12856 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - typo: s/sucess/success/galdot2005-12-121-1/+1
| | | | | | | What's up with loginutils/su.c line 42: "SYSLOG_SUCESS" ? Please have a look.. git-svn-id: svn://busybox.net/trunk/busybox@12847 69ca8d6d-28ef-0310-b511-8ec308f3f277
* reduce signedness warningvodz2005-12-021-7/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12640 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix losetup so that it A) actually works again, B) has much better errorlandley2005-11-291-8/+16
| | | | | | | | | | | messages, C) can show the current association (if any) when called with only one argument. Update the documentation a lot too. Remind me to add a test suite for this thing. I think I've figured out how to handle root-only testsuites... git-svn-id: svn://busybox.net/trunk/busybox@12582 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add "-C" format to hexdumppgf2005-11-281-1/+5
| | | | | | | | | | | | | fixes bug #113 and satisfies a personal need at the same time. output compares identically to util-linux version. (with exception of whitespace differences on last lines of output with non-uniform length, which are neither fixed nor worsened by this change.) git-svn-id: svn://busybox.net/trunk/busybox@12560 69ca8d6d-28ef-0310-b511-8ec308f3f277
* reduce bssvodz2005-11-241-1/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12509 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bb_opt_complementally for rdate applet. Add losed record to ↵vodz2005-10-282-4/+4
| | | | | | util-linux/Makefile.in for switch_root applet git-svn-id: svn://busybox.net/trunk/busybox@11960 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rob Sullivan sent in some cleanups, which I beat on slightly.landley2005-10-281-48/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11946 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add a switch_root utility (like kconfig's utils/run_init.c, although notlandley2005-10-272-0/+140
| | | | | | | | actuall using any of that code). This is needed because pivot_root doesn't work right under initramfs. (See the menuconfig help.) git-svn-id: svn://busybox.net/trunk/busybox@11935 69ca8d6d-28ef-0310-b511-8ec308f3f277
* another more constvodz2005-10-202-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11897 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more const, attribute_noreturn saved 200 bytesvodz2005-10-191-8/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11886 69ca8d6d-28ef-0310-b511-8ec308f3f277
* data --> bssvodz2005-10-151-11/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11870 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - new bb_opt_complementally syntax, use [-:?] only - 'free' charsvodz2005-10-141-1/+1
| | | | | | | - new bb_getopt_ulflags features: check max and min args, convert first argv to options special for ar and tar applets - use bb_default_error_retval for env applet git-svn-id: svn://busybox.net/trunk/busybox@11859 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - initialize the correct variablesaldot2005-10-131-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11855 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use complementally '!' to '?' - 'ask' is best 'free' char for this.vodz2005-10-111-1/+1
| | | | | | | - more long opt compatibility, can set flag for long opt struct now - more logic: check opt-depend requires and global requires, special for 'id' and 'start-stop-daemon' applets. git-svn-id: svn://busybox.net/trunk/busybox@11828 69ca8d6d-28ef-0310-b511-8ec308f3f277
* better check usage with options, correct show problem error message, indentvodz2005-10-101-18/+19
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11823 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rename CONFIG_NFSMOUNT to CONFIG_FEATURE_MOUNT_NFS so allbaseconfig canlandley2005-10-083-4/+4
| | | | | | | find it (and tweak defconfig to catch up). git-svn-id: svn://busybox.net/trunk/busybox@11812 69ca8d6d-28ef-0310-b511-8ec308f3f277
* allow people to adjtime locationvapier2005-09-282-2/+18
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11677 69ca8d6d-28ef-0310-b511-8ec308f3f277
* whitespace sucksvapier2005-09-251-23/+23
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11645 69ca8d6d-28ef-0310-b511-8ec308f3f277
* re-order a little for alphabeticalvapier2005-09-241-14/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11631 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tito switched option parsing over to switch umount over to bb_getopt_ulflags().landley2005-09-241-27/+31
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11630 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use the shorter license headervapier2005-09-241-14/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11624 69ca8d6d-28ef-0310-b511-8ec308f3f277