summaryrefslogtreecommitdiff
path: root/util-linux (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* just whitespaceTim Riker2006-01-2515-388/+388
|
* There was a missing ! on strcmp (despite the fact it worked in my testing,Rob 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...
* - add platform.h.Bernhard Reutner-Fischer2006-01-222-7/+4
| | | | - use shorter boilerplate while at it.
* - shared libbusybox.Bernhard Reutner-Fischer2006-01-151-0/+6
| | | | | - IMA compilation option (aka IPO, IPA,..) Please holler if i broke something..
* - revert last change for now..Bernhard Reutner-Fischer2006-01-131-15/+2
|
* this applet needlessly big! TODO: bb_getopt_ulflags()Bernhard Reutner-Fischer2006-01-131-1/+1
| | | | - use atol for the offset, which is always in bytes. Small step in eventually dropping bb_xparse_number().
* Frank Sorenson added hotplug support to mdev. (I tweaked it a bit. NeedRob Landley2006-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...)
* The major:minor read from dev ends with \n, need to trim that.Rob Landley2006-01-121-1/+1
|
* With -a, the jump to mount_it_now can skip the initialization of f, andRob Landley2006-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...
* Both atime and diratime should switch _off_ the corresponding no* flag.Rob Landley2006-01-101-2/+2
|
* use MAP_PRIVATE instead of MAP_SHARED for uClinux systems (see Bug 550)Mike Frysinger2006-01-041-1/+1
|
* When you went "losetup -d /dev/loop0 /dev/loop1" the error message was strange.Rob Landley2005-12-211-1/+2
|
* Fix chroot, leave console alone if -c not specified, and yank debug code.Rob Landley2005-12-201-11/+16
| | | | (I still haven't set up a test environment to confirm this works...)
* Some minor cleanups/bugfixes split off from the big remount work:Rob 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
* Sigh. Left the debug path in. Fixed.Rob Landley2005-12-171-1/+1
|
* Added /etc/mdev.conf support. Adds about 1.9k to mdev.Rob Landley2005-12-172-16/+123
|
* - remove duplicate entry for switch_rootBernhard Reutner-Fischer2005-12-151-2/+1
|
* Nothing to see here. Move along.Rob 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.)
* - typo: s/sucess/success/gBernhard Reutner-Fischer2005-12-121-1/+1
| | | | What's up with loginutils/su.c line 42: "SYSLOG_SUCESS" ? Please have a look..
* reduce signedness warning"Vladimir N. Oleynik"2005-12-021-7/+9
|
* Fix losetup so that it A) actually works again, B) has much better errorRob Landley2005-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...
* add "-C" format to hexdumpPaul Fox2005-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.)
* reduce bss"Vladimir N. Oleynik"2005-11-241-1/+5
|
* bb_opt_complementally for rdate applet. Add losed record to ↵"Vladimir N. Oleynik"2005-10-282-4/+4
| | | | util-linux/Makefile.in for switch_root applet
* Rob Sullivan sent in some cleanups, which I beat on slightly.Rob Landley2005-10-281-48/+15
|
* Add a switch_root utility (like kconfig's utils/run_init.c, although notRob Landley2005-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.)
* another more const"Vladimir N. Oleynik"2005-10-202-4/+4
|
* more const, attribute_noreturn saved 200 bytes"Vladimir N. Oleynik"2005-10-191-8/+8
|
* data --> bss"Vladimir N. Oleynik"2005-10-151-11/+11
|
* - new bb_opt_complementally syntax, use [-:?] only - 'free' chars"Vladimir N. Oleynik"2005-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
* - initialize the correct variablesBernhard Reutner-Fischer2005-10-131-1/+1
|
* - use complementally '!' to '?' - 'ask' is best 'free' char for this."Vladimir N. Oleynik"2005-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.
* better check usage with options, correct show problem error message, indent"Vladimir N. Oleynik"2005-10-101-18/+19
|
* Rename CONFIG_NFSMOUNT to CONFIG_FEATURE_MOUNT_NFS so allbaseconfig canRob Landley2005-10-083-4/+4
| | | | find it (and tweak defconfig to catch up).
* allow people to adjtime locationMike Frysinger2005-09-282-2/+18
|
* whitespace sucksMike Frysinger2005-09-251-23/+23
|
* re-order a little for alphabeticalMike Frysinger2005-09-241-14/+14
|
* Tito switched option parsing over to switch umount over to bb_getopt_ulflags().Rob Landley2005-09-241-27/+31
|
* use the shorter license headerMike Frysinger2005-09-241-14/+1
|
* use brief license lineMike Frysinger2005-09-241-15/+2
|
* Reduce exported from ipcs applet"Vladimir N. Oleynik"2005-09-221-6/+6
|
* accept unlimited number of swap arguments like the real swap{on,off} and ↵Mike Frysinger2005-09-161-8/+11
| | | | shrink do_em_all a little
* Cleanup patch from Tito.Rob Landley2005-09-141-12/+9
|
* whitespace/syntax cleanups, dont mind me :pMike Frysinger2005-09-131-36/+22
|
* Cleanup patch from Tito.Rob Landley2005-09-131-36/+11
|
* Tito sent in a few patches converting instances of CONFIG_FEATURE_CLEAN_UP toRob Landley2005-09-083-13/+13
| | | | ENABLE_FEATURE_CLEAN_UP.
* 1) bb_opt_complementaly -> bb_opt_complementally"Vladimir N. Oleynik"2005-09-051-5/+1
| | | | | 2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally
* Fix the warnings, and fix the following two obvious segfaults:Rob Landley2005-09-051-10/+7
| | | | | | | | | | | ./busybox getopt -n one -n two woot ./busybox getopt -o one -o two woot This entire applet is still an enormous pile of garbage, which I can't clean up because I really have no idea what it's for. (Both "man getopt" and trying it out on the command line a bit fail to enlighten me. Reading the code, the fact half of it seems to be special cases for bash vs tcsh does not fill me with confidence.)
* Amir Shalem found some bugs in the new mount code; unknown options didn't getRob Landley2005-08-301-2/+4
| | | | | | added to the list, and my assumption that nfsmount() actually called mount() was incorrect (and I coded it wrong anyway; I hate having to touch codepaths I can't personally test).
* When compiling with FEATURE_MTAB_SUPPORT disabled, the call to erase_mtab()Rob Landley2005-08-231-1/+3
| | | | | | | | | | | | | can never be made because useMtab is initialized to 0, and all the other assignments of that variable assign 0 to it. Any compiler that can perform simple constant propogation on local variables will optimize away if statements testing against that variable, thus the call to erase_mtab() will never be made. When compiling for arm using gcc 3.3.3 with FEATURE_MTAB_SUPPORT disabled, the linker complains that it can't find erase_mtab(). The arm optimizer isn't exactly the brightest member of the family, and apparently needs to be hit over the head with a hammer to get its' attention...