summaryrefslogtreecommitdiffstats
path: root/daemon/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
...
* New API call: fill - fill a file with octetsRichard Jones2009-11-171-0/+1
|
* Generic partition creation interface.Richard Jones2009-11-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit introduces a generic partition creation interface which should be future-proof and extensible, and partially replaces the old sfdisk-based interface. The implementation is based on parted but is hopefully not too dependent on the particulars of parted. The following new calls are introduced: guestfs_part_init: Initialize a disk with a partition table. Unlike the sfdisk- based interface, we also support GPT and other partition types, which is essential to scale to devices larger than 2TB. guestfs_part_add: Add a partition to an existing disk. guestfs_part_disk: Convenience function which combines part_init & part_add, creating a single partition that covers the whole disk. guestfs_part_set_bootable: guestfs_part_set_name: Set various aspects of existing partitions. guestfs_part_list: List partitions on a device. This returns a programming-friendly list of partition structs (in contrast to sfdisk-l which cannot be parsed). guestfs_part_get_parttype: Return the partition table type, eg. "msdos" or "gpt". The following calls are planned, but not added currently: guestfs_part_get_bootable guestfs_part_get_name guestfs_part_set_type guestfs_part_get_type
* New API calls: truncate, truncate_size, mkdir_mode, utimens, lchown.Richard Jones2009-11-021-0/+2
| | | | | | | | | | | | | | | truncate, truncate_size: Used to truncate files to a particular size, or to zero bytes. mkdir_mode: Like mkdir but allows you to also specify the initial permissions for the new directory. utimens: Set timestamp on a file with nanosecond accuracy. lchown: Corresponding to lchown(2) syscall (we already have chown). The implementation is complicated by the fact that we had to add an Int64 parameter type to the generator.
* New API: vfs_type - get the Linux VFS driver for a mounted device.Richard Jones2009-10-261-0/+1
|
* Add echo_daemon commandMatthew Booth2009-09-141-0/+1
| | | | | echo_daemon is a simple echo which can be used to test connectivity between the client and daemon.
* New 'modprobe' command.Matthew Booth2009-08-181-0/+1
| | | | Allow kernel modules to be loaded into the appliance.
* daemon: enable -Werror and many gcc warnings when --enable-gcc-warningsJim Meyering2009-08-171-1/+2
| | | | | | | | | | * daemon/m4/gnulib-cache.m4: Add two modules: manywarnings, warnings. * daemon/configure.ac: Implement --enable-gcc-warnings, and selectively disable a few warning options that are either not useful or that provoke too many warnings for now. Define and AC_SUBST WARN_CFLAGS and WERROR_CFLAGS. * daemon/Makefile.am (guestfsd_CFLAGS): Use $(WARN_CFLAGS) and $(WERROR_CFLAGS), rather than just -Wall.
* New commands: mkfs-b, mke2journal*, mke2fs-J*Richard W.M. Jones2009-08-151-0/+1
| | | | | | | | | | mkfs-b: Pass the -b (blocksize) parameter to mkfs. mke2journal and friends: Lets you create external ext2 journals on devices. mke2fs-J and friends: Lets you create ext2/3/4 filesystems with external journals.
* Add 'setcon', 'getcon' commands to set and get the SELinux context.Richard Jones2009-08-131-0/+1
|
* daemon: use gnulibJim Meyering2009-08-061-0/+4
| | | | | | | | | | | | | | | | | * daemon/Makefile.am (SUBDIRS): Define. (AM_CPPFLAGS): Define, to include from gnulib's lib/ (LDADD): Define, to link with gnulib's libgnu.a. * daemon/configure.ac: Use AC_CONFIG_AUX_DIR([build-aux]), gl_EARLY and gl_INIT. (AC_CONFIG_FILES): Add lib/Makefile and tests/Makefile * daemon/m4/gnulib-cache.m4: New file, generated by running ../.gnulib/gnulib-tool --import --with-tests hash * daemon/.gitignore: Ignore all of the imported files. build: tell bootstrap about daemon/ * bootstrap: Run gnulib-tool --update in daemon/. Remove bootstrap's --gnulib-srcdir option, because it probably didn't work, and even if it did, we've discovered that using a separate git repo like that can lead to subtle mix-ups.
* Add interface to Linux 'inotify' API.Richard W.M. Jones2009-07-311-0/+1
|
* New command: 'fallocate' to (pre-)allocate sized files.Richard W.M. Jones2009-07-311-0/+1
|
* New commands: 'ln', 'ln-f', 'ln-s', 'ln-sf' and 'readlink'.Richard W.M. Jones2009-07-311-0/+1
| | | | | These commands can be used to make hard and symbolic links. The readlink command is used to read existing symbolic links.
* Add 'realpath' command.Richard W.M. Jones2009-07-311-0/+1
|
* Implement '*grep*' family of commands.Richard Jones2009-07-291-0/+1
|
* Support for Linux extended attributes.Richard W.M. Jones2009-07-141-0/+1
| | | | | | | | | | | | | | | | This commit adds six calls to support Linux extended attributes. They are: getxattrs list all extended attributes for a file or directory setxattr add/replace an extended attribute removexattr remove an extended attribute lgetxattrs \ lsetxattr (same as above, but operate on symbolic links) lremovexattr / See attr(5) for more information. This also adds support for the FBuffer field type, which maps to an XDR opaque<> or a C (int, char *) pair.
* Make it possible to build in a separate directoryMatthew Booth2009-07-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | This patch allows you to do: mkdir build cd build ../configure ... make This will output all generated files to the build directory. Given that autogen automatically runs configure, you can also do: BUILDDIR=./build ./autogen.sh which will do the right thing. Also: * Fix a dependency bug which means that guestfs_protocol.h isn't automatically rebuilt. * Re-running autogen.sh with no arguments won't blow away your previous configure arguments.
* Add list of function_names to the daemon.Richard W.M. Jones2009-07-021-0/+1
| | | | | Messages which include the proc_nr can now also include the name of the actual function being called.
* Add 'readdir' call.Richard W.M. Jones2009-07-021-0/+1
| | | | | | | | | | | | This adds a readdir call (mostly intended for programs). The return value is a list of guestfs_dirent structures. This adds the new types 'struct guestfs_dirent' and 'struct guestfs_dirent_list', along with all the code to return these in the different language bindings. Also includes additional tests for OCaml and Perl bindings to test this.
* New commands: mknod, mkfifo, mknod_b, mknod_c and umask.Richard W.M. Jones2009-06-301-0/+2
| | | | | | | | | | 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.
* Implement 'mkswap', 'mkswap_L' and 'mkswap_U' commands.Richard W.M. Jones2009-06-291-0/+1
| | | | | | 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.
* Add 'initrd-list' command to list contents of initrd images.Richard W.M. Jones2009-06-291-0/+1
| | | | | | 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.
* Added 'du' command.Richard W.M. Jones2009-06-291-0/+1
| | | | This command estimates file usage for files and directories.
* Add 'df' and 'df-h' commands.Richard W.M. Jones2009-06-291-0/+1
| | | | | | | df and df-h commands can be used interactively to show disk space usage. Use existing statvfs command from programs.
* Implement "head", "head-n", "tail", "tail-n" commands.Richard W.M. Jones2009-06-291-0/+1
| | | | | These commands let you view parts of a large file without passing the whole file over the network connection.
* 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.
* Added 'scrub-*' commands for securely scrubbing filesystems.Richard W.M. Jones2009-06-231-0/+1
|
* Add 'glob-expand' command.Richard Jones2009-06-221-0/+1
|
* Add 'ntfs_3g_probe' command so we can probe the "mountability" of an NTFS ↵Richard Jones2009-06-081-0/+1
| | | | partition.
* Added 'sleep' command.Richard Jones2009-06-041-0/+1
|
* Added 'find' command.Richard Jones2009-05-191-0/+1
|
* Add: pvresize, sfdisk-N, sfdisk-l, sfdisk-kernel-geomtry, ↵Richard W.M. Jones2009-05-151-0/+1
| | | | sfdisk-disk-geometry commands. Pass --no-reread flag to sfdisk.
* Add support for zerofree command.Richard W.M. Jones2009-05-141-0/+1
|
* Implement 'strings' and 'hexdump' commands.Richard Jones2009-05-081-0/+2
|
* Added 'equal' command to compare files.Richard W.M. Jones2009-05-011-0/+1
|
* Added ping-daemon command.Richard W.M. Jones2009-05-011-0/+1
|
* Added dmesg command.Richard W.M. Jones2009-05-011-0/+1
|
* Added drop-caches command.Richard W.M. Jones2009-05-011-0/+1
|
* Add cp, cp-a and mv commands.Richard W.M. Jones2009-05-011-0/+1
|
* Add grub-install command.Richard Jones2009-04-301-0/+1
|
* Added 'zero' command to wipe partition tables and superblocks.Richard Jones2009-04-301-0/+1
|
* Added 'fsck' command.Richard Jones2009-04-301-0/+1
|
* build: don't tell "make clean" to remove my '~' backup filesJim Meyering2009-04-301-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hi Rich, automake's policy on what to remove via "make clean" is reasonable: if running build rules creates it, then "make clean" can and should remove it. However, even if build rules happen to create backup files, please remove only the specific ones they can create, not all of the ones in a directory. Just in case someone relies on those and expect them to hang around... >From 1e8be391ac17b4ddcf9671e8413d2660844e6993 Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyering@redhat.com> Date: Thu, 30 Apr 2009 15:47:52 +0200 Subject: [PATCH] build: don't tell "make clean" to remove my '~' backup files * Makefile.am (CLEANFILES): Don't remove '~' backup files. * daemon/Makefile.am: Ditto. * examples/Makefile.am: Ditto. * fish/Makefile.am: Ditto. * images/Makefile.am: Ditto. * inspector/Makefile.am: Ditto. * java/Makefile.am: Ditto. * ocaml/Makefile.am: Ditto. * ocaml/examples/Makefile.am: Ditto. * perl/Makefile.am: Ditto. * python/Makefile.am: Ditto. * ruby/Makefile.am: Ditto. * src/Makefile.am: Ditto.
* Rename tune2fs.c -> ext2.cRichard Jones2009-04-301-1/+1
|
* Add outline of 'debug' command.Richard W.M. Jones2009-04-231-0/+1
|
* Added tar-in, tar-out, tgz-in, tgz-out commands.Richard Jones2009-04-201-0/+1
|
* Add 'checksum' command.Richard Jones2009-04-201-0/+1
|
* Rewrite of main loop impl, start of FileIn/FileOut support.Richard Jones2009-04-181-0/+1
|
* Added blockdev_* calls. RInt64 type. Enhanced tests.Richard Jones2009-04-151-0/+1
|
* Added tune2fs-l command and RHashtable return type.Richard Jones2009-04-151-0/+1
|