X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=TODO;h=16d6880e519088dfda2bbef11e27834edacb8a2a;hp=5b4c8432e2e54548eddc0de23e92afd0d943b664;hb=f9de01b9b97e3d13959754446464f9b768deea81;hpb=cab0443e2508209fab67bfe0f723ee79cc5e2929 diff --git a/TODO b/TODO index 5b4c843..16d6880 100644 --- a/TODO +++ b/TODO @@ -14,11 +14,11 @@ http://sourceforge.net/project/showfiles.php?group_id=121684&package_id=150116 ---------------------------------------------------------------------- -BufferIn and BufferOut should turn into and simple -strings in other languages that can handle 8 bit clean strings. +BufferIn should turn into and simple strings in other +languages that can handle 8 bit clean strings. + Limit on transfers would still be 2MB for these types. - then implement write-file properly - - and implement read-file ---------------------------------------------------------------------- @@ -127,8 +127,6 @@ Extra commands / functionality: some sort of alloc/fallocate/posix_fallocate call to create empty space realpath trunc[ate??] - getfattr (also useful because gives us access to NTFS datastreams) - setfattr ext2 properties: chattr @@ -181,8 +179,22 @@ initrd-replace ---------------------------------------------------------------------- -Control guestfish from a pipe. +Some easy non-Augeas methods to edit configuration files. +I'm thinking: + + replace /etc/file key value + +which would look in /etc/file for any instances of + + key=... + key ... + key:... + +and replace them with + + key=value + key value + key:value -For shell scripts - they can start up a long-running guestfish process -and intermittently send it commands. Avoids the start-up overhead, -but how do we reliably signal errors? \ No newline at end of file +That would solve about 50% of reconfiguration needs, and for the +rest you'd use Augeas, 'download'+'upload' or 'edit'.