[mythtv] [mythtv-commits] Ticket #7949: Multiple identical partitions on identical drives are listed as only one Mythtv drive

Dan Wilga mythtv-dev2 at dwilga-linux1.amherst.edu
Wed Feb 3 18:49:22 UTC 2010


On 2/3/10 1:19 PM, Chris Pinkham wrote:
> I've been considering the possibility of having the master resolve
> the situation automatically without waiting for a recording by having
> the affected backends write out a random-sized 0-10 megabyte file

Why not just write a zero-length file with a unique name to each drive, 
and see if any file exists in more than one place? Surely a directory 
read or fopen would be faster than recalculating free space a second time.
-- 
Dan Wilga                                                        "Ook."


More information about the mythtv-dev mailing list