X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=TODO;h=413312227c004140f5f3ef258bd5342b569c3ff9;hp=eb5820ffd9ccaa1345812822cf62331440ae25cb;hb=963576e9001c658d2e386a992f39a768eac3894c;hpb=107a76ad3680fda05cfd58136d62eeab4e77a8dc diff --git a/TODO b/TODO index eb5820f..4133122 100644 --- a/TODO +++ b/TODO @@ -121,12 +121,9 @@ Extra commands / functionality: grep (do it locally using pipe?) dd (?) 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??] @@ -164,6 +161,15 @@ 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: