X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=TODO;h=5b4c8432e2e54548eddc0de23e92afd0d943b664;hp=7696daa2e30fb373d95c243ba68e2a0c51b6c914;hb=2e632a654f82a86c0bd29d935d1ed0b5db46113d;hpb=3854bbdecd1c089959fb812a739b84a96c05fbbf diff --git a/TODO b/TODO index 7696daa..5b4c843 100644 --- a/TODO +++ b/TODO @@ -120,17 +120,15 @@ Extra commands / functionality: chgrp grep (do it locally using pipe?) dd (?) - du ln / ln -s - mknod readlink utime / utimes / futimes / futimens / l.. - mkfifo more mk*temp calls - readdir / readdir-and-stat 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 @@ -155,12 +153,36 @@ Extra commands / functionality: pivot_root fts(3) / ftw(3) - guestfish only: - more/less (like cat, but pipes it through $PAGER) - cmd | pipe - cat file | pipe-cmd should have a generic form? like - 'file | less' or 'file | sort'? - ---------------------------------------------------------------------- Allow swap space from the guest to be used. Is it a good idea? + +---------------------------------------------------------------------- + +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, such as: + +initrd-extract +initrd-replace + +---------------------------------------------------------------------- + +Control guestfish from a pipe. + +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