X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=TODO;h=12b1ce6805f1781cf03b69a875ce0300b2205de8;hb=8869adf1e811d894088dbb0f371edc23299005c8;hp=291d220ae03fc57cdb05816e1193effec76334ef;hpb=3385d7a1bf6afb8508ce334c6231c35cbe2fbae0;p=libguestfs.git diff --git a/TODO b/TODO index 291d220..12b1ce6 100644 --- a/TODO +++ b/TODO @@ -144,14 +144,9 @@ Ideas for extra commands General glibc / core programs: chgrp - grep (do it locally using pipe?) dd (?) - ln / ln -s - readlink utime / utimes / futimes / futimens / l.. more mk*temp calls - some sort of alloc/fallocate/posix_fallocate call to create empty space - realpath trunc[ate??] ext2 properties: @@ -177,27 +172,6 @@ Ideas for extra commands pivot_root fts(3) / ftw(3) -Swap space ----------- - -Allow swap space from the guest to be used. Is it a good idea? - -Query guest architecture ------------------------- - -Need a way to query a binary or library file for its architecture. -Using objdump or readelf? -What about non-ELF files (eg. Windows, BSD). - -To do this properly requires some serious logic, eg. to cover Linux -and Windows we'd need objdump and i686-pc-mingw32-objdump, and more to -cover a.out, COFF and 64 bit Windows. Therefore this cannot be done -inside the daemon, and should be done by a separate, external program -similar to virt-inspector. - -Probably we should go all the way and have virt-inspector able to -determine kernel and userspace architectures of guests. - Other initrd-* commands ----------------------- @@ -240,7 +214,7 @@ Quick Perl scripts Currently we can't do Perl "one-liners". ie. The current syntax for any short Perl one-liner would be: - perl -MSys::Guestfs -e '$g = Sys::Guestfs->new(); $g->add_drive ("foo"); $g->launch; $g->wait_ready; $g->mount ("/dev/sda1", "/"); ....' + perl -MSys::Guestfs -e '$g = Sys::Guestfs->new(); $g->add_drive ("foo"); $g->launch; $g->mount ("/dev/sda1", "/"); ....' You can see we're well beyond a single line just getting to the point of adding drives and mounting. @@ -261,7 +235,6 @@ which is equivalent to the following sequence of calls: $h->set_autosync (1); $h->add_drive_ro ($filename); $h->launch (); - $h->wait_ready (); $h->mount_ro (\"/dev/sda1\", \"/\"); Command-line form would be: @@ -275,3 +248,19 @@ autogenerated module which creates a Sys::Guestfs handle singleton perl -MSys::Guestfs::One -e 'inspect("guest.img"); cat ("/etc/fstab");' How would editing files work? + +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?