Ensure to run the script only with a btrfs root system
This commit is contained in:
parent
f74820fab9
commit
2239846950
3
debian/part.btrfs.sh
vendored
3
debian/part.btrfs.sh
vendored
@ -5,6 +5,9 @@
|
||||
#
|
||||
# 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
|
||||
mount -o remount,defaults,compress=lzo /target
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user