On 29 April, 2010 - Roy Sigurd Karlsbakk sent me these 1,2K bytes: > Hi all > > Is there a good way to do a du that tells me how much data is there in > case I want to move it to, say, an USB drive? Most filesystems don't > have compression, but we're using it on (most of) our zfs filesystems, > and it can be troublesome for someone that wants to copy a set of data > to somewhere to find it's twice as big as reported by du.
GNU du has --apparent-size which reports the "file size" instead of how much disk space it uses.. compression and sparse files will make this differ, and you can't really tell them apart. /Tomas -- Tomas Ögren, st...@acc.umu.se, http://www.acc.umu.se/~stric/ |- Student at Computing Science, University of Umeå `- Sysadmin at {cs,acc}.umu.se _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss