11 lines
363 B
Bash
11 lines
363 B
Bash
|
#!/bin/bash -e
|
||
|
#%stage: block
|
||
|
#%if: "$rootfstype" = "btrfs"
|
||
|
#%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
|