12 lines
411 B
Bash
12 lines
411 B
Bash
#!/bin/bash -e
|
|
#%stage: filesystem
|
|
#%if: -x /usr/sbin/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 /sbin/btrfs-debug-tree
|
|
#%modules: btrfs
|
|
|
|
modprobe btrfs
|
|
|
|
if [ -x /usr/sbin/btrfs ]; then
|
|
/usr/sbin/btrfs dev scan >& /dev/null
|
|
fi
|