platform/upstream/toybox.git
11 years agoAdd posix headers to toynet.h, move xioctl() to lib.c, introduce lib/net.c and move...
Rob Landley [Fri, 26 Apr 2013 07:41:05 +0000 (02:41 -0500)]
Add posix headers to toynet.h, move xioctl() to lib.c, introduce lib/net.c and move xsocket() to it.

11 years agoRemove leaked global path_mounts.
Rob Landley [Fri, 26 Apr 2013 06:59:13 +0000 (01:59 -0500)]
Remove leaked global path_mounts.

11 years agoEliminate leaked global bunzip_errors.
Rob Landley [Fri, 26 Apr 2013 06:47:59 +0000 (01:47 -0500)]
Eliminate leaked global bunzip_errors.

11 years agoQuick sniff test to find leaked global variables.
Rob Landley [Fri, 26 Apr 2013 06:46:03 +0000 (01:46 -0500)]
Quick sniff test to find leaked global variables.

11 years agoAnd another round of ifconfig cleanup.
Rob Landley [Thu, 25 Apr 2013 05:19:51 +0000 (00:19 -0500)]
And another round of ifconfig cleanup.

11 years agoYet more drive-by cleanup of ifconfig.
Rob Landley [Thu, 25 Apr 2013 02:52:08 +0000 (21:52 -0500)]
Yet more drive-by cleanup of ifconfig.

11 years agoIsaac Dunham pointed out that the kernel treats - and _ as identical in module names...
Rob Landley [Wed, 24 Apr 2013 08:04:31 +0000 (03:04 -0500)]
Isaac Dunham pointed out that the kernel treats - and _ as identical in module names, so modinfo should too. Made it use mmap() while I was there, and some cosmetic refactoring.

11 years agoForgot to check in a header that moved from ifconfig to toynet.h.
Rob Landley [Mon, 22 Apr 2013 06:56:26 +0000 (01:56 -0500)]
Forgot to check in a header that moved from ifconfig to toynet.h.

11 years agoMore find cleanup
Felix Janda [Sun, 21 Apr 2013 21:45:35 +0000 (23:45 +0200)]
More find cleanup

11 years agoMore find cleanup
Felix Janda [Sat, 20 Apr 2013 15:25:41 +0000 (17:25 +0200)]
More find cleanup

11 years agoFix some comments from way back when toybox first started (in 2006), when I was still...
Rob Landley [Sun, 21 Apr 2013 17:15:59 +0000 (12:15 -0500)]
Fix some comments from way back when toybox first started (in 2006), when I was still cleaning busybox-isms out of my head...

11 years agostat cleanup
Felix Janda [Fri, 19 Apr 2013 22:18:17 +0000 (00:18 +0200)]
stat cleanup

11 years agostat: Reindent from 4 to 2 spaces
Felix Janda [Fri, 19 Apr 2013 19:29:36 +0000 (21:29 +0200)]
stat: Reindent from 4 to 2 spaces

11 years agoMore ifconfig cleanup.
Rob Landley [Sun, 21 Apr 2013 04:33:48 +0000 (23:33 -0500)]
More ifconfig cleanup.

11 years agoifconfig cleanup (Reorder functions to eliminate need for prototypes, put main at...
Rob Landley [Sat, 20 Apr 2013 18:43:55 +0000 (13:43 -0500)]
ifconfig cleanup (Reorder functions to eliminate need for prototypes, put main at end).

11 years agoCommit 818 simplified the license text in the source tarball, this gets the web copy.
Rob Landley [Sat, 20 Apr 2013 18:30:45 +0000 (13:30 -0500)]
Commit 818 simplified the license text in the source tarball, this gets the web copy.

11 years agofind: Improve operator processing
Felix Janda [Thu, 18 Apr 2013 20:37:09 +0000 (22:37 +0200)]
find: Improve operator processing

11 years agoAnother round of ifconfig cleanup.
Rob Landley [Sat, 20 Apr 2013 01:08:35 +0000 (20:08 -0500)]
Another round of ifconfig cleanup.

11 years agoAdd -f to chmod (just turns off -v).
Rob Landley [Wed, 17 Apr 2013 05:15:12 +0000 (00:15 -0500)]
Add -f to chmod (just turns off -v).

11 years agoMore ifconfig cleanup.
Rob Landley [Wed, 17 Apr 2013 04:49:47 +0000 (23:49 -0500)]
More ifconfig cleanup.

11 years agoFix the help commit I screwed up, and replace leading tabs with spaces.
Rob Landley [Wed, 17 Apr 2013 04:09:50 +0000 (23:09 -0500)]
Fix the help commit I screwed up, and replace leading tabs with spaces.

11 years agoMore ifconfig cleanup.
Rob Landley [Wed, 17 Apr 2013 04:01:22 +0000 (23:01 -0500)]
More ifconfig cleanup.

11 years agoIsaac Dunham's help string cleanup.
Rob Landley [Wed, 17 Apr 2013 03:55:14 +0000 (22:55 -0500)]
Isaac Dunham's help string cleanup.

11 years agoMake genconfig use CFLAGS because building against a libc that isn't installed on...
Rob Landley [Wed, 17 Apr 2013 03:45:47 +0000 (22:45 -0500)]
Make genconfig use CFLAGS because building against a libc that isn't installed on the host may need --static to run the results.

11 years agoAdd tests for find's expression parsing
Felix Janda [Sun, 14 Apr 2013 10:45:36 +0000 (12:45 +0200)]
Add tests for find's expression parsing

11 years agoMove guts of help command into show_help() in lib/help.c, with config TOYBOX_HELP...
Rob Landley [Mon, 15 Apr 2013 02:43:22 +0000 (21:43 -0500)]
Move guts of help command into show_help() in lib/help.c, with config TOYBOX_HELP controlling infrastructure.

11 years agoTweak help text.
Rob Landley [Sun, 14 Apr 2013 17:35:25 +0000 (12:35 -0500)]
Tweak help text.

11 years agoifconfig uses __caddr_t in one location; this is not guaranteed to work everywhere...
Isaac Dunham [Sun, 14 Apr 2013 07:58:12 +0000 (02:58 -0500)]
ifconfig uses __caddr_t in one location; this is not guaranteed to work everywhere. It does not compile OOB on musl, so I changed it to the portable equivalent, char *.  This compiles on musl, and should compile anywhere.

11 years agoConvert tabs to spaces.
Rob Landley [Sat, 13 Apr 2013 01:12:02 +0000 (20:12 -0500)]
Convert tabs to spaces.

11 years agoxzcat: more cleanup and some shrinking.
Isaac Dunham [Sat, 13 Apr 2013 01:08:47 +0000 (20:08 -0500)]
xzcat: more cleanup and some shrinking.

-drop __always_inline (c. 1.5k of binary size),
-remove the xz_dec_bcj_end and memzero macros
(memeq is left because of negative returns),
-disable XZ_DEC_SINGLE and XZ_DEC_PREALLOC, since we aren't using them.
(160 bytes)
-Merge xz_dec_lzma2_end into xz_dec_end
-Move xz_crc32 to where it's defined.
(That does not seem to be duplicated elsewhere in toybox.)

11 years agouuencode tweak: output a non-whitespace character for 0 in traditional mode.
Rob Landley [Fri, 12 Apr 2013 01:44:27 +0000 (20:44 -0500)]
uuencode tweak: output a non-whitespace character for 0 in traditional mode.

11 years agoMore ifconfig cleanup.
Rob Landley [Thu, 11 Apr 2013 22:32:01 +0000 (17:32 -0500)]
More ifconfig cleanup.

11 years agoMore xzcat cleanup.
Rob Landley [Thu, 11 Apr 2013 17:04:43 +0000 (12:04 -0500)]
More xzcat cleanup.

11 years agoMore of same.
Isaac Dunham [Thu, 11 Apr 2013 16:31:51 +0000 (11:31 -0500)]
More of same.
Actually, it's not quite the same:
-use crc_init(xz_crc32_table,1) -- I guessed on this one based on a match between magic constants, then tested it. First try was wrong, but this works.
(This is the sole difference in terms of actual _code_, as opposed to cleaning up defines and the like--here, it adds 48 bytes to final size if xzcat is the only toy, but drops 32 bytes if bzcat is also enabled...)
-Move some crc64 code to where the comments are. This puts them near the area where they're used.
-Remove some relics of separate files (we had half a dozen "this file is in the public domain" notices, a duplicate include, and used extern declarations for functions in the samefile)

11 years agoMore cleanup on find.
Rob Landley [Thu, 11 Apr 2013 03:30:02 +0000 (22:30 -0500)]
More cleanup on find.

11 years agoRedo find's indenting from tabs to two spaces.
Rob Landley [Thu, 11 Apr 2013 00:58:21 +0000 (19:58 -0500)]
Redo find's indenting from tabs to two spaces.

11 years agoPartial cleanup of find
Felix Janda [Wed, 10 Apr 2013 17:25:06 +0000 (19:25 +0200)]
Partial cleanup of find

- Remove unnecessary headers
- dump_node is not used anywhere
- exec_buf is unused
- Replace SUCCESS with 1 and simplify code accordingly
- a==0 -> !a
- Simplify an incremation pattern using pre-increments
- Add static keyword to functions
- Make error messages print to stderr

11 years agoSome xzcat cleanup by Isaac Dunham.
Rob Landley [Wed, 10 Apr 2013 06:48:24 +0000 (01:48 -0500)]
Some xzcat cleanup by Isaac Dunham.

11 years agoFix argument parsing so -- doesn't include itself in output.
Rob Landley [Sun, 7 Apr 2013 00:57:54 +0000 (19:57 -0500)]
Fix argument parsing so -- doesn't include itself in output.

11 years agoMore ifconfig cleanups, mostly removing unused code.
Rob Landley [Fri, 5 Apr 2013 05:35:05 +0000 (00:35 -0500)]
More ifconfig cleanups, mostly removing unused code.

11 years agoDrive-by cleanup on ifconfig.
Rob Landley [Fri, 5 Apr 2013 01:27:08 +0000 (20:27 -0500)]
Drive-by cleanup on ifconfig.

11 years agoAn ifconfig bugfix from the original submitter.
Rob Landley [Fri, 5 Apr 2013 00:39:44 +0000 (19:39 -0500)]
An ifconfig bugfix from the original submitter.

11 years agoKyungwan Han submitted ifconfig.
Rob Landley [Tue, 2 Apr 2013 06:58:18 +0000 (01:58 -0500)]
Kyungwan Han submitted ifconfig.

11 years agoClean uudecode up the rest of the way, move pending->posix and default y.
Rob Landley [Tue, 2 Apr 2013 06:34:34 +0000 (01:34 -0500)]
Clean uudecode up the rest of the way, move pending->posix and default y.

11 years agoMore uudecode cleanup.
Rob Landley [Fri, 29 Mar 2013 04:33:27 +0000 (23:33 -0500)]
More uudecode cleanup.

11 years agoMore uudecode cleanup.
Rob Landley [Fri, 29 Mar 2013 03:29:50 +0000 (22:29 -0500)]
More uudecode cleanup.

11 years agoChange uuencode test to match what other uuencode implementations actually produce.
Rob Landley [Fri, 29 Mar 2013 00:28:27 +0000 (19:28 -0500)]
Change uuencode test to match what other uuencode implementations actually produce.

11 years agoWhere I left off on analysis of other multicall binaries...
Rob Landley [Thu, 28 Mar 2013 03:34:28 +0000 (22:34 -0500)]
Where I left off on analysis of other multicall binaries...

11 years agoIncremental cleanup of uudecode.
Rob Landley [Wed, 27 Mar 2013 05:52:17 +0000 (00:52 -0500)]
Incremental cleanup of uudecode.

11 years agoFix the USE() macro around NEWTOY, tweak help text, remove unnecessary wrapper, tweak...
Rob Landley [Wed, 27 Mar 2013 05:10:58 +0000 (00:10 -0500)]
Fix the USE() macro around NEWTOY, tweak help text, remove unnecessary wrapper, tweak whitespace and curly brackets.

11 years agouudecode test should just call "uudecode" (not multiplexer via a path), and first...
Rob Landley [Wed, 27 Mar 2013 05:04:43 +0000 (00:04 -0500)]
uudecode test should just call "uudecode" (not multiplexer via a path), and first test shouldn't succeed if toybox isn't even there.

11 years agoAdd help text for pending test command. (No actual implementation yet.)
Rob Landley [Wed, 27 Mar 2013 03:31:10 +0000 (22:31 -0500)]
Add help text for pending test command. (No actual implementation yet.)

11 years agoFinish uuencode cleanup, default y, move it from pending to posix.
Rob Landley [Tue, 26 Mar 2013 06:49:18 +0000 (01:49 -0500)]
Finish uuencode cleanup, default y, move it from pending to posix.

11 years agoFirst round of uuencode cleanup: generate table, tweak help text, remove unnecessary...
Rob Landley [Mon, 25 Mar 2013 03:35:32 +0000 (22:35 -0500)]
First round of uuencode cleanup: generate table, tweak help text, remove unnecessary output buffers, simplify base64 functions..

11 years agoLogger, by Ilya Kuzmich.
Rob Landley [Sun, 24 Mar 2013 22:20:47 +0000 (17:20 -0500)]
Logger, by Ilya Kuzmich.

11 years agouuencode/decode tests and tweaks from Erich Plondke.
Rob Landley [Fri, 22 Mar 2013 05:26:12 +0000 (00:26 -0500)]
uuencode/decode tests and tweaks from Erich Plondke.

11 years agoFix a bug in patch I fixed back in 2010 but forgot to apply here.
Rob Landley [Fri, 22 Mar 2013 04:23:49 +0000 (23:23 -0500)]
Fix a bug in patch I fixed back in 2010 but forgot to apply here.

11 years agoUpdate news page and link to ELC 2013 talk on toybox.
Rob Landley [Fri, 22 Mar 2013 01:21:12 +0000 (20:21 -0500)]
Update news page and link to ELC 2013 talk on toybox.

11 years agoAdd -a to who and switch to default y in defconfig.
Rob Landley [Thu, 21 Mar 2013 05:20:02 +0000 (00:20 -0500)]
Add -a to who and switch to default y in defconfig.

11 years agoExplain that code in the "pending" directory isn't necessarily ready for prime time.
Rob Landley [Wed, 20 Mar 2013 05:59:56 +0000 (00:59 -0500)]
Explain that code in the "pending" directory isn't necessarily ready for prime time.

11 years agouuencode and uudecode by Erich Plondke.
Rob Landley [Mon, 18 Mar 2013 14:11:21 +0000 (09:11 -0500)]
uuencode and uudecode by Erich Plondke.

11 years agoThe old nbd-client I wrote in 2010. Needs cleanup.
Rob Landley [Mon, 18 Mar 2013 14:04:51 +0000 (09:04 -0500)]
The old nbd-client I wrote in 2010. Needs cleanup.

11 years agoRemove unused min/max macros.
Rob Landley [Sun, 17 Mar 2013 22:57:28 +0000 (17:57 -0500)]
Remove unused min/max macros.

11 years agoMove mdev into the pending directory, since it's not done yet.
Rob Landley [Sat, 16 Mar 2013 15:54:38 +0000 (10:54 -0500)]
Move mdev into the pending directory, since it's not done yet.

11 years agoIsaac Dunham took the public domain xz-embedded code and made an xzcat. I glued all...
Rob Landley [Sat, 16 Mar 2013 01:16:25 +0000 (20:16 -0500)]
Isaac Dunham took the public domain xz-embedded code and made an xzcat. I glued all his files together into one big one and threw it in pending. It needs something between cleanup and a complete rewrite.

11 years agoSimplify license text, as mentioned on the mailing list.
Rob Landley [Thu, 14 Mar 2013 14:02:37 +0000 (09:02 -0500)]
Simplify license text, as mentioned on the mailing list.

Reasoning: it was never my intent to require anybody to copy license
text into another project if they cut and pasted something out of
toybox. The "permission for any purpose" is as close to public domain
as you can get in our current screwed up legal system without making
people uncomfortable the _other_ way. (Besides, my initial reading of
that was "all copies of the source code" but that's not what it says,
and somebody pointed out that Android has "show license text" options
because paranoid lawyers think that sort of thing applies to the BINARY
version, which is nuts.)

11 years agoAdded tag 0.4.4 for changeset 52e69f6710ca
Rob Landley [Wed, 13 Mar 2013 23:03:09 +0000 (18:03 -0500)]
Added tag 0.4.4 for changeset 52e69f6710ca

11 years agoRemove more debug code from find.
Rob Landley [Wed, 13 Mar 2013 05:39:51 +0000 (00:39 -0500)]
Remove more debug code from find.

11 years agoA couple quick fixes to find so I can try it out.
Rob Landley [Wed, 13 Mar 2013 05:34:56 +0000 (00:34 -0500)]
A couple quick fixes to find so I can try it out.

11 years agoFind by Gurang Shastri.
Rob Landley [Wed, 13 Mar 2013 05:27:40 +0000 (00:27 -0500)]
Find by Gurang Shastri.

11 years agoCompile time probe to fish O_NOFOLLOW out of linux headers when fcntl doesn't conform... 0.4.4
Rob Landley [Tue, 12 Mar 2013 03:23:46 +0000 (22:23 -0500)]
Compile time probe to fish O_NOFOLLOW out of linux headers when fcntl doesn't conform to posix-2008.

11 years agoO_NOFOLLOW is specified by posix-2008 and varies by target, don't try to supply them...
Rob Landley [Sat, 9 Mar 2013 18:01:36 +0000 (12:01 -0600)]
O_NOFOLLOW is specified by posix-2008 and varies by target, don't try to supply them for broken headers.

11 years agoCall stat "stat" instead of "st" in menuconfig. Use xmalloc() instead of malloc.
Rob Landley [Tue, 5 Mar 2013 09:06:42 +0000 (03:06 -0600)]
Call stat "stat" instead of "st" in menuconfig. Use xmalloc() instead of malloc.
perror_msg() sets return code already. Truncate long english messages that
don't get translated. Don't return int from a function hardwired to always
return 0. Don't test for that hardwired return value to change and print an
error message that can never happen and would be a duplicate anyway.
More whitespace cleanup. C does not require typecasting void *.
Remove 404 URL to stat.html that isn't in posix.

11 years agoFix whitespace in submitted stat command.
Rob Landley [Tue, 5 Mar 2013 08:48:12 +0000 (02:48 -0600)]
Fix whitespace in submitted stat command.

11 years agoFix another allyesconfig build break in the pending directory.
Rob Landley [Tue, 5 Mar 2013 08:33:12 +0000 (02:33 -0600)]
Fix another allyesconfig build break in the pending directory.

11 years agoSed's still just a stub, but clean it up enough so it at least compiles.
Rob Landley [Sun, 24 Feb 2013 19:48:15 +0000 (13:48 -0600)]
Sed's still just a stub, but clean it up enough so it at least compiles.

11 years agoAdd readahead.
Rob Landley [Sun, 24 Feb 2013 18:51:40 +0000 (12:51 -0600)]
Add readahead.

11 years agoComment updates and a policy statement about avoiding #define GNU_dammit
Rob Landley [Sun, 24 Feb 2013 17:11:02 +0000 (11:11 -0600)]
Comment updates and a policy statement about avoiding #define GNU_dammit

11 years agoAccumulated web page changes. (Release announcement for previous release, roadmap...
Rob Landley [Sun, 24 Feb 2013 00:32:08 +0000 (18:32 -0600)]
Accumulated web page changes. (Release announcement for previous release, roadmap updates, etc.)

11 years agoFix a warning when debug code enabled.
Rob Landley [Fri, 22 Feb 2013 18:03:17 +0000 (12:03 -0600)]
Fix a warning when debug code enabled.

11 years agoMove some unfinished commands to the "pending" directory.
Rob Landley [Fri, 22 Feb 2013 17:22:01 +0000 (11:22 -0600)]
Move some unfinished commands to the "pending" directory.

11 years agoImplement cp -s option.
Rob Landley [Mon, 11 Feb 2013 00:04:15 +0000 (18:04 -0600)]
Implement cp -s option.

11 years agoTweak cmp test to be a little more deterministic.
Rob Landley [Tue, 5 Feb 2013 04:33:27 +0000 (22:33 -0600)]
Tweak cmp test to be a little more deterministic.

11 years agoMore support for old (~2008) build environments, move the #ifdef checks for symbols...
Rob Landley [Mon, 4 Feb 2013 14:07:32 +0000 (08:07 -0600)]
More support for old (~2008) build environments, move the #ifdef checks for symbols out of specific library version checks (shouldn't hurt anything), remove obsolete debug macro.

11 years agoSome older build environments don't have LOOP_CTL_GET_FREE or LOOP_SET_CAPACITY....
Rob Landley [Sun, 3 Feb 2013 23:04:36 +0000 (17:04 -0600)]
Some older build environments don't have LOOP_CTL_GET_FREE or LOOP_SET_CAPACITY. Substitute constants so they can get the rest of losetup without a build break.

11 years agoFix -in behavior: descend into existing directory without prompting, show full path...
Rob Landley [Thu, 31 Jan 2013 10:13:07 +0000 (04:13 -0600)]
Fix -in behavior: descend into existing directory without prompting, show full path in error messages, actually overwrite when answering yes to -i.

11 years agoWrong closing tag in roadmap.html.
Rob Landley [Thu, 31 Jan 2013 10:05:56 +0000 (04:05 -0600)]
Wrong closing tag in roadmap.html.

11 years agoid: make "id -Gn root" print root's groups instead of current user (and without leadi...
Rob Landley [Thu, 31 Jan 2013 10:05:02 +0000 (04:05 -0600)]
id: make "id -Gn root" print root's groups instead of current user (and without leading space), enforce max 1 argument and at most one of Ggu.

11 years agoAdd time command (that only does posix mode).
Rob Landley [Thu, 31 Jan 2013 07:56:57 +0000 (01:56 -0600)]
Add time command (that only does posix mode).

11 years agoAdded tag 0.4.3 for changeset f8f5ddb6b69a
Rob Landley [Fri, 18 Jan 2013 12:52:52 +0000 (06:52 -0600)]
Added tag 0.4.3 for changeset f8f5ddb6b69a

11 years agoAdjust umask(0) for cp -p so mknod doesn't have to try to fchmodat() without the... 0.4.3
Rob Landley [Fri, 18 Jan 2013 12:03:00 +0000 (06:03 -0600)]
Adjust umask(0) for cp -p so mknod doesn't have to try to fchmodat() without the unsupported symlink nofollow flag.

11 years agoSwitch readlink on by default, and fill out readlink.test.
Rob Landley [Fri, 18 Jan 2013 05:18:03 +0000 (23:18 -0600)]
Switch readlink on by default, and fill out readlink.test.

11 years agoFix xabspath() resolving symlink after .., and properly detecting failure for last...
Rob Landley [Fri, 18 Jan 2013 05:16:38 +0000 (23:16 -0600)]
Fix xabspath() resolving symlink after .., and properly detecting failure for last entry after nondir.

11 years agoMake "sudo cp -rp /dev/null blah" work. Still not happy with it, fchmodat(AT_SYMLINK_...
Rob Landley [Wed, 16 Jan 2013 12:57:44 +0000 (06:57 -0600)]
Make "sudo cp -rp /dev/null blah" work. Still not happy with it, fchmodat(AT_SYMLINK_NOFOLLOW) doesn't work (there's a glibc bug open for this. It's really a missing kernel syscall, but glibc fails without ever making any syscall if you feed it that flag, which isn't helpful).

11 years agoWork around more random uClibc-specific breakage.
Rob Landley [Tue, 15 Jan 2013 18:33:46 +0000 (12:33 -0600)]
Work around more random uClibc-specific breakage.

11 years agoSilence deeply stupid gcc warning. (First non-declaration line of function: if (file...
Rob Landley [Mon, 14 Jan 2013 11:25:19 +0000 (05:25 -0600)]
Silence deeply stupid gcc warning. (First non-declaration line of function: if (file) ffd = open(); at end of of function: if (file) close(ffd); "file" is an argument to the function and nothing else assigns to it. gcc warning on that close, "ffd may be used uninitialized!" _HOW_?)

11 years agoRevert some debug code accidentally checked in at commit 715.
Rob Landley [Sun, 13 Jan 2013 19:48:25 +0000 (13:48 -0600)]
Revert some debug code accidentally checked in at commit 715.

11 years agoUpdate -p and -f to apply properly to various conditions. Still some bugs to squeeze...
Rob Landley [Sat, 12 Jan 2013 07:40:16 +0000 (01:40 -0600)]
Update -p and -f to apply properly to various conditions. Still some bugs to squeeze out but this gets the infrastructure mostly right (and does away with the remaining gotos).

11 years agoTeach cp to do -n.
Rob Landley [Fri, 11 Jan 2013 02:19:23 +0000 (20:19 -0600)]
Teach cp to do -n.

11 years agoTeach cp to do mknod.
Rob Landley [Wed, 9 Jan 2013 11:16:48 +0000 (05:16 -0600)]
Teach cp to do mknod.