use mtab for getting rootflags

This commit is contained in:
Tobias Powalowski 2010-07-15 07:55:53 +02:00
parent d3b5f1fddb
commit 8de7e53a42

View file

@ -2983,7 +2983,7 @@ ROOTFS="$(blkid -c /dev/null $PART_ROOT -o value -s TYPE)"
}
getrootflags() {
ROOTFLAGS="$(findmnt -n -o options $PART_ROOT)"
ROOTFLAGS="$(findmnt -m -n -o options $PART_ROOT)"
}
getraidarrays() {
@ -3167,7 +3167,6 @@ finish_syslinux () {
### TODO:
# - raid not supported at all in btrfs mode
# - findmnt doesn't list btrfs subvolumes!
# - subvolumes are not correctly checked on create new
# install extlinux bootloader