How to find how much space a file is really taking

Azerus the bittorrent client creates a sparse file for every file in the torrent you are downloading. I had a 52GiB torrent I only wanted 10 files from. When it got done ls -l couldn’t tell me which files had stuff in them.

After searching for a way to find out if a file makes use of the sparse file trick I discovered that it’s quite possible that any file that has nulls in it might be sparse. Oh great…

du turned out to actually show how much space on disk the file was taking. I couldn’t find anything that linked du to sparse files so… here it is.

Stupid Question

Archive:  xxx.zip
  inflating: xxx/xxx.csv
replace xxx/xxx.csv? [y]es, [n]o, [A]ll, [N]one, [r]ename:

What’s wrong with this? Why computers often ask us these questions with next to no information to figure out the answer? You’ve seen it in the Windows, Mac, whatever… It’s not going to take that long to compare the contents of both files and tell me the contents are the same. I’ve seen some questions telling me other information, last modified time and the like, no where near as needed as a file compare.

Another Jason

Another Jason

Another Jason

#photoblog

Media box: $150 for Prismiq

prismiq looks like it might work out. They have a beta linux server program. I still would like to have a quite full blown pc under the TV, but $400 vs $150?

Another downside for prismiq is no Games. With console emulators and MAME you can have a pretty vast game collection on tap.

#linux

ASUS DigiMatrix and Pundit

I’m dreaming that I had more $$ than I do, and thinking about buying a media box.

ASUS Pundit. This would be great for watching video from the internet on TV and all the other options freevo/mythtv. Throw in a wintv card and
you have a remote and tv recording.

ASUS DigiMatrix. Built in everything. $100 more.

The perplexing thing to me is both have digital audio out (S/PDIF also know as TosLink), but they are on the front of the unit. If I where spending tons of $$ for a media room I would want a DVI projector and digital audio. Seems having the S/PDIF out on the back of both units would make a lot more sense.