Hello,
Am Dienstag, den 04. September schrieb Petter Reinholdtsen:
> reassign 686639 btrfs-tools
> thanks
>
> [M G Berberich]
> > For btrfs multi-disk-filesystems to get mounted it is neccessary to do
> > a ‘btrfs scan’ so the kernel knows about btrfs-disks/partitions. This
> > should probably be done in ‘/etc/init.d/mountall.sh’
> >
> > # for btrfs multi-disk/partition-filesystems
> > if [ -x /sbin/btrfs ]; then
> > /sbin/btrfs device scan 2>/dev/null
> > fi
>
> I believe it is better to put such code in the btrfs-tools package
> which include the btrfs tool or some other btr related package, and
> make sure the new init.d script is executed before mountall.sh (and
> perhaps before checkroot.sh?). This way it will only be executed for
> those using btrfs.
I just found that ‘btrfs device scan’ is done by initramfs-tools in
‘/usr/share/initramfs-tools/scripts/local-premount/btrfs’, which of
course does not work for a kernel without initramfs.
Not sure if this qualifies as bug any more.
MfG
bmg
--
„Des is völlig wurscht, was heut beschlos- | M G Berberich
sen wird: I bin sowieso dagegn!“ | [email protected]
(SPD-Stadtrat Kurt Schindler; Regensburg) | www.fmi.uni-passau.de/~berberic
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]