summaryrefslogtreecommitdiffstats
path: root/daemon
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix error handling of external sfdisk command.Richard W.M. Jones2009-07-011-4/+3
| | | | | | | | Should use 'pclose' instead of 'fclose' (although fclose happens to work because of glibc internals). The result of pclose is the exit status of the command, so we need to test this is != 0.
* Change to use virtio_blk (virtio block device) by default.Richard W.M. Jones2009-07-012-3/+5
| | | | | | | | | | | | | virtio_blk is the fast, virt-native block device driver supported by qemu and KVM. Note that virtio_blk device names are called /dev/vd*. Existing scripts should continue working because device name translation will silently change device names of the form /dev/sd* to /dev/vd* as required. See also: http://libguestfs.org/guestfs.3.html#block_device_naming
* Generated code for mknod, mkfifo, mknod_b, mknod_c, umask.Richard W.M. Jones2009-06-303-0/+165
|
* New commands: mknod, mkfifo, mknod_b, mknod_c and umask.Richard W.M. Jones2009-06-303-0/+117
| | | | | | | | | | These commands are used to create block and char device nodes or FIFOs (named pipes) in the filesystem. The umask command is required also because the permissions used by mknod are masked by the umask. Also document and guarantee that the umask starts as 022.
* Generated code for the 'mkswap*' commands.Richard W.M. Jones2009-06-292-0/+88
|
* Implement 'mkswap', 'mkswap_L' and 'mkswap_U' commands.Richard W.M. Jones2009-06-292-0/+71
| | | | | | These commands are used to make Linux swap devices. The mkswap_L command makes one with a label. The mkswap_U command makes one with a known UUID.
* Generated code for mount-loop command.Richard W.M. Jones2009-06-292-0/+30
|
* Add mount-loop command (RHBZ#508668).Richard W.M. Jones2009-06-291-0/+44
| | | | | | | | | Loop device mounts don't work for the generic 'mount' commands because the first parameter should be a file not a device. We want to separate out files parameters from device parameters in the long term, so this adds a new mount-loop command for this purpose.
* Fix memory leak in daemon/mount.c:do_mount_vfs.Richard W.M. Jones2009-06-291-0/+1
|
* Generated code for 'initrd-list'.Richard W.M. Jones2009-06-292-0/+32
|
* Add 'initrd-list' command to list contents of initrd images.Richard W.M. Jones2009-06-292-0/+89
| | | | | | Add 'initrd-list' command to list the files inside (new-style) initrd images. Update virt-inspector to use this instead of the less efficient download/unpack locally method.
* Generated code for 'du' command.Richard W.M. Jones2009-06-292-0/+30
|
* Added 'du' command.Richard W.M. Jones2009-06-292-0/+73
| | | | This command estimates file usage for files and directories.
* Generated code for df / df-h.Richard W.M. Jones2009-06-292-0/+40
|
* Add 'df' and 'df-h' commands.Richard W.M. Jones2009-06-292-0/+71
| | | | | | | df and df-h commands can be used interactively to show disk space usage. Use existing statvfs command from programs.
* Generated code for head/tail commands.Richard W.M. Jones2009-06-292-4/+136
|
* Implement "head", "head-n", "tail", "tail-n" commands.Richard W.M. Jones2009-06-292-0/+108
| | | | | These commands let you view parts of a large file without passing the whole file over the network connection.
* Generated code for 'wc_*' commands.Richard W.M. Jones2009-06-293-0/+183
|
* Implementation of 'wc_c', 'wc_w' and 'wc_l' commands.Richard W.M. Jones2009-06-291-0/+1
| | | | These commands count characters, words and lines in a file respectively.
* Generated code for 'mkdtemp' command.Richard W.M. Jones2009-06-242-0/+31
|
* Add mkdtemp command.Richard W.M. Jones2009-06-241-0/+30
|
* Generated code for 'scrub-*' commands.Richard W.M. Jones2009-06-232-0/+84
|
* Added 'scrub-*' commands for securely scrubbing filesystems.Richard W.M. Jones2009-06-232-0/+115
|
* Improve error message when appliance doesn't match library.Richard Jones2009-06-221-1/+1
|
* Make CHROOT_IN/OUT macros should loudly if the syscall fails.Richard Jones2009-06-221-4/+15
|
* Check return value from close() call.Richard Jones2009-06-221-1/+5
|
* The 'debug sh' command now uses a real shell.Richard Jones2009-06-221-9/+33
|
* Generated code for 'glob-expand'.Richard Jones2009-06-222-0/+32
|
* Add 'glob-expand' command.Richard Jones2009-06-222-0/+64
|
* Generated code for 'sh' and 'sh-lines' commands.Richard Jones2009-06-222-0/+63
|
* Add 'sh' and 'sh-lines' commands.Richard Jones2009-06-221-0/+16
|
* Check return value from waitpid call in command*() functions.Richard W.M. Jones2009-06-201-2/+6
|
* Add strong note about deprecation of functions which take either device ↵Richard W.M. Jones2009-06-201-0/+6
| | | | names or filenames.
* Check return value from pclose.Richard W.M. Jones2009-06-201-1/+5
|
* Implement device name translation. Remove device name hacks in tests.Richard Jones2009-06-102-7/+57
|
* In the daemon, change all const char * parameters to char *.Richard Jones2009-06-1028-304/+304
|
* Add IS_DEVICE checks for all calls which take a device parameter.Richard Jones2009-06-103-3/+26
|
* Generated code for ntfs_3g_probe command.Richard Jones2009-06-082-0/+32
|
* Add 'ntfs_3g_probe' command so we can probe the "mountability" of an NTFS ↵Richard Jones2009-06-082-0/+49
| | | | partition.
* Fix RHBZ#503169 comment 13 (regression) and add a regression test.Richard Jones2009-06-041-4/+7
|
* Generated code for the 'sleep' command.Richard Jones2009-06-042-0/+28
|
* Added 'sleep' command.Richard Jones2009-06-042-0/+36
|
* Use --rbind rather than --bind for bind mounting /dev (to get /dev/pts).Charles Duffy2009-06-041-3/+3
|
* Fix mkdir-p if directory exists (RHBZ#503133).Richard W.M. Jones2009-05-291-0/+11
|
* In daemon, set PATH, SHELL and LANG environment variables.Richard Jones2009-05-221-0/+8
|
* Add 'debug env' command to print environment.Richard Jones2009-05-221-1/+23
|
* Generated code for e2fsck-f command.Richard Jones2009-05-212-0/+28
|
* Add e2fsck_f command, and modify lvresize test to use it (RHBZ 502018).Richard Jones2009-05-211-0/+19
|
* Generated code for 'find' command.Richard Jones2009-05-192-0/+32
|
* Added 'find' command.Richard Jones2009-05-192-0/+130
|