User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
mysql_ramdisk [2014/12/07 20:05]
mysql_ramdisk [2014/12/07 20:23]
kyxap [Инициализация md в FreeBSD]
Line 15: Line 15:
 if ! /bin/df $MYSQL_TMPDIR | grep -q "​^/​dev/​md[0-9]";​ then if ! /bin/df $MYSQL_TMPDIR | grep -q "​^/​dev/​md[0-9]";​ then
   mkdir -p $MYSQL_TMPDIR   mkdir -p $MYSQL_TMPDIR
-  mount_mfs -s 1024m -o noexec md5 $MYSQL_TMPDIR +  mount_mfs -s 1024m -p 0700 -w mysql:​mysql ​-o noexec md5 $MYSQL_TMPDIR
-  chown mysql:mysql $MYSQL_TMPDIR+
 fi fi
 </​code>​ </​code>​
mysql_ramdisk.txt · Last modified: 2014/12/07 20:24 by kyxap