On 02Apr2015 07:54, Ranjan Maitra <maitra.mbox.ignored@xxxxxxxxx> wrote:
On Thu, 2 Apr 2015 15:20:52 +1100 Cameron Simpson <cs@xxxxxxxxxx> wrote:
Yes, it is on the same directory of the remote Inselon FS mounted as a cifs mount on a F21 system.
The same command on my local disk (F21 machine, ext4 FS) yields:
$ du -sh kmeans --apparent-size
154G kmeans
$ du -sh kmeans
156G kmeans
I'm still wondering if you do have sparse files; images generally are not.
I don't know but I assume I do. How does one find out if one does.
Only by comparing the byte size (st_size from stat) with the blocks * blocksize
(st_blocks * st_blksize). If the byte size well exceeds the blocks*blksize then
the file is presumably sparse.
But images tend not to be. Sparse files tend to be either disk images (eg
*.img) where not all blocks have been used or data files driven through a hash
table (where data is spread out over a huge filespace in little chunks).
Cheers,
Cameron Simpson <cs@xxxxxxxxxx>
What the hell is that?
Sounds like Cole Porter to me, sir. - _Tank Girl_
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org