Skip to contentSkip to conversation

Small bug in documentation

Qemu-devel Pietro Battiston 2 participants 2 messages Jul 12, 2008 – Jul 13, 2008

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If you take the file qemu-img.texi and look under "fmt" option, and more precisely under "raw", you read:

Use "qemu-img info" to know the real size used by the
image or "ls -ls" on Unix/Linux.

Actually, on my system (Ubuntu 8.04, ext3 filesystem), "ls -ls" gives the _fake_ size (the one reported as "virtual size" in qemu-img output).

I think this is a mistake, or maybe "ls"' behaviour is not so standard.

Pietro Battiston
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIeLH0cZVtR82bmAYRAiGSAKDDcZSKIYuur6pQ9UbojD1rlHO/IgCfbM4s K/epGzxr6GhYflAemwRVjHg=
=Iqs1
-----END PGP SIGNATURE-----

#1 lore raw

Hi...

Quoted 6 lines · Pietro Battiston

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If you take the file qemu-img.texi and look under "fmt" option, and more precisely under "raw", you read:

Quoted 7 lines

Use "qemu-img info" to know the real size used by the
image or "ls -ls" on Unix/Linux.

Actually, on my system (Ubuntu 8.04, ext3 filesystem), "ls -ls" gives the _fake_ size (the one reported as "virtual size" in qemu-img output).

I think this is a mistake, or maybe "ls"' behaviour is not so standard.

Are you sure you're looking on the first column of "ls -ls" output?

regards,

Mulyadi.