[Fai-commit] r5701 - in trunk: debian lib
Thomas Lange
lange at alioth.debian.org
Wed Jan 27 00:52:16 UTC 2010
Author: lange
Date: 2010-01-27 00:52:16 +0000 (Wed, 27 Jan 2010)
New Revision: 5701
Modified:
trunk/debian/changelog
trunk/lib/mkramdisk
Log:
modified version of mkrw from FAI 3.1.8., use /dev/shm for temp file
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2010-01-26 22:55:31 UTC (rev 5700)
+++ trunk/debian/changelog 2010-01-27 00:52:16 UTC (rev 5701)
@@ -4,7 +4,7 @@
* lib/mkramdisk: new script that mounts a ramdisk onto a directory and
copies its contents to the ramdisk, can also umount the ramdisk and
put the modified contents back to the hard disks, this script is a
- modified version of mkrw from FAI 3.1.8.
+ modified version of mkrw from FAI 3.1.8., use /dev/shm for temp file
* upstart.conf: fix timing issue (thanks to Waldemar Brodkorb for the
patch)
* lib/updatebase, fai-debconf: exit if mktemp fails, for e.g. when
Modified: trunk/lib/mkramdisk
===================================================================
--- trunk/lib/mkramdisk 2010-01-26 22:55:31 UTC (rev 5700)
+++ trunk/lib/mkramdisk 2010-01-27 00:52:16 UTC (rev 5701)
@@ -27,7 +27,7 @@
echo
set -e
- local tmp1=$(mktemp) || exit 12
+ local tmp1=$(mktemp -p /dev/shm) || exit 12
tar -C $1 -cf $tmp1 .
mount $2 $3 -t tmpfs tmpfs $1 || exit 13
echo "Ramdisk mounted onto $1"
More information about the Fai-commit
mailing list