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

Chris Pinkham cpinkham at bc2va.org
Wed Feb 3 18:19:13 UTC 2010


* On Wed Feb 03, 2010 at 04:18:39AM -0500, f-myth-users at media.mit.edu wrote:
> The place where this really seems to come up (judging by the mail I
> see, anyway) is when somebody creates two or more brand-new, identical
> filesystems, and makes each into a SG.  Typically that happens when
> somebody buys two or more brand-new disks and installs them.

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
then redoing the space calculations, but it hasn't bugged me enough
to write a patch yet.  Another possibility is to just assume they are
not the same if they are near-empty and of equal size.  This is the
easiest thing to do because it's a simple if statement in the current
code.  Again, patches welcome if someone wants to take a look.  Worst
case is that we record multiple shows to the same filesystem without
knowing if the same empty filesystem is referenced multiple times.

--
Chris


More information about the mythtv-dev mailing list