1
0
mirror of https://github.com/azlux/log2ram.git synced 2023-10-10 13:37:24 +02:00

Better mount name

The name of the mount point is now log2ram
This commit is contained in:
azlux 2016-08-01 10:25:43 +02:00 committed by GitHub
parent 381f24933a
commit 8da521ab25

View File

@ -9,7 +9,7 @@ case "$1" in
[ -d $HDD_LOG ] || mkdir $HDD_LOG
mount --bind $RAM_LOG $HDD_LOG
mount --make-private $HDD_LOG
mount -t tmpfs -o nosuid,noexec,nodev,mode=0755,size=$SIZE ramlog $RAM_LOG
mount -t tmpfs -o nosuid,noexec,nodev,mode=0755,size=$SIZE log2ram $RAM_LOG
cp -rfup $HDD_LOG -T $RAM_LOG
;;