aboutsummaryrefslogtreecommitdiff
path: root/util-linux
Commit message (Collapse)AuthorAgeFilesLines
* Consolidate #include <sys/time.h> so libbb.h does it.Gravatar Rob Landley2006-05-272-2/+0
|
* Change llist_add_* to take the address of the list rather than returning the newGravatar Rob Landley2006-05-261-1/+1
| | | | head, and change all the callers.
* - add central knob to turn off getopt_long everywhere. EXPERIMENTAL!Gravatar Bernhard Reutner-Fischer2006-05-262-4/+4
| | | | | | Adds "Enable getopt long" under "General options", default y. Send patches to fix getopt_ulflags and run_parts.c if you turn this off.. See http://busybox.net/lists/busybox/2006-May/021828.html for a start to run-parts
* - work around bug in gcc-3.4.x on ARMGravatar Bernhard Reutner-Fischer2006-05-261-1/+1
|
* fix spelling mistakesGravatar Mike Frysinger2006-05-262-8/+8
|
* Convert to a global struct, the way sed was. Now I have two, I can work outGravatar Rob Landley2006-05-211-4/+9
| | | | the infrastructure to merge global structs into a union...
* - remove emacs layout block as suggested by Robert P.J. DayGravatar Bernhard Reutner-Fischer2006-05-192-30/+3
| | | | - use shorter boilerplate while at it
* - single KERNEL_VERSION(a,b,c) macro in platform.hGravatar Bernhard Reutner-Fischer2006-05-192-12/+11
| | | | | - rename get_kernel_revision() to get_linux_version_code from Robert P. J. Day
* pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵Gravatar Mike Frysinger2006-05-131-1/+1
| | | | mailing list
* Shut up the warning "implicit declaration of strlen".Gravatar Rob Landley2006-05-101-0/+1
|
* Fiddling with llist to make memory management easier. Specifically, theGravatar Rob Landley2006-05-081-1/+1
| | | | | option to delete the contents of the list when we delete the list is a good thing.
* Shrink the code about 50 bytes, allocate less run-time memory, and add aGravatar Rob Landley2006-05-081-20/+19
| | | | | comment that null terminating the string we sscanf() shouldn't be required since the kernel adds \n to the end of it and sscanf will stop there.
* More busting on legacy mtab support in the help text.Gravatar Rob Landley2006-05-081-1/+5
|
* Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytesGravatar Rob Landley2006-05-071-2/+2
| | | | | as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code.
* Migrate endianness macros.Gravatar Rob Landley2006-05-051-6/+2
|
* Patch from Jason Schoon to make mount -a not abort on the first failure.Gravatar Rob Landley2006-05-051-4/+6
|
* Build break fix from Bernhard fischer, fixing fallout from svn 14974. (My bad.)Gravatar Rob Landley2006-05-031-0/+1
|
* Patches from Denis Vlasenko to rework "current_name" handling and removeGravatar Rob Landley2006-04-291-126/+95
| | | | | print_current_name().
* Patch from Denis Vlasenko:Gravatar Rob Landley2006-04-291-93/+74
| | | | | | | | | * Do not initialize globals to 0, it is done automatically * unsigned short -> uint16_t, unsigned int -> uint32_t where appropriate (did it ever work on Alphas?) * triple sync() is silly - removed * check_zone_nr uses check_zone_nr2 now * remove trailing periods from messages, uppercase first letter
* Patch from Denis Vlasenko:Gravatar Rob Landley2006-04-291-2/+2
| | | | | ix bug (inode_map and zone_map are char* pointers, sizeof() on them gives 4 or 8)
* Jason Schoon writes: This makes the case where LFS is not defined, but fdisk ↵Gravatar Mike Frysinger2006-04-211-5/+1
| | | | is configured with large disk support use the pretty build rules.
* Robert Eggers noticed that nfsmount would sometimes incorrectly return success.Gravatar Rob Landley2006-04-171-6/+2
|
* use memmove() instead of bcopy()Gravatar Mike Frysinger2006-04-161-6/+6
|
* Patch from Robert P Day: let menuconfig indent stuff for us, we don't haveGravatar Rob Landley2006-04-131-19/+19
| | | | to do it in Config.in.
* - patch from Denis Vlasenko to add and use bb_xopen3()Gravatar Bernhard Reutner-Fischer2006-04-132-4/+4
|
* - patch from Denis Vlasenko to add and use bb_xsocket() and to useGravatar Bernhard Reutner-Fischer2006-04-123-24/+7
| | | | | bb_xopen some more while at it. Also use shorter boilerplate while at it.
* Kumar spotted another bug: if we autodetect nfs and they haven't specified theGravatar Rob Landley2006-04-051-0/+1
| | | | fstype, it should be set to nfs.
* You'd think there'd be a compiler warning for "pointless if", wouldn't you?Gravatar Rob Landley2006-04-041-3/+3
|
* - do away with useless fwd-decls, redundant bb_printf calls, silence warningGravatar Bernhard Reutner-Fischer2006-04-031-220/+204
| | | | | | | | | about comparing signed and unsigned and make stuff static. text data bss dec hex filename 6944 0 0 6944 1b20 util-linux/ipcs.o.oorig 6509 0 0 6509 196d util-linux/ipcs.o TODO: bb_getopt_ulflags, and further simplifications
* Bug spotted by Kumar Gala. Hopefully this fixes it...Gravatar Rob Landley2006-04-011-2/+3
|
* - use RESERVE_CONFIG_BUFFER and a bit of whitespace-cleanup. defconfig:Gravatar Bernhard Reutner-Fischer2006-03-311-21/+10
| | | | | | text data bss dec hex filename 1307 0 0 1307 51b util-linux/hwclock.o.oorig 1255 0 0 1255 4e7 util-linux/hwclock.o
* - shrink mkswap and make v0 support optional. Thanks also to Tito for his ideas.Gravatar Bernhard Reutner-Fischer2006-03-292-79/+83
| | | | | | | | http://busybox.net/lists/busybox/2006-March/019326.html 2137 8 28 2173 87d util-linux/mkswap.o.orig 1890 8 28 1926 786 util-linux/mkswap.o.v0+v1 1560 4 28 1592 638 util-linux/mkswap.o.v1
* - shrink dmesg a bit.Gravatar Bernhard Reutner-Fischer2006-03-291-41/+22
| | | | http://busybox.net/lists/busybox/2006-March/019477.html
* Kumar Gala tracked down a problem with NFS mounting. This is a different fixGravatar Rob Landley2006-03-291-21/+19
| | | | from his, but to the same problem.
* Bernhard Fischer spotted that we shouldn't free fstype if we didn't allocateGravatar Rob Landley2006-03-281-1/+0
| | | | it.
* Robert P Day removed some commented out code.Gravatar Rob Landley2006-03-261-14/+0
|
* - make sure that we see freeramdisk only onceGravatar Bernhard Reutner-Fischer2006-03-241-0/+2
|
* dont printf arguments given by user for security sanityGravatar Mike Frysinger2006-03-231-1/+1
|
* Fix missing copyright and license notice.Gravatar Rob Landley2006-03-211-0/+6
|
* Remove unneeded entries.Gravatar Rob Landley2006-03-201-10/+0
|
* whitespace cleanupGravatar Eric Andersen2006-03-201-29/+29
|
* Fix some obvious compile problems. Make the -f' fakeIt option actually work.Gravatar Eric Andersen2006-03-201-1/+6
|
* Patch from tito, acked by Bernhard Fischer.Gravatar Rob Landley2006-03-202-8/+17
|
* Use lstat() instead of stat so /init being a symlink doesn't screw people up.Gravatar Rob Landley2006-03-201-3/+3
| | | | (And use it consistently, for size reasons.)
* - explain what magic numbers we're using here.Gravatar Bernhard Reutner-Fischer2006-03-181-1/+6
|
* - whitespace cleanup (and also check against the const first and only then lookGravatar Bernhard Reutner-Fischer2006-03-181-2/+2
| | | | at bb_applet_name[1])
* More fixes. Type "auto" should mean unspecified from fstab as well as theGravatar Rob Landley2006-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.
* Bug fix: umount wasn't detaching loop devices unless mtab support was enabled.Gravatar Rob Landley2006-03-171-35/+38
| | | | Made some whitespace cleanups while I was there.
* Missed one.Gravatar Rob Landley2006-03-141-1/+1
|
* The new, new mount rewrite. (Mount double prime?) Still being debugged, butGravatar Rob Landley2006-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.