[mythtv-users] python filewriting and partition boundaries

Raymond Wagner raymond at wagnerrp.com
Wed Apr 3 01:22:25 UTC 2013


On 3/31/2013 12:57, John Pilkington wrote:
> It seems to me that the most unusual thing about what I have done with
> this box is using a python script to cut and concatenate video files.
> The script is at MythDVBcut on the wiki.  In the scripts as posted it is
> used only for HD content.  It doesn't include any checking for partition
> boundaries, because I assumed that this would be done automatically.

When you mount a filesystem, the filesystem translates your file 
accesses to its own internal structure on the physical media.  You do 
not directly access the physical media, so there is no possible way for 
you to corrupt the physical media, or the partition data stored therein. 
  The only way you could have corrupted it yourself would be if you 
logged in as root, and wrote directly to the device node.


More information about the mythtv-users mailing list