X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=TODO;h=da39f1a31337c59841e355137d798ba057a1c0ac;hp=e99f7ed69d631f1b57af457434e2d4c39786eaf4;hb=1e568f057e8bb7b36cc14e0e531d74b75ad9cb6c;hpb=819f30e332160ba05f7bf6dd068622cc07bf9ffc diff --git a/TODO b/TODO index e99f7ed..da39f1a 100644 --- a/TODO +++ b/TODO @@ -17,15 +17,6 @@ IDs and the host. It's not easy to automate this because you need extra details about the guest itself in order to get to its UID->username map (eg. /etc/passwd from the guest). -BufferIn --------- - -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 - febootstrap / debootstrap inside appliance ------------------------------------------ @@ -119,6 +110,7 @@ Ideas for extra commands findfs logsave mklost+found + ext2undelete SELinux: chcat @@ -212,16 +204,6 @@ ntfsclone Useful imaging tool: http://man.linux-ntfs.org/ntfsclone.8.html -Standard images ---------------- - -Equip guestfish with some standard images that it can load -quickly, eg: - - load ext2 - -Maybe it's better to create these on the fly? - virt-rescue pty --------------- @@ -272,25 +254,98 @@ Mount filesystems by UUID or label. (I'm not really sure if we can do this at the moment but we ought to be able to do it, and perhaps make it easier by having a direct command). -UUencoded uploads ------------------ +Map filesystems to disk blocks +------------------------------ -(Or base64). Something like: +Map files/filesystems/(any other object) to the actual disk +blocks they occupy. -base64-in -< add mydisk +Tip: You need to type 'run' before you can see into the disk image. +> run +Tip: Use 'list-filesystems' to see what filesystems are available. +> list-filesystems +/dev/vda1 +Tip: Use 'mount fs /' to mount a filesystem. +> mount /dev/vda1 / +Tip: Use 'll /' to view the filesystem or ... +> ll / + +New guestfish commands +---------------------- + +'list-filesystems' => list mountable filesystems + +We could implement this as a new API call, replacing a number of areas +of the current code where this is done already (in virt-inspector and +elsewhere). What we normally do to find out if a partition contains a +mountable filesystem is to just blindly mount it, and see if that +succeeds. However the kernel won't let us do this if the filesystem +is already mounted somewhere, so a naive implementation of this in the +daemon won't work. We would have to check if the partition was +already mounted. + +Could we make guestfish interactive if commands are used without params? +------------------------------------------------------------------------ + +> sparse +[[Prints man page]] +Image name? disk.img +Size of image? 10M + +Common problems +--------------- -debug-upload -<