hns - 日記自動生成システム - Version 2.19.9

先月 2011年06月 来月
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2011年06月09日(木) 旧暦 [n年日記] [更新:"2011/06/09 17:37:10"]

#1 [pkgsrc] /tmp permission and MYSQL

僕の理解だと、
mysql-server-5.0.88 MySQL 5, a free SQL database (server)
の場合に、/tmp が 別区画にはなっていなくて、NetBSD OS 設置のままだと、
許可が次のようになっている
pts/0:makoto@taira 8:16:38/110609(~)> ls -lag /tmp
total 2
drwxr-xr-x   2 root  wheel    0 Jun  9 08:16 .
drwxr-xr-x  25 root  wheel  512 Mar  3  2010 ..
このままだと mysql server が起動しない。 それで、安易に、
sudo chmod 1777 /tmp
とやる訳だ。ところが実は /tmp は tmpfs mount になっている。
pts/0:makoto@hostname 8:18:56/110609(~)> grep tmpfs /etc/fstab
tmpfs                   /tmp    tmpfs   rw
これで再起動すると、上の chmod は捨てられてしまう。 /tmp が使われていない時に umount /tmp してから chmod する必要がある。
一年前に上の間違いをして、 最近また動いていなかったのを発見して上記知見となった。

#2 [LaTeX] \usepackage{emathPs} と subsubsection*

\usepackage{emathPs} 
と書いておくと \subsubsection* が使えなくなる \subsubsection*{何か} が 単に * と組版される(ような気がする)。何だろう。
と思ったが自分で書いたものが原因だったと判明
\documentclass{jsbook}
\usepackage{graphicx}
\usepackage{emathPs}
\input{../second-text/jbook-part.tex}

\begin{document}
\chapter{章名}
\section{節名}
\subsection{小節名}
\subsubsection*{何か小々節}
\subsubsection{次の小々節}

\end{document}
%%%%%%%%%
t-105@makoto 17:24:45/110609(..emacs-book/work)%  env TEXINPUTS=../emath:../sty: platex --shell-escape emathps-test.tex
上の二つの青が問題。どちらかを消すと問題が解消する。



最近の日記
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)