Search This Blog

Thursday, January 5, 2012

Determine actual size of sparse file.

Use below command to get actual size of the file.
Below command is useful to determine the file created with sparse mechanism.

#du -h --apparent-size

Even ls is used to determine the same but du is much more flexible when used on shares containing sparse files scattered across different directories with in the share.

No comments:

Post a Comment