df and du give different results on DVD filesystem
On debian 7.5,
Code:
$ mount /dev/sr0 /DVD Can anyone explain the difference? |
Hi there,
Quote:
And what you see is obviously a bad trick used by some DVD producers: They deliberately produce weird directory structures, for instance by referencing the same file multiple times (very much like hard-linking) or by creating bogus directory entries that do not reference a valid file at all but pretend gigabytes of data. Try a 'ls -la /DVD/VIDEO_TS' to see what I mean. The only purpose I can think of is probably to discourage people from ripping the DVD contents, or to make it harder for them anyway. The first DVD where I encountered this trickery was Wall-E, which seemed to have over 60GB of data ... [X] Doc CPU |
This directory scrambling of DVDs has been around for years. It is a copy protection scheme.
|
Hi there,
Quote:
However, as a copy protection method it is pointless, because assuming you beat CSS and these other little tricks, you can always rip the DVD into an ISO file - and suddenly you don't have to bother about this file system shit. [X] Doc CPU |
Quote:
|
All times are GMT -5. The time now is 05:46 PM. |