In ubuntu, the initfs runs a btrfs dev scan, which should catch
anything that would be missed there.

On Sun, Nov 30, 2014 at 4:11 PM, Dimitri John Ledkov <x...@debian.org> wrote:
> Hello,
>
> On 30 November 2014 at 17:43, Goffredo Baroncelli <kreij...@libero.it> wrote:
>> Hi all,
>>
>> this patch provides a "mount.btrfs" helper for the mount command.
>> A btrfs filesystem could span several disks. This helper scans all the
>> partitions to discover all the disks required to mount a filesystem.
>> So it would not necessary any-more to "scan" the partitions to mount a 
>> filesystem.
>>
>
> I would welcome this, as a general idea. At the moment in debian &
> ubuntu, btrfs tools package ships udev rules to call "btrfs scan"
> whenever device nodes appear.
>
> If scan is built into mount, I would be able to drop that udev rule.
> There are also some reports (not yet re-verified) that such udev rule
> is not effective, that is btrfs mount fails when attempted before udev
> has attempted to be run - e.g. from initrdless boot trying to mount
> btrfs systems before udev-trigger has been run (to process "cold-plug"
> events).
>
> --
> Regards,
>
> Dimitri.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to