Commit Graph

147 Commits

Author SHA1 Message Date
Richard W.M. Jones
b2ed0f4c55 Generated code for df / df-h. 2009-06-29 12:26:11 +01:00
Richard W.M. Jones
405cf2a577 Add 'df' and 'df-h' commands.
df and df-h commands can be used interactively to show disk
space usage.

Use existing statvfs command from programs.
2009-06-29 12:25:31 +01:00
Richard W.M. Jones
826020fe18 Generated code for head/tail commands. 2009-06-29 11:47:07 +01:00
Richard W.M. Jones
3854bbdecd Implement "head", "head-n", "tail", "tail-n" commands.
These commands let you view parts of a large file without
passing the whole file over the network connection.
2009-06-29 11:46:19 +01:00
Richard W.M. Jones
f450ce75b7 Generated code for 'wc_*' commands. 2009-06-29 10:09:13 +01:00
Richard W.M. Jones
7613eb0c7c Implementation of 'wc_c', 'wc_w' and 'wc_l' commands.
These commands count characters, words and lines in a file respectively.
2009-06-29 10:08:25 +01:00
Richard W.M. Jones
0574eab8bc Generated code for 'mkdtemp' command. 2009-06-24 18:25:09 +01:00
Richard W.M. Jones
8228eec990 Add mkdtemp command. 2009-06-24 18:22:37 +01:00
Richard W.M. Jones
bcb3fc0c33 Generated code for 'scrub-*' commands. 2009-06-23 15:53:44 +01:00
Richard W.M. Jones
da7cf3670f Added 'scrub-*' commands for securely scrubbing filesystems. 2009-06-23 15:53:21 +01:00
Richard Jones
3eab7260a5 Improve error message when appliance doesn't match library. 2009-06-22 14:24:52 +01:00
Richard Jones
3dfc0a8c5d Make CHROOT_IN/OUT macros should loudly if the syscall fails. 2009-06-22 12:40:57 +01:00
Richard Jones
697f50aea8 Check return value from close() call. 2009-06-22 12:24:14 +01:00
Richard Jones
baa5a40994 The 'debug sh' command now uses a real shell. 2009-06-22 12:23:56 +01:00
Richard Jones
ad8a256f54 Generated code for 'glob-expand'. 2009-06-22 08:20:42 +01:00
Richard Jones
05c34c1c14 Add 'glob-expand' command. 2009-06-22 08:20:32 +01:00
Richard Jones
4211c7a258 Generated code for 'sh' and 'sh-lines' commands. 2009-06-22 07:49:50 +01:00
Richard Jones
57d2dfab18 Add 'sh' and 'sh-lines' commands. 2009-06-22 07:49:37 +01:00
Richard W.M. Jones
6654f617a6 Check return value from waitpid call in command*() functions. 2009-06-20 16:05:12 +01:00
Richard W.M. Jones
3ab8336db3 Add strong note about deprecation of functions which take either device names or filenames. 2009-06-20 15:30:39 +01:00
Richard W.M. Jones
3c5b447efd Check return value from pclose. 2009-06-20 14:55:49 +01:00
Richard Jones
875dc84cc0 Implement device name translation. Remove device name hacks in tests. 2009-06-10 14:16:54 +01:00
Richard Jones
56bef498f4 In the daemon, change all const char * parameters to char *. 2009-06-10 14:16:47 +01:00
Richard Jones
2df2f2854e Add IS_DEVICE checks for all calls which take a device parameter. 2009-06-10 11:11:14 +01:00
Richard Jones
460d139e6a Generated code for ntfs_3g_probe command. 2009-06-08 17:44:18 +01:00
Richard Jones
3de234656b Add 'ntfs_3g_probe' command so we can probe the "mountability" of an NTFS partition. 2009-06-08 17:44:14 +01:00
Richard Jones
ab81d09a71 Fix RHBZ#503169 comment 13 (regression) and add a regression test. 2009-06-04 15:06:28 +01:00
Richard Jones
b6adf09c4d Generated code for the 'sleep' command. 2009-06-04 15:06:27 +01:00
Richard Jones
2ef06eacc2 Added 'sleep' command. 2009-06-04 15:06:27 +01:00
Charles Duffy
80e1575787 Use --rbind rather than --bind for bind mounting /dev (to get /dev/pts). 2009-06-04 08:45:04 +01:00
Richard W.M. Jones
f6e36bf361 Fix mkdir-p if directory exists (RHBZ#503133). 2009-05-29 11:20:29 +01:00
Richard Jones
f7ef94f515 In daemon, set PATH, SHELL and LANG environment variables. 2009-05-22 10:52:43 +01:00
Richard Jones
5f76f421d0 Add 'debug env' command to print environment. 2009-05-22 10:52:28 +01:00
Richard Jones
3e408f4934 Generated code for e2fsck-f command. 2009-05-21 16:18:16 +01:00
Richard Jones
0f81d0941a Add e2fsck_f command, and modify lvresize test to use it (RHBZ 502018). 2009-05-21 16:17:38 +01:00
Richard Jones
1fc41b39da Generated code for 'find' command. 2009-05-19 12:05:43 +01:00
Richard Jones
d1df2f3424 Added 'find' command. 2009-05-19 12:05:33 +01:00
Richard Jones
8b48190582 Fix a memory leak in handling of tar files. 2009-05-19 12:05:06 +01:00
Richard Jones
ca49c50e06 Generated code for lvresize, resize2fs. 2009-05-18 20:22:53 +01:00
Richard Jones
0695593702 Add: lvresize, resize2fs commands. 2009-05-18 20:22:36 +01:00
Richard Jones
85ed8cef99 Add vg-activate{,-all} commands, and resize recipe. 2009-05-18 17:16:24 +01:00
Richard W.M. Jones
5cd39c83e2 Add: pvresize, sfdisk-N, sfdisk-l, sfdisk-kernel-geomtry, sfdisk-disk-geometry commands. Pass --no-reread flag to sfdisk. 2009-05-15 14:52:34 +01:00
Richard W.M. Jones
d901cc9161 Add support for zerofree command. 2009-05-14 23:47:17 +01:00
Richard Jones
b2a5fec5f8 Refactor line splitting code in the daemon, and fix it so it works. 2009-05-12 17:17:19 +01:00
Richard Jones
15e0fd573a Generated code to support last 3 commits. 2009-05-08 15:20:36 +01:00
Richard Jones
0faa5dde7b Generated code to support previous 2 commits. 2009-05-08 14:28:03 +01:00
Richard Jones
fa7c8bb79b Implement 'strings' and 'hexdump' commands. 2009-05-08 14:27:47 +01:00
Richard Jones
427b5f079f Fix leak in realloc failure (Jim Meyering). 2009-05-07 21:21:32 +01:00
Richard Jones
db1aacb8e0 /dev/hd* is also a block device on RHEL 5. 2009-05-07 16:57:55 +01:00
Richard Jones
01b20efdf4 Augeas is now completely optional. 2009-05-07 15:51:02 +01:00