mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
Reserve 0% for root on ext4 partitions
This is to have the proper free disk space reported from XBMC, or even df, since the default is 5%. The impact is low, since having OpenELEC run everything as root had this limit not be enforced at any time. On my 3TB drive, XMBC reported 2.5TB free before the change and 2.7TB after.
This commit is contained in:
@@ -230,13 +230,13 @@ do_install_quick() {
|
||||
|
||||
# create filesystem
|
||||
msg_progress_install "23" "creating filesystem on ${INSTALL_DEVICE}1"
|
||||
mke2fs -t ext4 ${INSTALL_DEVICE}1 >> $LOGFILE 2>&1
|
||||
mke2fs -t ext4 -m 0 ${INSTALL_DEVICE}1 >> $LOGFILE 2>&1
|
||||
|
||||
msg_progress_install "25" "set uuid and disklabel $DISKLABEL_SYSTEM on ${INSTALL_DEVICE}1"
|
||||
tune2fs -U random -L $DISKLABEL_SYSTEM ${INSTALL_DEVICE}1 >> $LOGFILE 2>&1
|
||||
|
||||
msg_progress_install "28" "creating filesystem on ${INSTALL_DEVICE}2"
|
||||
mke2fs -t ext4 ${INSTALL_DEVICE}2 >> $LOGFILE 2>&1
|
||||
mke2fs -t ext4 -m 0 ${INSTALL_DEVICE}2 >> $LOGFILE 2>&1
|
||||
|
||||
msg_progress_install "30" "set uuid and disklabel $DISKLABEL_STORAGE on ${INSTALL_DEVICE}2"
|
||||
tune2fs -U random -L $DISKLABEL_STORAGE ${INSTALL_DEVICE}2 >> $LOGFILE 2>&1
|
||||
|
||||
Reference in New Issue
Block a user