----------------------------------------------------------------------
-BufferIn and BufferOut should turn into <char *, int> and simple
-strings in other languages that can handle 8 bit clean strings.
+BufferIn should turn into <char *, int> 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
----------------------------------------------------------------------
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
----------------------------------------------------------------------
-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'.