Rob Landley fb3c28fe89 realpath should parse -e 2 年之前
..
README aa777fe07d Add README file to each toys/ directory, teach build infrastructure to get fancy name from that. This means adding new directories shouldn't require touching build scripts. 11 年之前
acpi.c 141a075c0e Clean up some --help formatting. 5 年之前
ascii.c 2a8e198104 Missed a couple in the wchar_t -> unsigned conversion. 3 年之前
base64.c af50278fc9 Cleanup base32 slightly. 3 年之前
blkdiscard.c 0030729a09 blkdiscard: fix uninitialised offset 3 年之前
blkid.c cb1af1882a blkid: more scanf fun. 2 年之前
blockdev.c b8070a7425 OpenEmbedded needs commands installed in specific places. 5 年之前
bzcat.c 141a075c0e Clean up some --help formatting. 5 年之前
chcon.c 141a075c0e Clean up some --help formatting. 5 年之前
chroot.c 95574e3f2a cmp/env/nice/nohup/sort: use TOYFLAG_ARGFAIL. 5 年之前
chrt.c 59e16e10b4 Yank some unnecessarily exported global variables that should be static. 2 年之前
clear.c c3f3f842c5 Replace \033 with \e in strings. 2 年之前
count.c 83326334d5 Speed up count: use 64k block size, update display at most 4x/second. 3 年之前
devmem.c 54e2cd704f Teach devmem about nommu and 0x prefix on address. Print hex or decimal 3 年之前
dos2unix.c d3a435e53c Add error_msg_raw() and friends, replace error_msg("%s", s) uses, enable format 8 年之前
eject.c bd001e498d Clean up eject.c to use linux/eject.h and FLAG() macros. 2 年之前
factor.c b6eb5a16dc Minor cleanups, and switch lll to "long long" for 32 bit platforms. 2 年之前
fallocate.c b28b2a60c6 Switch fallocate to new style global names. 4 年之前
flock.c eb7e847adc Be more consistent about periods in help text. 7 年之前
fmt.c 141a075c0e Clean up some --help formatting. 5 年之前
free.c b1b7fec80d Denys Vlasenko pointed out that other implementations use "t" as "total", 3 年之前
freeramdisk.c 2f2c53f15b Go ahead and leak the filehandle, the command exits immediately. 2 年之前
fsfreeze.c 141a075c0e Clean up some --help formatting. 5 年之前
fsync.c 1ea6e127d5 Minor cleanups. 2 年之前
gpiod.c 946f7d63d6 Traverse doubly linked list non-infinitely. 2 年之前
help.c e22443c633 Don't show "toybox" header line for "help" output unless called with no args. 2 年之前
hexedit.c 7fe3cb1fa9 Move ANSI escape cheat sheet to tty.c 2 年之前
hwclock.c a079039934 Have xclose() perform the fd != -1 test. 3 年之前
i2ctools.c eee419c1d7 flags.h can #define its own CLEANUP_ macros for the next #include 2 年之前
inotifyd.c d3a435e53c Add error_msg_raw() and friends, replace error_msg("%s", s) uses, enable format 8 年之前
insmod.c 61cb6ab6b9 Move #include <sys/syscall.h> into toys.h. 2 年之前
ionice.c 42ce6272f5 When args.c is just enforcing max/min argument count with no options, imply ? 2 年之前
login.c d1598daf20 login: clear environment when -p is absent 5 年之前
losetup.c 0b00ea7fb8 Change xabspath() to more granular (flag based) control interface. 2 年之前
lsattr.c eee419c1d7 flags.h can #define its own CLEANUP_ macros for the next #include 2 年之前
lsmod.c 1dd3704c5f To ensure that toybox can be installed alongside busybox without 9 年之前
lsusb.c 6f24967142 Add spaces to lsusb output, trigger on the correct entries, tweak help text. 2 年之前
makedevs.c 2a5dc105a3 makedevs: stop using get_line(). 2 年之前
mcookie.c 1558e7dbbf Promote mcookie 5 年之前
mix.c 6a73e13d75 Convert more option vars to the new (single letter) coding style. 5 年之前
mkpasswd.c 141a075c0e Clean up some --help formatting. 5 年之前
mkswap.c d588ba7443 Improve help consistency. 5 年之前
modinfo.c e6b3ac496f modinfo: various fixes. 4 年之前
mountpoint.c a7a3c411fd mountpoint: add missing synopsis. 5 年之前
nbd_client.c a57721d146 bind/connect cleanup. 5 年之前
nsenter.c eee419c1d7 flags.h can #define its own CLEANUP_ macros for the next #include 2 年之前
oneit.c 53b2daab94 Use flag macros and document -rn options. 3 年之前
openvt.c cfea8f012d Cleanup openvt/deallocvt and merge with chvt, promote out of pending. 2 年之前
partprobe.c f71abed76b Promote partprobe. 10 年之前
pivot_root.c 61cb6ab6b9 Move #include <sys/syscall.h> into toys.h. 2 年之前
pmap.c 1ea6e127d5 Minor cleanups. 2 年之前
printenv.c 0ea04980e3 Fix printenv -0 (broken by the lib/args.c 0 prefix change). 3 年之前
pwdx.c 46409d50e5 Add readlink0() and readlinkat0() which null terminate the data. 8 年之前
pwgen.c 25fd949e51 Have -B remove more characters Ted Tso's implementation doesn't emit. 2 年之前
readahead.c 61cb6ab6b9 Move #include <sys/syscall.h> into toys.h. 2 年之前
readelf.c b024b85151 readelf: fix 32-bit build on Android. 3 年之前
readlink.c fb3c28fe89 realpath should parse -e 2 年之前
reboot.c 81859b8a57 timeout: use the monotonic clock. 2 年之前
reset.c c3f3f842c5 Replace \033 with \e in strings. 2 年之前
rev.c b30674681b Start replacing get_line() with getline(). 5 年之前
rmmod.c 61cb6ab6b9 Move #include <sys/syscall.h> into toys.h. 2 年之前
rtcwake.c 29229bf0fd rtcwake: default to UTC if /etc/adjtime can't be read 3 年之前
setfattr.c 12a0b40d09 Promote setfattr 6 年之前
setsid.c 9cacde056c setsid(1): call setsid(2) before setpgrp(2). 3 年之前
sha3sum.c 7ea411beed Switch sha3sum on in defconfig, and document -b (it's same as sha2sum). 3 年之前
shred.c 2185571e9d Update usage: line to include remaining options. 3 年之前
stat.c 1f9e37e361 Remove ifdefs from stat. 3 年之前
swapoff.c 1dd3704c5f To ensure that toybox can be installed alongside busybox without 9 年之前
swapon.c 6a73e13d75 Convert more option vars to the new (single letter) coding style. 5 年之前
switch_root.c 039d59d227 Replace various x = x declarations with QUIET macro to shut up gcc. 2 年之前
sysctl.c 46d2cda500 Tweak help_exit() to show "See %s --help" message on the same line. 6 年之前
tac.c b14b5d9d8d Rewrite tac to make better use of lib functions. 5 年之前
taskset.c 61cb6ab6b9 Move #include <sys/syscall.h> into toys.h. 2 年之前
timeout.c 73f5ecd772 Create the timer after installing the SIGALRM handler. 2 年之前
truncate.c 1ea6e127d5 Minor cleanups. 2 年之前
uclampset.c 61cb6ab6b9 Move #include <sys/syscall.h> into toys.h. 2 年之前
uptime.c ab833461a0 Add load average to uptime -p. 2 年之前
usleep.c 7aa651a6a4 Reindent to two spaces per level. Remove vi: directives that haven't worked right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style. 11 年之前
uuidgen.c 828fc9c8be Promote uuidgen. 6 年之前
vconfig.c 8f6554366b Minor tweaks. 5 年之前
vmstat.c c0b79b6e42 vmstat: increase column sizes 4 年之前
w.c 46ddf0e34b probe for getspnam(), forkpty(), utmpx, replace sethostname() 9 年之前
watch.c 039d59d227 Replace various x = x declarations with QUIET macro to shut up gcc. 2 年之前
watchdog.c 664c417af5 Add lots of "static" annotations, make a couple things use FLAG() macros, etc. 3 年之前
which.c 7aa651a6a4 Reindent to two spaces per level. Remove vi: directives that haven't worked right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style. 11 年之前
xxd.c 0aeca08240 Fix unused variable warnings found by clang/llvm 13. 2 年之前
yes.c 2c30d4f7a6 More line buffering. 3 年之前

README

Other commands

These are commands not present in Posix or LSB.

Most of them are necessary to provide a development environment capable of
booting a system image and building Linux From Scratch under it.

Tested with Aboriginal Linux system image and the lfs-bootstrap.hdc automated
build control image for Linux From Scratch 6.8):

http://landley.net/aboriginal

http://landley.net/aboriginal/control-images