Ensure to run the script only with a btrfs root system
This commit is contained in:
parent
f74820fab9
commit
2239846950
|
@ -5,6 +5,9 @@
|
||||||
#
|
#
|
||||||
# Source: https://wiki.101010.fr/doku.php?id=debian:installation_btrfs
|
# Source: https://wiki.101010.fr/doku.php?id=debian:installation_btrfs
|
||||||
|
|
||||||
|
# Ensure to run the script only with a btrfs root
|
||||||
|
grep " /target btrfs " /etc/mtab || exit 1
|
||||||
|
|
||||||
# Remount the partition with "compress" option
|
# Remount the partition with "compress" option
|
||||||
mount -o remount,defaults,compress=lzo /target
|
mount -o remount,defaults,compress=lzo /target
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue