aboutsummaryrefslogtreecommitdiff
path: root/util-linux
AgeCommit message (Collapse)Author
2004-03-22Some corrections from vodz:Robert Griebl
- Make -u/-l mutually exclusive - Minor size reduction
2004-03-21The utc variable was not modified according to the -u/-l command lineRobert Griebl
parameters.
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-03-10Patch from Thomas Frohlich to fix an option ordering bug of mine.Glenn L McGrath
2004-02-22Patch from Chris Larson (kergoth), to allow multiple directores to beGlenn L McGrath
unmounted at once.
2004-02-22Use bb_getopt_ulflags, marginal saving, better argument checking.Glenn L McGrath
2004-02-22Use /var/lib/hwclock for adjtime, its really a state file rather than aGlenn L McGrath
config file, so it should be in /etc, FHS mentions it also.
2004-02-06Eliminate use of a kernel scsi header file.Eric Andersen
Prevent potentially misaligned accesses while indexing a pointer to the partition table, which would be a bad thing on i.e. arm.
2004-01-30Fixup use of 'u_int' to instead use 'unsigned int'Eric Andersen
2004-01-30s/u_int/uint/gEric Andersen
2004-01-30Use proper C99 typesEric Andersen
2004-01-20Patch from Tito, reduce size, merge functions that are only used once.Glenn L McGrath
2004-01-18Stephane Billiart writes:Eric Andersen
bb_lookup_port now takes 3 parameters but rdate has not been modified accordingly and fails to compile in the current CVS version. The modification below fixes the problem. Now, RFC868 allows both UDP and TCP implementations of the time protocol so this may not work if someone defines a udp time service other than 37 but who would do that?
2003-12-23match changes made to cmdeditEric Andersen
2003-12-20Change interface to bb_lookup_host, dont try and set port inside thisGlenn L McGrath
function as there is no gracefull way of handling failures. Rename bb_getport to bb_lookup_port, allow a default port to be specified so it always returns a correct value. Modify ftpgetput/rdate/wget to use the new interface. wget/rdate now use etc/services with a falback default value.
2003-12-19Patch from Fillod Stephane:Eric Andersen
* The "rdate.patch" file makes rdate to NOT settimeofday if the date to be set equals current date. This prevents the system from experiencing nasty time discontinuities caused by sub-second changes, with a protocol that has only over second resolution. Depending on your taste, the "fprintf(stderr..." may be removed.
2003-12-19vodz noticed we need to cast things back to an unsigned longEric Andersen
or the syscall will not get the proper arguments.
2003-12-12Be certain we use a correct entity when performing theEric Andersen
BLKGETSIZE64 ioctl -- don't just assume 8,
2003-12-12Doh! I broke automatic filesystem type guessing. Fix mount soEric Andersen
it will properly fall back to /proc/mounts when /etc/filesystems is missing, allowing mount to guess the correct fs type when a fs type is not explicitly specified. -Erik
2003-12-09Fix indenting.Eric Andersen
Fix a bug noticed by Pete Flugstad. Make certain we close what we open, and don't try to close invalid files when /etc/filesystems exists and is used.
2003-12-04Do not use the _syscall5 macro -- use syscall(2) insteadEric Andersen
2003-11-14Oskar Liljeblad writes:Eric Andersen
Here's a fix for the hard-coded device name in fbset.
2003-11-14Marc Kleine-Budde noticed a missing semicolonEric Andersen
2003-11-03Fix rdate and ftpget/ftpput so they compile with the new xconnect.Eric Andersen
I have checked rdate. Someone should also check ftpget/ftpput to be sure they still work.
2003-11-03Avoid conflicts with the 2.6 kernel headers, which defineEric Andersen
_IOR rather differently, thereby breaking the BLKGETSIZE64 ioctl. -Erik
2003-10-31Rework wget, the xconnect interface, and its various clientsEric Andersen
in order to fix the problems with round robin DNS reported by Andrew Flegg: http://busybox.net/lists/busybox/2003-October/009579.html This removes the ipv6 specific xconnect dns lookups. I do not see why that would need to be special cased for ipv6 as was done, but that will just have to be tested. So IPV6 people -- please test this change! -Erik
2003-10-31Patch from David Meggy to make the swap default to the new version if noGlenn L McGrath
version is specified and the kernel is relatively new.
2003-10-22Andreas Mohr writes:Eric Andersen
the busybox menuconfig triggered my "inacceptable number of spelling mistakes" upper level, so I decided to make a patch ;-) I also improved some wording to describe some things in a better way. Many thanks for an incredible piece of software! Andreas Mohr, random OSS developer
2003-10-09Patch from Steven Scholz, fix some warningsGlenn L McGrath
2003-09-15Be entirely consistant when using ioctl(0, TIOCGWINSZ, &winsize)Eric Andersen
to ensure proper fallback behavior on, i.e. serial consoles. -Erik
2003-09-15fix function prototypeEric Andersen
2003-09-15Needs prototype for close()Eric Andersen
2003-09-12Remove final \nEric Andersen
2003-09-12Teach rdate to timeout in 10 seconds to avoid blocking foreverEric Andersen
with odd or broken networking setups
2003-08-29Logic error, patch by Matteo CroceGlenn L McGrath
2003-08-26Removed some debug printfsRobert Griebl
2003-08-08Patch from Kent Robotti to being fdisk in sync with v2.12 final.Eric Andersen
2003-08-06Patch from vodz:Eric Andersen
I wrote: >>I think, fdisk have special ext2lseek special for: >>disk can have size > 4Gb, but all any partitions have < 4Gb and lseek64 >>not require. >>May be best create new configure option for set DOLFS for fdisk applet >>if global DOLFS unset? > Erik Andersen wrote: >Agreed. Using an extra configure option when ! DOLFS >would be a good idea. Ok. Patch attached.
2003-08-06extern inline is a bad bad thing. kill it (so mkfs_minix.c willEric Andersen
actually compile)
2003-07-30Lars Ekman writes:Eric Andersen
When using "losetup" the device is always setup as Read-Only. (I have only tested with the -o flag, but looking at the code the problem seems general) The problem is the "opt" variable in "losetup.c" that is reused in the "set_loop()" call. Clear it before the call and everything is OK; opt = 0; /* <-------- added line */ if (delete) return del_loop (argv[optind]) ? EXIT_SUCCESS : EXIT_FAILURE; else return set_loop (argv[optind], argv[optind + 1], offset, &opt) ? EXIT_FAILURE : EXIT_SUCCESS; } Best Regards, Lars Ekman
2003-07-30last_patch100 from vidz updating fdisk to 2.12preEric Andersen
2003-07-30Ronny L Nilsson writes:Eric Andersen
If BusyBox was compiled with -DCONFIG_FEATURE_CLEAN_UP dmesg command segfaults if invoked with the "-n" option. (Due to a free() of an uninitialized pointer).
2003-07-26There should be only one instance of CONFIG_FEATURE_AUTOWIDTHEric Andersen
2003-07-26Don't depend on CONFIG_LFS. It is really a suggestion, not a requirement,Eric Andersen
since fdisk will work just fine on smaller disks w/o it.
2003-07-22Remove remaining libc5 support codeEric Andersen
2003-07-22Very minor rdate updatesEric Andersen
2003-07-22Error out early if people try to build mount with nfs supportEric Andersen
using uClibc, but have not enabled UCLIBC_HAS_RPC... -Erik
2003-07-14Update a bunch of docs. Run a script to update my email addr.Eric Andersen
2003-07-14Use standard typesEric Andersen
2003-07-14Require that LFS is enabled to get fdiskEric Andersen