aboutsummaryrefslogtreecommitdiff
path: root/util-linux
AgeCommit message (Collapse)Author
2006-01-13- revert last change for now..Bernhard Reutner-Fischer
2006-01-13this applet needlessly big! TODO: bb_getopt_ulflags()Bernhard Reutner-Fischer
- use atol for the offset, which is always in bytes. Small step in eventually dropping bb_xparse_number().
2006-01-12Frank Sorenson added hotplug support to mdev. (I tweaked it a bit. NeedRob Landley
to come up with a test suite for all the stuff that requires root access. Something involving User Mode Linux or QEMU, probably...)
2006-01-12The major:minor read from dev ends with \n, need to trim that.Rob Landley
2006-01-10With -a, the jump to mount_it_now can skip the initialization of f, andRob Landley
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...
2006-01-10Both atime and diratime should switch _off_ the corresponding no* flag.Rob Landley
2006-01-04use MAP_PRIVATE instead of MAP_SHARED for uClinux systems (see Bug 550)Mike Frysinger
2005-12-21When you went "losetup -d /dev/loop0 /dev/loop1" the error message was strange.Rob Landley
2005-12-20Fix chroot, leave console alone if -c not specified, and yank debug code.Rob Landley
(I still haven't set up a test environment to confirm this works...)
2005-12-20Some minor cleanups/bugfixes split off from the big remount work:Rob Landley
Shorten GPL boilerplate. Enabling FEATURE_CLEAN_UP broke things in two places. Move the NFS with uClibc check to nfsmount.c
2005-12-17Sigh. Left the debug path in. Fixed.Rob Landley
2005-12-17Added /etc/mdev.conf support. Adds about 1.9k to mdev.Rob Landley
2005-12-15- remove duplicate entry for switch_rootBernhard Reutner-Fischer
2005-12-13Nothing to see here. Move along.Rob Landley
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.)
2005-12-12- typo: s/sucess/success/gBernhard Reutner-Fischer
What's up with loginutils/su.c line 42: "SYSLOG_SUCESS" ? Please have a look..
2005-12-02reduce signedness warning"Vladimir N. Oleynik"
2005-11-29Fix losetup so that it A) actually works again, B) has much better errorRob Landley
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...
2005-11-28add "-C" format to hexdumpPaul Fox
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.)
2005-11-24reduce bss"Vladimir N. Oleynik"
2005-10-28bb_opt_complementally for rdate applet. Add losed record to ↵"Vladimir N. Oleynik"
util-linux/Makefile.in for switch_root applet
2005-10-28Rob Sullivan sent in some cleanups, which I beat on slightly.Rob Landley
2005-10-27Add a switch_root utility (like kconfig's utils/run_init.c, although notRob Landley
actuall using any of that code). This is needed because pivot_root doesn't work right under initramfs. (See the menuconfig help.)
2005-10-20another more const"Vladimir N. Oleynik"
2005-10-19more const, attribute_noreturn saved 200 bytes"Vladimir N. Oleynik"
2005-10-15data --> bss"Vladimir N. Oleynik"
2005-10-14- new bb_opt_complementally syntax, use [-:?] only - 'free' chars"Vladimir N. Oleynik"
- 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
2005-10-13- initialize the correct variablesBernhard Reutner-Fischer
2005-10-11- use complementally '!' to '?' - 'ask' is best 'free' char for this."Vladimir N. Oleynik"
- 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.
2005-10-10better check usage with options, correct show problem error message, indent"Vladimir N. Oleynik"
2005-10-08Rename CONFIG_NFSMOUNT to CONFIG_FEATURE_MOUNT_NFS so allbaseconfig canRob Landley
find it (and tweak defconfig to catch up).
2005-09-28allow people to adjtime locationMike Frysinger
2005-09-25whitespace sucksMike Frysinger
2005-09-24re-order a little for alphabeticalMike Frysinger
2005-09-24Tito switched option parsing over to switch umount over to bb_getopt_ulflags().Rob Landley
2005-09-24use the shorter license headerMike Frysinger
2005-09-24use brief license lineMike Frysinger
2005-09-22Reduce exported from ipcs applet"Vladimir N. Oleynik"
2005-09-16accept unlimited number of swap arguments like the real swap{on,off} and ↵Mike Frysinger
shrink do_em_all a little
2005-09-14Cleanup patch from Tito.Rob Landley
2005-09-13whitespace/syntax cleanups, dont mind me :pMike Frysinger
2005-09-13Cleanup patch from Tito.Rob Landley
2005-09-08Tito sent in a few patches converting instances of CONFIG_FEATURE_CLEAN_UP toRob Landley
ENABLE_FEATURE_CLEAN_UP.
2005-09-051) bb_opt_complementaly -> bb_opt_complementally"Vladimir N. Oleynik"
2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally
2005-09-05Fix the warnings, and fix the following two obvious segfaults:Rob Landley
./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.)
2005-08-30Amir Shalem found some bugs in the new mount code; unknown options didn't getRob Landley
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).
2005-08-23When compiling with FEATURE_MTAB_SUPPORT disabled, the call to erase_mtab()Rob Landley
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...
2005-08-14If we goto singlemount, do _not_ try to continue through the loop we jumpedRob Landley
into. (That means "mount -t ext2 /dev/thingy thingy" would segfault if it failed instead of giving us an error message.)
2005-08-14Stephane Billiart noticed that the return code of the new mount was horked.Rob Landley
(Cleaned up the return code path to consistently use numbers so I don't keep confusing EXIT_SUCCESS with TRUE and EXIT_FAILURE with FALSE...)
2005-08-10Major rewrite of mount, umount, losetup. Untangled lots of code, shrunkRob Landley
things down a bit, fixed a number of funky corner cases, added support for several new features (things like mount --move, mount --bind, lazy unounts, automatic detection of loop mounts, and so on). Probably broke several other things, but it's fixable. (Bang on it, tell me what doesn't work for you...) Note: you no longer need to say "-o loop". It does that for you when necessary. Still need to add "user mount" support, which involves making mount suid. Not too hard to do under the new infrastructure, just haven't done it yet... The previous code had the following notes, that belong in the version control comments: - * 3/21/1999 Charles P. Wright <cpwright@cpwright.com> - * searches through fstab when -a is passed - * will try mounting stuff with all fses when passed -t auto - * - * 1999-04-17 Dave Cinege...Rewrote -t auto. Fixed ro mtab. - * - * 1999-10-07 Erik Andersen <andersen@codepoet.org>. - * Rewrite of a lot of code. Removed mtab usage (I plan on - * putting it back as a compile-time option some time), - * major adjustments to option parsing, and some serious - * dieting all around. - * - * 1999-11-06 mtab support is back - andersee - * - * 2000-01-12 Ben Collins <bcollins@debian.org>, Borrowed utils-linux's - * mount to add loop support. - * - * 2000-04-30 Dave Cinege <dcinege@psychosis.com> - * Rewrote fstab while loop and lower mount section. Can now do - * single mounts from fstab. Can override fstab options for single - * mount. Common mount_one call for single mounts and 'all'. Fixed - * mtab updating and stale entries. Removed 'remount' default. - *
2005-07-27use toplevel ARFLAGS and update default ARFLAGS to be quietMike Frysinger