2011-12-15 00:25:51 +01:00
|
|
|
#!/bin/bash -e
|
2012-03-05 16:09:24 +01:00
|
|
|
#%stage: filesystem
|
2011-11-09 15:49:06 +01:00
|
|
|
#%if: "$rootfstype" = "btrfs"
|
2011-12-15 00:25:51 +01:00
|
|
|
#%programs: /sbin/btrfs /sbin/btrfs-zero-log /sbin/btrfs-convert /sbin/btrfs-select-super /sbin/btrfs-image /sbin/btrfstune /sbin/btrfs-restore /sbin/btrfs-find-root /sbin/btrfsck /sbin/mkfs.btrfs /sbin/btrfs-dump-super
|
|
|
|
|
|
|
|
modprobe btrfs
|
|
|
|
|
|
|
|
if [ -x /sbin/btrfs ]; then
|
|
|
|
/sbin/btrfs dev scan >& /dev/null
|
|
|
|
fi
|