aboutsummaryrefslogtreecommitdiff
path: root/util-linux (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Use lstat() instead of stat so /init being a symlink doesn't screw people up.landley2006-03-201-3/+3
| | | | | | | (And use it consistently, for size reasons.) git-svn-id: svn://busybox.net/trunk/busybox@14577 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - explain what magic numbers we're using here.aldot2006-03-181-1/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14567 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - whitespace cleanup (and also check against the const first and only then lookaldot2006-03-181-2/+2
| | | | | | | at bb_applet_name[1]) git-svn-id: svn://busybox.net/trunk/busybox@14566 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More fixes. Type "auto" should mean unspecified from fstab as well as thelandley2006-03-181-18/+30
| | | | | | | | | | | | | | command line, initialize singlemount's rc to an error value so it doesn't think it succeeded when it didn't, use absolute path when associating a loop device (and the previous FEATURE_CLEAN_UP logic related to that was freeing the wrong thing), move reading of /proc/filesystems to where we can re-read it (when it's empty) for every entry on a "mount -a" so that when /proc is mounted as the first entry, the later filesystems can autodetect filesystem type. git-svn-id: svn://busybox.net/trunk/busybox@14557 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bug fix: umount wasn't detaching loop devices unless mtab support was enabled.landley2006-03-171-35/+38
| | | | | | | Made some whitespace cleanups while I was there. git-svn-id: svn://busybox.net/trunk/busybox@14552 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Missed one.landley2006-03-141-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14539 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The new, new mount rewrite. (Mount double prime?) Still being debugged, butlandley2006-03-141-252/+408
| | | | | | | | | the new infrastructure is reentrant so in theory it's capable of handling mount -a sanely. It can also re-use existing flags with remount, handle -t auto, mount -a -t, and several smaller bugfixes. git-svn-id: svn://busybox.net/trunk/busybox@14537 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tito unified fdflush and freeramdisk. I tweaked the result a bit.landley2006-03-143-95/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14536 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - revert back to r14406aldot2006-03-131-40/+51
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14531 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Denis Vlasenko to add xstat() and use it.landley2006-03-131-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14530 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Denis Vlasenko turning static const int (which gets emitted intolandley2006-03-105-69/+84
| | | | | | | the busybox binary) into enums (which don't). git-svn-id: svn://busybox.net/trunk/busybox@14513 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - backout using features which are not available with the previous stablealdot2006-03-091-2/+6
| | | | | | | version of make (3.71.1). git-svn-id: svn://busybox.net/trunk/busybox@14477 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionlandley2006-03-068-8/+8
| | | | | | | definitions. (That should only be on prototypes.) git-svn-id: svn://busybox.net/trunk/busybox@14457 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use absolute path for top_builddir and top_srcdir.aldot2006-03-021-0/+4
| | | | | | | Fixes make trying to include the very same file in an endless loop. git-svn-id: svn://busybox.net/trunk/busybox@14429 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fixes parallel builds (make -j)aldot2006-03-011-50/+35
| | | | | | | - use less resources for the buildsystem itself git-svn-id: svn://busybox.net/trunk/busybox@14407 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more security: don't start shell code from argvvodz2006-02-281-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14360 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove duplicate license noticevapier2006-02-251-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14277 69ca8d6d-28ef-0310-b511-8ec308f3f277
* strip out unneeded commentsvapier2006-02-251-4/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14276 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fdisk unmaintained now :(vodz2006-02-251-1/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14275 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Another clean-up patch from Garrett.landley2006-02-251-137/+120
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14267 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor cleanup from Garrett Kajmowicz.landley2006-02-251-4/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14266 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleanup from Denis Vlasenko.landley2006-02-241-1904/+2013
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14260 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - put NLS stuff in one central place to avoid redefines.aldot2006-02-232-5/+1
| | | | | | | | | | | Fixes warnings about: fdisk.c:45:1: warning: "_" redefined nfsmount.c:121:1: warning: "_" redefined nfsmount.c:122:1: warning: "N_" redefined interface.c:84:1: warning: "_" redefined git-svn-id: svn://busybox.net/trunk/busybox@14235 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't build directory libraries unless we're building an applet that needs it.landley2006-02-211-1/+2
| | | | | | | Cherry-picked from Devin Bayer's big MacOS X patch. git-svn-id: svn://busybox.net/trunk/busybox@14165 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Create /dev/root symlink pointing to real root device, if any.landley2006-02-211-0/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14159 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add setarch/linux32/linux64 appletvapier2006-02-213-0/+64
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14156 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix off by one error. (I know I had a reason for doing that, but I have _no_landley2006-02-141-1/+1
| | | | | | | idea what it was...) git-svn-id: svn://busybox.net/trunk/busybox@14007 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 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