On 04/03/2014 09:38 AM, Pádraig Brady wrote: > I'd be as much worried about > a clash with (dev_t)-1 as 0 TBH? Absolutely. I installed the attached patch, which should work regardless of what dev_t values are found in the file system. This fixes just this particular bug, though; I wouldn't be surprised if there are others (and haven't looked for them).