oweals/busybox.git
18 years agoAnd now, with a for loop, so it can handle the nested USE() case.
Rob Landley [Thu, 27 Jul 2006 15:12:21 +0000 (15:12 -0000)]
And now, with a for loop, so it can handle the nested USE() case.

18 years agoThere's no excuse for adding new #ifdefs to the code like that. None at all.
Rob Landley [Thu, 27 Jul 2006 15:02:58 +0000 (15:02 -0000)]
There's no excuse for adding new #ifdefs to the code like that.  None at all.

18 years agoI touched perl. I feel dirty.
Rob Landley [Thu, 27 Jul 2006 14:59:36 +0000 (14:59 -0000)]
I touched perl.  I feel dirty.

Make autodocifier suck less.  It still doesn't handle nested USE( USE() ) case
(the inner USE() winds up in the output), but making it recursive involves
getting perl to accept a "for" loop and it's telling me that "break" is an
unrecognized bareword and I hate perl.  This is at least an improvement.

18 years agoallow people to display dmesg output without syslog levels
Mike Frysinger [Thu, 27 Jul 2006 11:18:36 +0000 (11:18 -0000)]
allow people to display dmesg output without syslog levels

18 years agoeat gremlins
Mike Frysinger [Thu, 27 Jul 2006 03:42:30 +0000 (03:42 -0000)]
eat gremlins

18 years agode-cuddle if( to if (
Mike Frysinger [Thu, 27 Jul 2006 03:00:49 +0000 (03:00 -0000)]
de-cuddle if( to if (

18 years agoRich Filker spotted that sed -e 's/xxx/[/' didn't work right. Did a smaller
Rob Landley [Wed, 26 Jul 2006 17:25:08 +0000 (17:25 -0000)]
Rich Filker spotted that sed -e 's/xxx/[/' didn't work right.  Did a smaller
fix than his, and shrank the code a bit on top of that so the net size is
smaller, and added a test to the test suite for this case.  Plus I cleaned up
the #includes and removed unnecessary "const"s while I was there.

18 years agoPatch from Shaun Jackman, set optind by hand if we don't call getopt.
Rob Landley [Wed, 26 Jul 2006 16:10:39 +0000 (16:10 -0000)]
Patch from Shaun Jackman, set optind by hand if we don't call getopt.

18 years agoUnbreak allbareconfig. (Todo item: rewrite dependency checker. Yeah, I
Rob Landley [Wed, 26 Jul 2006 15:38:46 +0000 (15:38 -0000)]
Unbreak allbareconfig.  (Todo item: rewrite dependency checker.  Yeah, I
already have that one, but it moves up the list...)

18 years agoSomebody on the buildroot list hit:
Rob Landley [Tue, 25 Jul 2006 20:37:45 +0000 (20:37 -0000)]
Somebody on the buildroot list hit:
insmod.c:515:10: extra tokens at end of #ident directive

18 years agoget rid of udhcp submenu
Mike Frysinger [Mon, 24 Jul 2006 07:35:52 +0000 (07:35 -0000)]
get rid of udhcp submenu

18 years agomove lchown/chown define out of specific files and into platform.h where it belongs
Mike Frysinger [Thu, 20 Jul 2006 19:31:07 +0000 (19:31 -0000)]
move lchown/chown define out of specific files and into platform.h where it belongs

18 years ago"formated" -> "formatted" throughout the code base.
"Robert P. J. Day" [Thu, 20 Jul 2006 19:02:24 +0000 (19:02 -0000)]
"formated" -> "formatted" throughout the code base.

18 years agoPatch from Yann Morin to fix bug 941, underscores in module aliases.
Rob Landley [Thu, 20 Jul 2006 17:36:18 +0000 (17:36 -0000)]
Patch from Yann Morin to fix bug 941, underscores in module aliases.

18 years agoRemove unnecessary consts. 1_2_0
Rob Landley [Wed, 19 Jul 2006 21:45:30 +0000 (21:45 -0000)]
Remove unnecessary consts.

18 years agoReplace the previous checkin with the correct fix.
Rob Landley [Wed, 19 Jul 2006 21:43:53 +0000 (21:43 -0000)]
Replace the previous checkin with the correct fix.

18 years agoPatch from Yann Morin to look for modules.conf in the right place on 2.6.
Rob Landley [Wed, 19 Jul 2006 21:33:42 +0000 (21:33 -0000)]
Patch from Yann Morin to look for modules.conf in the right place on 2.6.
Fixes http://bugs.busybox.net/view.php?id=942

18 years agoFor now, get around the error that "child" might be uninitialized.
"Robert P. J. Day" [Tue, 18 Jul 2006 12:05:43 +0000 (12:05 -0000)]
For now, get around the error that "child" might be uninitialized.

18 years agoRearrange order of type qualifiers.
"Robert P. J. Day" [Tue, 18 Jul 2006 11:33:44 +0000 (11:33 -0000)]
Rearrange order of type qualifiers.

18 years agoPatch from Thaddeus Ternes, adding chuid to start-stop-daemon.
Rob Landley [Mon, 17 Jul 2006 00:35:07 +0000 (00:35 -0000)]
Patch from Thaddeus Ternes, adding chuid to start-stop-daemon.

18 years agoBugfix from Tito to make sure /etc/group gets updated.
Rob Landley [Sun, 16 Jul 2006 18:58:18 +0000 (18:58 -0000)]
Bugfix from Tito to make sure /etc/group gets updated.

18 years agoNew mkswap. Small and simple. Might even work. :)
Rob Landley [Sun, 16 Jul 2006 08:17:03 +0000 (08:17 -0000)]
New mkswap.  Small and simple.  Might even work. :)

18 years agoCleaup read() and write() variants, plus a couple of new functions like
Rob Landley [Sun, 16 Jul 2006 08:14:35 +0000 (08:14 -0000)]
Cleaup read() and write() variants, plus a couple of new functions like
xlseek and fdlength() for the new mkswap.

18 years agoConvert setuid/setgid users to xsetuid/xsetgid.
Rob Landley [Sun, 16 Jul 2006 08:06:34 +0000 (08:06 -0000)]
Convert setuid/setgid users to xsetuid/xsetgid.

18 years agoAdd -Werror.
Rob Landley [Sun, 16 Jul 2006 08:03:29 +0000 (08:03 -0000)]
Add -Werror.

18 years agoWe need xsetuid() and xsetgid() because per-user process resource limits can
Rob Landley [Sat, 15 Jul 2006 23:00:46 +0000 (23:00 -0000)]
We need xsetuid() and xsetgid() because per-user process resource limits can
prevent a process from switching to a user that has too many processes, and
when that happens WE'RE STILL ROOT.  See http://lwn.net/Articles/190331/

18 years agoComment tweak from tito.
Rob Landley [Sat, 15 Jul 2006 19:46:46 +0000 (19:46 -0000)]
Comment tweak from tito.

18 years agoTito writes: If the gecos field of an user is empty, obscure reports a false "similar...
Mike Frysinger [Sat, 15 Jul 2006 03:59:00 +0000 (03:59 -0000)]
Tito writes: If the gecos field of an user is empty, obscure reports a false "similar to gecos" error.

18 years agoPatch from Suresh Rajashekara moving comments and #includes and such around.
Rob Landley [Fri, 14 Jul 2006 17:59:36 +0000 (17:59 -0000)]
Patch from Suresh Rajashekara moving comments and #includes and such around.

18 years agomention osuosl
Eric Andersen [Thu, 13 Jul 2006 00:52:29 +0000 (00:52 -0000)]
mention osuosl

18 years agoAdd the two busybox developers' home pages that have busybox related stuff
Rob Landley [Thu, 13 Jul 2006 00:10:33 +0000 (00:10 -0000)]
Add the two busybox developers' home pages that have busybox related stuff
on them.

18 years agoMore minor tweaks.
Rob Landley [Wed, 12 Jul 2006 21:31:16 +0000 (21:31 -0000)]
More minor tweaks.

18 years agodecuddle () from for/if/while
Mike Frysinger [Wed, 12 Jul 2006 20:04:00 +0000 (20:04 -0000)]
decuddle () from for/if/while

18 years agoA couple things that got tangled up in my tree, easier to check in both than
Rob Landley [Wed, 12 Jul 2006 19:17:55 +0000 (19:17 -0000)]
A couple things that got tangled up in my tree, easier to check in both than
untangle them:

Rewrite u_signal_names() into get_signum() and get_signame(), plus trim the
signal list to that required by posix (they can specify the numbers for
the rest if they really need them).  (This is preparatory cleanup for adding
a timeout applet like Roberto Foglietta wants.)

Export the itoa (added due to Denis Vlasenko, although it's not quite his
preferred implementation) from xfuncs.c so it's actually used, and remove
several other redundant implementations of itoa and utoa() in the tree.

18 years agoAdd one-line GPL boilerplate to numerous (but not all yet) source files.
"Robert P. J. Day" [Wed, 12 Jul 2006 07:56:04 +0000 (07:56 -0000)]
Add one-line GPL boilerplate to numerous (but not all yet) source files.

18 years agoPatch from Tito to remove pwd_to_spwd (which we don't actually need), with
Rob Landley [Tue, 11 Jul 2006 16:19:17 +0000 (16:19 -0000)]
Patch from Tito to remove pwd_to_spwd (which we don't actually need), with
some #ifdef removal from me.

18 years agoAdd one-line GPL boilerplate to these source files.
"Robert P. J. Day" [Tue, 11 Jul 2006 11:32:31 +0000 (11:32 -0000)]
Add one-line GPL boilerplate to these source files.

18 years agoDenis Vlasenko spotted the lack of bounds checking in my first attempt at
Rob Landley [Tue, 11 Jul 2006 00:44:36 +0000 (00:44 -0000)]
Denis Vlasenko spotted the lack of bounds checking in my first attempt at
itoa/utoa.

18 years agoUpgrade netcat a lot. Make -e able to take the rest of the command line as
Rob Landley [Mon, 10 Jul 2006 19:45:20 +0000 (19:45 -0000)]
Upgrade netcat a lot.  Make -e able to take the rest of the command line as
what to exec.  Add -f mode and a brief explanation of how to use it to replace
minicom.  Add -l -l mode so you can turn any command into a server.  And group
all of netcat's command line options under two CONFIG entries, so if you
disable both it doesn't use getopt at all.

18 years agoReplace current verbose GPL stuff in libbb/*.c with one-line GPL boilerplate.
"Robert P. J. Day" [Mon, 10 Jul 2006 11:41:19 +0000 (11:41 -0000)]
Replace current verbose GPL stuff in libbb/*.c with one-line GPL boilerplate.

18 years agoAdd itoa and utoa to see what Denis Vlasenko thinks.
Rob Landley [Mon, 10 Jul 2006 07:41:34 +0000 (07:41 -0000)]
Add itoa and utoa to see what Denis Vlasenko thinks.

18 years agoPatch from Tito to make syslog configurable and remove #ifdefs. Further
Rob Landley [Mon, 10 Jul 2006 03:05:46 +0000 (03:05 -0000)]
Patch from Tito to make syslog configurable and remove #ifdefs.  Further
cleanups by me.

18 years agoPatch from Shaun Jackman to set environment variable RUNLEVEL equal to
Rob Landley [Sun, 9 Jul 2006 17:28:17 +0000 (17:28 -0000)]
Patch from Shaun Jackman to set environment variable RUNLEVEL equal to
init's argv[1], so if you append "single" to your kernel command line and
the kernel doesn't parse it, RUNLELEL=single.

Plus a few unrelated header cleanups while I was in the area...

18 years agoBugfix from Shaun Jackman (check that argv[optind] isn't null before
Rob Landley [Sun, 9 Jul 2006 17:03:07 +0000 (17:03 -0000)]
Bugfix from Shaun Jackman (check that argv[optind] isn't null before
dereferencing it) plus a bunch of tweaks from me.

18 years agoPoint at fixes.patch for 1.2.1.
Rob Landley [Sat, 8 Jul 2006 18:11:00 +0000 (18:11 -0000)]
Point at fixes.patch for 1.2.1.

18 years agoFix tar so it can extract git-generated tarballs, based on a suggestion
Rob Landley [Thu, 6 Jul 2006 20:30:19 +0000 (20:30 -0000)]
Fix tar so it can extract git-generated tarballs, based on a suggestion
from Erik Frederiksen.

18 years agoAttempt to address Shaun Jackman's problem adding "busybox: busybox.bflt" to
Rob Landley [Thu, 6 Jul 2006 20:02:47 +0000 (20:02 -0000)]
Attempt to address Shaun Jackman's problem adding "busybox: busybox.bflt" to
.config.mak.

18 years agofix dependencies so that compressed usage gets rebuilt if
Paul Fox [Thu, 6 Jul 2006 20:00:43 +0000 (20:00 -0000)]
fix dependencies so that compressed usage gets rebuilt if
    a) include/usage.h is changed, and
    b) after "make clean".

18 years agoMinor build tweaks that save 1100 bytes building busybox on Ubuntu 6.06.
Rob Landley [Thu, 6 Jul 2006 17:22:54 +0000 (17:22 -0000)]
Minor build tweaks that save 1100 bytes building busybox on Ubuntu 6.06.

18 years agoFix three embarassing thinkos in the new dmesg.c:
Rob Landley [Thu, 6 Jul 2006 16:41:56 +0000 (16:41 -0000)]
Fix three embarassing thinkos in the new dmesg.c:
1) the c argument shouldn't have had a : after that, dunno how that got there.
2) the xgetlarg for level was using size
3) because xgetlarg's error message _SUCKS_ (it does a show_usage() rather than giving any specific info about the range that was violated) I dropped the range down to 2 bytes.  (Which works fine, I dunno why we were nit-picking about that...)

18 years agoBug fix from Vladimir Oleynic via Paul Fox for:
Rob Landley [Thu, 6 Jul 2006 01:09:21 +0000 (01:09 -0000)]
Bug fix from Vladimir Oleynic via Paul Fox for:
echo "+bond0" > /sys/class/net/bonding_masters
while true; do
  echo hello
done

18 years agofixes from ldoolitt@recycle.lbl.gov to use proper tab escaping and fix a typo
Mike Frysinger [Wed, 5 Jul 2006 22:19:21 +0000 (22:19 -0000)]
fixes from ldoolitt@recycle.lbl.gov to use proper tab escaping and fix a typo

18 years agoThis file doesn't appear to be used anywhere.
"Robert P. J. Day" [Wed, 5 Jul 2006 12:47:26 +0000 (12:47 -0000)]
This file doesn't appear to be used anywhere.

18 years ago- Pull r15593:
Bernhard Reutner-Fischer [Tue, 4 Jul 2006 08:26:55 +0000 (08:26 -0000)]
- Pull r15593:
  Rename to CROSS_COMPILE and move its configuration to .config.mak. (Shaun Jackman)

18 years agoDelete unused version.c file and corresponding function prototypes
"Robert P. J. Day" [Mon, 3 Jul 2006 18:11:39 +0000 (18:11 -0000)]
Delete unused version.c file and corresponding function prototypes
from blkid.h.  If this file needs to be resurrected, it can be
based on ext2fs/version.c.

18 years agoremove duplicate CONFIG_TASKSET option
Mike Frysinger [Mon, 3 Jul 2006 05:22:36 +0000 (05:22 -0000)]
remove duplicate CONFIG_TASKSET option

18 years agomake the -0 xargs option a little more clear
Mike Frysinger [Mon, 3 Jul 2006 05:19:44 +0000 (05:19 -0000)]
make the -0 xargs option a little more clear

18 years agoRemove the silly redundancy from that header file include.
"Robert P. J. Day" [Mon, 3 Jul 2006 00:46:47 +0000 (00:46 -0000)]
Remove the silly redundancy from that header file include.

18 years agoCorrect the comment to match the code.
"Robert P. J. Day" [Sun, 2 Jul 2006 19:52:52 +0000 (19:52 -0000)]
Correct the comment to match the code.

18 years agoStandardize on the vi editing directives being on the first line.
"Robert P. J. Day" [Sun, 2 Jul 2006 19:47:05 +0000 (19:47 -0000)]
Standardize on the vi editing directives being on the first line.

18 years agoAllow a user-configurable minimum password length.
"Robert P. J. Day" [Sun, 2 Jul 2006 18:35:39 +0000 (18:35 -0000)]
Allow a user-configurable minimum password length.

18 years ago- note that get_hz potentially needs cleanup.
Bernhard Reutner-Fischer [Sun, 2 Jul 2006 10:33:10 +0000 (10:33 -0000)]
- note that get_hz potentially needs cleanup.

18 years agoPatch from Shaun Jackman moving the var=value logic to here it can do some good.
Rob Landley [Sat, 1 Jul 2006 17:19:02 +0000 (17:19 -0000)]
Patch from Shaun Jackman moving the var=value logic to here it can do some good.

18 years agoYet more "#if 0" content removed.
"Robert P. J. Day" [Sat, 1 Jul 2006 15:09:17 +0000 (15:09 -0000)]
Yet more "#if 0" content removed.

18 years agoMore removal of "#if 0" content.
"Robert P. J. Day" [Sat, 1 Jul 2006 14:59:54 +0000 (14:59 -0000)]
More removal of "#if 0" content.

18 years agoMore removal of "#if 0" content.
"Robert P. J. Day" [Sat, 1 Jul 2006 14:52:12 +0000 (14:52 -0000)]
More removal of "#if 0" content.

18 years agoRemove "#if 0" content.
"Robert P. J. Day" [Sat, 1 Jul 2006 14:34:33 +0000 (14:34 -0000)]
Remove "#if 0" content.

18 years agoGet rid of all "#if 0" content.
"Robert P. J. Day" [Sat, 1 Jul 2006 14:30:28 +0000 (14:30 -0000)]
Get rid of all "#if 0" content.

18 years agoRemove all usage of the "register" storage class specifier.
"Robert P. J. Day" [Sat, 1 Jul 2006 13:08:46 +0000 (13:08 -0000)]
Remove all usage of the "register" storage class specifier.

18 years agoRemove "#if 1" directives.
"Robert P. J. Day" [Sat, 1 Jul 2006 12:19:39 +0000 (12:19 -0000)]
Remove "#if 1" directives.

18 years agoAnnoint 1.2.0.
Rob Landley [Fri, 30 Jun 2006 22:40:13 +0000 (22:40 -0000)]
Annoint 1.2.0.

18 years agoRevert taskset for 1.2.0. It emits a warning, breaks building under RH9,
Rob Landley [Fri, 30 Jun 2006 22:20:43 +0000 (22:20 -0000)]
Revert taskset for 1.2.0.  It emits a warning, breaks building under RH9,
and nobody seemed interested in fixing it despite repeated complaints.
I'll worry about it in the 1.3 timeframe...

18 years ago- Give Rob Landley things TODO like depmod
Ned Ludd [Fri, 30 Jun 2006 21:48:38 +0000 (21:48 -0000)]
- Give Rob Landley things TODO like depmod

18 years agoMake another warning go away.
Rob Landley [Fri, 30 Jun 2006 20:30:10 +0000 (20:30 -0000)]
Make another warning go away.

18 years agoMake warnings go away.
Rob Landley [Fri, 30 Jun 2006 19:04:09 +0000 (19:04 -0000)]
Make warnings go away.

18 years agoMore random todo items...
Rob Landley [Fri, 30 Jun 2006 16:38:09 +0000 (16:38 -0000)]
More random todo items...

18 years agoThis kind of paranoia is a debug option at best.
Rob Landley [Fri, 30 Jun 2006 16:36:56 +0000 (16:36 -0000)]
This kind of paranoia is a debug option at best.

18 years agoFix bug 744 by moving the flushing logic into the exhausted read buffer test.
Rob Landley [Fri, 30 Jun 2006 16:35:40 +0000 (16:35 -0000)]
Fix bug 744 by moving the flushing logic into the exhausted read buffer test.
(Also some other minor cleanups while I was there, shouldn't affect the
resulting binary.)

18 years agoBug http://bugs.busybox.net/view.php?id=723 - initialize tv1 the first time
Rob Landley [Fri, 30 Jun 2006 14:05:19 +0000 (14:05 -0000)]
Bug bugs.busybox.net/view.php?id=723 - initialize tv1 the first time
through the loop.

18 years agofix from Kolbjørn Barmen for building for m68k targets
Mike Frysinger [Fri, 30 Jun 2006 02:53:56 +0000 (02:53 -0000)]
fix from Kolbjørn Barmen for building for m68k targets

18 years agoSome old kernel headers don't #include BLKSSZGET in sys/mount.h.
Rob Landley [Thu, 29 Jun 2006 19:00:12 +0000 (19:00 -0000)]
Some old kernel headers don't #include BLKSSZGET in sys/mount.h.

18 years agoMinor update on init not working.
Rob Landley [Thu, 29 Jun 2006 04:59:11 +0000 (04:59 -0000)]
Minor update on init not working.

18 years agoFix bug http://bugs.busybox.net/view.php?id=874 where hexdump -C got its
Rob Landley [Wed, 28 Jun 2006 14:36:50 +0000 (14:36 -0000)]
Fix bug bugs.busybox.net/view.php?id=874 where hexdump -C got its
spacing wrong.

18 years agoTop was catching sigterm (and fumbling sigint) so it could reset the terminal
Rob Landley [Wed, 28 Jun 2006 14:11:25 +0000 (14:11 -0000)]
Top was catching sigterm (and fumbling sigint) so it could reset the terminal
type on the way out, but the signal handler didn't exit.  Plus it did
unnecessary things with sigaction.  This code is overgrown and needs a serious
weed-whacking...

18 years agoFix http://bugs.busybox.net/view.php?id=826 in which "(echo; echo) | sed x"
Rob Landley [Wed, 28 Jun 2006 13:50:59 +0000 (13:50 -0000)]
Fix bugs.busybox.net/view.php?id=826 in which "(echo; echo) | sed x"
crashes because the empty state of the hold space is NULL but the empty
state of the pattern space is "".

18 years agocleanup patch usage
Mike Frysinger [Wed, 28 Jun 2006 00:22:32 +0000 (00:22 -0000)]
cleanup patch usage

18 years agoMore website cleanup.
Rob Landley [Tue, 27 Jun 2006 22:33:22 +0000 (22:33 -0000)]
More website cleanup.

18 years agoMove 2005 and earlier to oldnews.
Rob Landley [Tue, 27 Jun 2006 21:29:56 +0000 (21:29 -0000)]
Move 2005 and earlier to oldnews.

18 years agoRedo the license section completely, and update the header to group the tabs.
Rob Landley [Tue, 27 Jun 2006 20:47:08 +0000 (20:47 -0000)]
Redo the license section completely, and update the header to group the tabs.

18 years agoMove documentation links into the index so they're more visible.
Rob Landley [Tue, 27 Jun 2006 18:59:57 +0000 (18:59 -0000)]
Move documentation links into the index so they're more visible.

18 years agoPatch from Geoff Baker to fix bug http://bugs.busybox.net/view.php?id=905 by
Rob Landley [Tue, 27 Jun 2006 18:41:03 +0000 (18:41 -0000)]
Patch from Geoff Baker to fix bug bugs.busybox.net/view.php?id=905 by
changing wget's ftp code not to chdir but to use the complete path each time.

18 years agoFix http://bugs.busybox.net/view.php?id=906 which could cause failures in top.
Rob Landley [Tue, 27 Jun 2006 18:14:12 +0000 (18:14 -0000)]
Fix bugs.busybox.net/view.php?id=906 which could cause failures in top.

18 years agoProperly print the output for a sit (IPv6-in-IPv4) interface.
"Robert P. J. Day" [Mon, 26 Jun 2006 22:03:43 +0000 (22:03 -0000)]
Properly print the output for a sit (IPv6-in-IPv4) interface.

18 years agoAesthetic fix to use newer structure initialization format.
"Robert P. J. Day" [Mon, 26 Jun 2006 21:54:57 +0000 (21:54 -0000)]
Aesthetic fix to use newer structure initialization format.

18 years agofix watchdog on no-mmu systems by adding -F option for rexec
Mike Frysinger [Mon, 26 Jun 2006 21:31:17 +0000 (21:31 -0000)]
fix watchdog on no-mmu systems by adding -F option for rexec

18 years agodont setpgrp() for now as it breaks system() and that is more important than ctrl...
Mike Frysinger [Mon, 26 Jun 2006 20:42:36 +0000 (20:42 -0000)]
dont setpgrp() for now as it breaks system() and that is more important than ctrl+c handling of background processes

18 years agoUpgrade mdev to allow commands to be run on create/delete.
Rob Landley [Mon, 26 Jun 2006 14:11:33 +0000 (14:11 -0000)]
Upgrade mdev to allow commands to be run on create/delete.

Both Jason Schoon and Giuseppe Ciotta deserve credit for this, I used elements
of both.  It's been upgraded so that you can specify that a given command
should run at create, at delete, or at both using different special characters
(@, $, and * respectively).  It uses the system() method of running command
lines which means you can use environment variables on the command line (it
sets $MDEV to the name of the current device being created/deleted, which is
useful if you matched it via regex), and the documentation warns that you need
a /bin/sh to make that work, so you probably want to pick a default shell.

18 years agoMissed one. Based on suggestions from Erik Hovland.
Rob Landley [Sun, 25 Jun 2006 22:59:31 +0000 (22:59 -0000)]
Missed one.  Based on suggestions from Erik Hovland.

18 years agoVarious cleanups I made while going through Erik Hovland's patch submissions,
Rob Landley [Sun, 25 Jun 2006 22:39:24 +0000 (22:39 -0000)]
Various cleanups I made while going through Erik Hovland's patch submissions,
some of which are even from him. :)

18 years ago- convert old-style parameter declarations (K&R) to modern style.
Bernhard Reutner-Fischer [Sun, 25 Jun 2006 22:08:53 +0000 (22:08 -0000)]
- convert old-style parameter declarations (K&R) to modern style.