Mercurial > hg > toybox
view www/status.html @ 1087:b73a61542297 draft
I've finally gotten 'cpio' into a shape where it could be useable.
This version can archive and extract directories, sockets, FIFOs, devices,
symlinks, and regular files.
Supported options are -iot, -H FMT (which is a dummy right now).
It only writes newc, and could read newc or newcrc.
This does NOT implement -d, which essentially is equivalent to
mkdir -p $(dirname $FILE)
for every file that needs it.
Hard links are not supported, though it would be easy to add them given
a hash table or something like that.
I also have not implemented the "<n> blocks" output on stderr.
If desired, I can add it pretty simply.
There is one assumption this makes: that the mode of a file, as mode_t,
is bitwise equivalent to the mode as defined for the cpio format.
This is true of Linux, but is not mandated by POSIX.
If it is compiled for a system where that is false, the archives will
not be portable.
author | Isaac Dunham <ibid.ag@gmail.com> |
---|---|
date | Mon, 14 Oct 2013 11:15:22 -0500 |
parents | 6b4529a50b72 |
children | 94eb7b9127d2 |
line wrap: on
line source
<!--#include file="header.html" --> <title>Toybox Status</title> <h1>How are we doing on implementing stuff so far?</h1> <p>Legend: [posix] <lsb> (development) {android} =klibc= #sash# @sbase@ *beastiebox* +request+ other <strike>implemented</strike></p> <!--#include file="status.gen" --> <h1>The current status of toybox (as of 0.4.5 release):</h1> <h3><u>These commands are reasonably finished</u>:</h3> <blockquote><b> <span id=ready> basename cal cat catv chgrp chmod chown chvt cksum clear cmp comm count cp df dirname dmesg dos2unix echo egrep env false fgrep gethostname grep groups killall link logname losetup ls lsmod md5sum mkdir mkfifo mkswap mktemp mv nice nohup od oneit paste pivot_root pmap pwd readahead realpath renice rev rm seq setsid sha1sum sleep sort split stat swapoff swapon sync tac taskset tee time timeout true truncate tty uniq unix2dos unlink usleep uudecode uuencode wc which whoami yes </span> </b></blockquote> <h3><u>These commands are implemented but have pending todo items remaining:</u></h3> <blockquote><b> <span id=pending> bzcat bunzip2 chroot cut date du expand free head help hostname id ifconfig insmod kill ln login lsusb mdev mknod modinfo mountpoint nc netcat passwd patch pidof printenv readlink rmdir rmmod switch_root tail touch uname unshare uptime vconfig vmstat w who xargs </span> </b></blockquote> <h3><u>Work on these is underway, but not usable yet:</u></h3> <blockquote><b> bzip2 mke2fs more mount umount sed tar sh grep/egrep/fgrep </blockquote></b> <p>See <a href="todo.txt">the todo list</a> for details.</p> <!-- #include "footer.html" -->