aboutsummaryrefslogtreecommitdiff
path: root/util-linux (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Removed some debug printfssandman2003-08-261-4/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7264 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Kent Robotti to being fdisk in sync with v2.12 final.andersen2003-08-081-6/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7185 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from vodz:andersen2003-08-062-10/+96
| | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@7174 69ca8d6d-28ef-0310-b511-8ec308f3f277
* extern inline is a bad bad thing. kill it (so mkfs_minix.c willandersen2003-08-061-11/+11
| | | | | | | actually compile) git-svn-id: svn://busybox.net/trunk/busybox@7167 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Lars Ekman writes:andersen2003-07-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@7142 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch100 from vidz updating fdisk to 2.12preandersen2003-07-301-317/+330
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7140 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Ronny L Nilsson writes:andersen2003-07-301-1/+5
| | | | | | | | | 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). git-svn-id: svn://busybox.net/trunk/busybox@7134 69ca8d6d-28ef-0310-b511-8ec308f3f277
* There should be only one instance of CONFIG_FEATURE_AUTOWIDTHandersen2003-07-261-14/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7115 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't depend on CONFIG_LFS. It is really a suggestion, not a requirement,andersen2003-07-261-1/+0
| | | | | | | since fdisk will work just fine on smaller disks w/o it. git-svn-id: svn://busybox.net/trunk/busybox@7105 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove remaining libc5 support codeandersen2003-07-222-15/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7090 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Very minor rdate updatesandersen2003-07-221-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7086 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Error out early if people try to build mount with nfs supportandersen2003-07-221-0/+6
| | | | | | | | using uClibc, but have not enabled UCLIBC_HAS_RPC... -Erik git-svn-id: svn://busybox.net/trunk/busybox@7085 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update a bunch of docs. Run a script to update my email addr.andersen2003-07-149-14/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7061 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use standard typesandersen2003-07-141-27/+27
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7057 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Require that LFS is enabled to get fdiskandersen2003-07-141-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7053 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove all the llseek junk and just use regular old lseek. When DOLFS isandersen2003-07-141-110/+6
| | | | | | | | | enabled, regular lseek is transparently promoted to lseek64 anyways, rendering the llseek stuff pointless. -Erik git-svn-id: svn://busybox.net/trunk/busybox@7052 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add the fdformat utility, based on a patch from Kent Robotti,andersen2003-07-053-0/+165
| | | | | | | | but I then completely reworked the fdformat utility to comply with the current busybox way of doing things. git-svn-id: svn://busybox.net/trunk/busybox@7037 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Kent Robotti updating fdisk to version v2.11zandersen2003-07-031-38/+48
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7030 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Kent Robotti adding a bunch of menuconfig helpandersen2003-07-031-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7029 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Somewhere in the 2.4.x kernel series, /proc/mounts was changed to display aandersen2003-06-202-2/+6
| | | | | | | | | | | "rootfs" entry as well as the traditional "/dev/root" entry. This caused applets such as mount and df to display two root filesystem entries.... This teaches the relevant utilities to ignore the "rootfs" entry. -Erik git-svn-id: svn://busybox.net/trunk/busybox@6946 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use xopen instead of xfopenbug12003-05-081-5/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6832 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major coreutils update.mjn32003-03-1919-254/+226
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* be more careful about cleaning upandersen2003-03-072-5/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6718 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Scrub things a bit, shave off a few bytes.andersen2003-03-071-6/+9
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@6717 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Save a few bytes and remove a redundant stringandersen2003-03-071-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6716 69ca8d6d-28ef-0310-b511-8ec308f3f277
* audit for proper error handling, apply a few size optimizationsandersen2003-03-071-27/+34
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@6714 69ca8d6d-28ef-0310-b511-8ec308f3f277
* There is no good reason to prevent nfs mounts from being mountedandersen2003-02-281-2/+2
| | | | | | | | | | during 'mount -a'. If the user wants to do that, hey, its their lifs. If the nfs server is down and they don't want to wait for nfs to time out, that is their problem. -Erik git-svn-id: svn://busybox.net/trunk/busybox@6648 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Write all the help text for the util-linux utilities. Allowandersen2003-02-271-34/+152
| | | | | | | | | people to locate the mtab file somewhere other that /etc to accomodate read only root filesystems. -Erik git-svn-id: svn://busybox.net/trunk/busybox@6643 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Correct some init issues, update email address, last_patch78 by Vladimirbug12003-01-131-1/+1
| | | | | | | N. Oleynik git-svn-id: svn://busybox.net/trunk/busybox@6323 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fdisk writable feature, allows compilation of a small fdisk that canbug12003-01-042-186/+254
| | | | | | | only read partition table, by Vladimir N. Oleynik git-svn-id: svn://busybox.net/trunk/busybox@6265 69ca8d6d-28ef-0310-b511-8ec308f3f277
* > Eliminate dependancy on kernel header files. Naughty naughty.sandman2003-01-021-2/+15
| | | | | | | | | | | | > Using linux kernel headers is a Bad Thing(tm) and should be > punished. > -Erik Doing this wrong should be punished even harder :) - Robert git-svn-id: svn://busybox.net/trunk/busybox@6252 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Eliminate dependancy on kernel header files. Naughty naughty.andersen2002-12-111-1/+48
| | | | | | | | | Using linux kernel headers is a Bad Thing(tm) and should be punished. -Erik git-svn-id: svn://busybox.net/trunk/busybox@6162 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Eliminate dependancy on kernel header files. Naughty naughty.andersen2002-12-111-56/+54
| | | | | | | | Using linux kernel headers is a Bad Thing(tm) and should be punished. git-svn-id: svn://busybox.net/trunk/busybox@6159 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Eliminate dependancy on kernel header files. Naughty naughty.andersen2002-12-111-1/+6
| | | | | | | | | Using linux kernel headers is a Bad Thing(tm) and should be punished. -Erik git-svn-id: svn://busybox.net/trunk/busybox@6158 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix compile warning with OSFbug12002-12-081-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6135 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yet another major rework of the BusyBox config system, using the considerablyandersen2002-12-052-69/+232
| | | | | | | | | | | modified Kbuild system I put into uClibc. With this, there should be no more need to modify Rules.mak since I've moved all the interesting options into the config system. I think I've got everything updated, but you never know, I may have made some mistakes, so watch closely. -Erik git-svn-id: svn://busybox.net/trunk/busybox@6102 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Kill CONFIG_FEATURE_USE_DEVPS_PATCH and the devps patch. I'm notandersen2002-12-051-81/+1
| | | | | | | | maintaining it anymore, and it is now terribly out of date. -Erik git-svn-id: svn://busybox.net/trunk/busybox@6101 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change if(x)free(x); to free(x);aaronl2002-11-283-13/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6055 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch_68 from Vladimir N. Oleynikbug12002-11-271-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6028 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fdisk applet by Vladimir N. Oleynikbug12002-11-263-0/+5908
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6025 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Test for holes in swapfilesandersen2002-11-031-0/+12
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@5779 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch64 from vodz:andersen2002-10-261-15/+17
| | | | | | | | | | | | | | | | The following usage from original user: $ ./busybox swapon -a Have typo problem: swapon: swapon: Operation not permitted But regular version: swapon: /dev/hda5: Operation not permitted Patch attached, reduced 9 bytes and advanced exit code also. git-svn-id: svn://busybox.net/trunk/busybox@5715 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Support setting depthandersen2002-09-171-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5538 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some CML1 grammar fixesandersen2002-09-011-1/+3
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@5440 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Run through indent, stylebug12002-08-231-48/+66
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5353 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Run through indent, fix commentsbug12002-08-221-110/+120
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5342 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Inline functions with only one reference in mkfs_minix. I don't knowaaronl2002-08-211-11/+11
| | | | | | | why these efforts aren't making the binary smaller. git-svn-id: svn://busybox.net/trunk/busybox@5326 69ca8d6d-28ef-0310-b511-8ec308f3f277
* minor fixes for fbset bloataaronl2002-08-131-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <mjn3> printf("\tgeometry %u %u %u %u %u\n", v->xres, v->yres, <mjn3> v->xres_virtual, v->yres_virtual, v->bits_per_pixel); <mjn3> printf("\ttimings %u %u %u %u %u %u %u\n", v->pixclock, v->left_margin, <mjn3> v->right_margin, v->upper_margin, v->lower_margin, v->hsync_l <mjn3> en, <mjn3> v->vsync_len); <mjn3> printf("\taccel %s\n", (v->accel_flags > 0 ? "true" : "false")); <mjn3> printf("\trgba %u/%u,%u/%u,%u/%u,%u/%u\n", v->red.length, <mjn3> v->red.offset, v->green.length, v->green.offset, v->blue.leng <mjn3> th, <mjn3> v->blue.offset, v->transp.length, v->transp.offset); <mjn3> printf("endmode\n\n"); <mjn3> whay have multiple printf calls when one would do? <mjn3> and this: <mjn3> static struct cmdoptions_t { <mjn3> char *name; <mjn3> unsigned char param_count; <mjn3> unsigned char code; <mjn3> } g_cmdoptions[] = { <mjn3> { <mjn3> "-fb", 1, CMD_FB}, { <mjn3> (repeated entries) <mjn3> why isn't this constant? what about struct packing? inline the helper functions that are only referenced once. git-svn-id: svn://busybox.net/trunk/busybox@5259 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - updated a few copyright/left file headerssandman2002-08-051-2/+17
| | | | | | | - documented most of my 0.61 changes in the ChangeLog git-svn-id: svn://busybox.net/trunk/busybox@5150 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix for bug #1255 -- support for mount -t <type>sandman2002-07-251-8/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5100 69ca8d6d-28ef-0310-b511-8ec308f3f277