aboutsummaryrefslogtreecommitdiff
path: root/toys
AgeCommit message (Collapse)Author
2007-10-19Get toysh.c to start using the option parsing logic, and some minor cleanup.Rob Landley
2007-10-11Promote help to global config option, teach error_exit() to output usage ↵Rob Landley
message when called from get_optflags().
2007-10-04Break out dirtree.c and let it call a function instead of returning the data.Rob Landley
2007-09-05Missing config dependency: The mdev config file should depend on mdev.Rob Landley
2007-08-29Add "help" command. (Building help/help.h requires python, but I'll shipRob Landley
that file with release versions.)
2007-06-18Fix READLINK_F dependency.Rob Landley
2007-06-18Change defaults of working commands to yes, so "make defconfig" is moreRob Landley
useful than "make allyesconfig".
2007-06-18Add a dummy "touch" to make it all build again.Rob Landley
2007-06-18Add readlink. Why doesn't mercurial show newly added files in "hg diff"?Rob Landley
2007-06-01Allow applets with optarg string NULL to use toy.optargs[].Rob Landley
2007-05-17Add sleep.Rob Landley
2007-04-30Add true and false.Rob Landley
2007-04-29Add readlink, xreadlink(), and change xrealloc() to not fight the stupidRob Landley
compiler so much.
2007-04-23Add sync and an incomplete version of mdev.Rob Landley
2007-04-18And more mke2fs changes.Rob Landley
2007-04-18Next iteration of mke2fs development.Rob Landley
2007-02-21Fix oneit: <1 is only parsed at the start of the argument list.Rob Landley
2007-02-19Calculate block and inode usage in group table and bitmaps.Rob Landley
2007-02-18Precalculate block and inode usage given a starting file tree. This compiles,Rob Landley
probably doesn't actually work yet.
2007-02-14Calculate st_nlink for each node, via a small but n^2 algorithm.Rob Landley
2007-02-13MacOS X has a defective sed with no -r.Rob Landley
2007-02-12More work on mke2fs.c. Random in-progress snapshot...Rob Landley
2007-02-04Add parent pointer to dirtree, more work on mke2fs (populate dirtree, countRob Landley
index blocks).
2007-02-02Trim a redundant definition that confuses older compilers. (Regression testingRob Landley
against Red Hat 9.)
2007-02-01Toybox option parsing must stop at the first non-option argument.Rob Landley
2007-01-31Add "make defconfig". Modify global options to start with CONFIG_TOYBOX_.Rob Landley
2007-01-31Small cleanup to prepare for cross-compile friendly make install.Rob Landley
2007-01-31I forgot to add count.c a while ago. (Memo to self: grab snapshots and build0.0.2Rob Landley
out of directory more often, to make sure I've checked in all the files...)
2007-01-31This creates an almost valid empty ext2 filesystem, except for a few superblockRob Landley
fields (blank free_blocks and free_inodes), and no root directory. (And technically, no lost+found either.)
2007-01-29mke2fs: Stopping for dinner. It compiles.Rob Landley
2007-01-28More work on mke2fs.Rob Landley
2007-01-27Move superblock initialization to a function. Trim unused padding fromRob Landley
superblock.
2007-01-27One more field, minor shrinking, and start on block groups.Rob Landley
2007-01-26Filling out most of the ext2 superblock correctly now.Rob Landley
2007-01-25Update args.c to implement numeric arguments.Rob Landley
2007-01-23More work on mke2fs.Rob Landley
2007-01-23More random progress on mke2fs. Nothing to see yet.Rob Landley
2007-01-20Add "yes" command.Rob Landley
2007-01-20Teach pwd to detect write errors.Rob Landley
2007-01-20Comment and whitespace cleanupsRob Landley
2007-01-20Helps to "hg add" echo.c. Also, implement \0123 escapes for -e.Rob Landley
2007-01-20Add "echo". Has -n and -e (but not \0123 yet).Rob Landley
2007-01-18Add count command.Rob Landley
2007-01-18In bunzip replace setjmp/longjmp handling with error_exit(), replace stringRob Landley
based handling of a 6-byte header with with two 24-bit integer reads. Use xmalloc() and xzalloc().
2007-01-18Add fdprintf(). Remove reread() and rewrite() which handle -EINTR, whichRob Landley
shouldn't be a problem if we register signal handlers with sigaction(SA_RESTART) Straighten out count and len (I generally consistently use "count" for the current progress and "len" for the total, but this time I got them backwards for some reason and don't want to confuse myself in future.)
2007-01-16Add a quick and dirt bzcat (stdin to stdout only for the moment) to testRob Landley
out the bunzip2 library.
2007-01-14Add start of mke2fs/gene2fs, and some other stuff I've been working on.Rob Landley
2007-01-07xopen() wants 2 arguments unless you're creating a file, in which case youRob Landley
need 3. Doing varargs for this doesn't really appeal to me (bugs in waiting) so I made an xcreate() that takes 3 args, and had xopen() call it with 0 for the third argument. That way, if we feed O_CREAT to xopen() the permission 000 result should be easy to spot.
2007-01-07Two unrelated additions I'm working on cross over in this file. In theory IRob Landley
can use mercurial branches to keep this sort of thing separate, but at the moment I'm just going to check in some dangling config entries that don't control anything yet.
2006-11-25Add cat -v.Rob Landley