On Tue, 04 Sep 2012, Petter Reinholdtsen wrote: > [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.
Might actually need to get it into the initramfs as well. It is definately something btrfs-tools should take care of. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org