This website works better with JavaScript.
Home
Help
Sign In
heuzef
/
log2ram
mirror of
https://github.com/azlux/log2ram.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
18
Wiki
Activity
Browse Source
Merge pull request
#19
from Sailing74/fixoutofram
unmount tmpfs if RAM too small to prevent corruption of logdir
pull/22/head
azlux
7 years ago
committed by
GitHub
parent
bd1b669ed9
da1950989f
commit
150136da42
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
log2ram
+ 2
- 0
log2ram
View File
@@ -27,6 +27,8 @@ syncFromDisk () {
if [ ! -z `du -sh -t $SIZE $HDD_LOG | cut -f1` ]; then
echo "ERROR: RAM disk too small. Can't sync."
umount -l $RAM_LOG
umount -l $HDD_LOG
exit 1
fi
Write
Preview
Loading…
Cancel
Save