btrfs-progs: Fix init script 612/head
authorStefan Hellermann <stefan@the2masters.de>
Sat, 6 Dec 2014 15:30:39 +0000 (16:30 +0100)
committerStefan Hellermann <stefan@the2masters.de>
Mon, 8 Dec 2014 13:02:28 +0000 (14:02 +0100)
the init script calls the old btrfsctl util, which is not included in
btrfs-progs anymore. Update the init script to call "btrfs device scan"
which assembles multi device btrfs filesystems.

Signed-off-by: Stefan Hellermann <stefan@the2masters.de>
utils/btrfs-progs/files/btrfs-scan.init

index f1264ee701d743900ba0efa8b755413d0739a5e5..559fddaae98506a1ed73a39accf71f9794a7f4c9 100644 (file)
@@ -4,6 +4,6 @@
 START=19
 
 start() {
-       grep -q btrfs /proc/modules && /usr/bin/btrfsctl -a
+       grep -q btrfs /proc/modules && /usr/bin/btrfs device scan
 }