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

f-myth-users at media.mit.edu f-myth-users at media.mit.edu
Wed Feb 3 09:18:39 UTC 2010

Yeah, I see the problem with nonces:  users might create two SG's that
use different (nonoverlapping) dirs in the same FS.  The nonces will
stay distinct but the FS is nonetheless the same.

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.

Maybe it might make sense (if the idea is to minimize the number of
times users ask the list "why doesn't Myth figure this out?" and not,
say, minimizing code complexity :) to take your case 4 and write out
something "big" (larger than the slop factor currently being used) and
see which FS changes.  Do this one at a time, of course.  Maybe only
do it if the free space looks like it's "most of the device", whatever
that means.

Probably this has been mentioned before; I know I've seen these
discussions go by but I'm not recalling the details, so this is
an ill-considered proposal at best.  Obviously more complexity
for a corner case.

Or maybe augment the UI to put a * next to SG's that appear empty and
a footnote that says "Nothing's been written to this SG yet, so I may
have confused it with another.  This problem will go away on its own
once it starts being used" and then it's just another string to add to
the translation database instead... :)

More information about the mythtv-dev mailing list