2014-05-23 :-(
_ 午後
1300 デバッグしTARI
_ /etc/MAKEDEV
cd ~ /etc/MAKEDEV all
とやったけどどうも /dev にデバイスファイルが作成されないなー おかしいなー なんでだろうなーと思って中身を見てみた
usage() { cat 1>&2 << _USAGE_ Usage: ${0##*/} [-fMsu] [-m mknod] [-p pax] [-t mtree] special [...] Create listed special devices. Options: -f Force permissions to be updated on existing devices. -M Create memory file system. -m mknod Name of mknod(8) program. [\$TOOL_MKNOD or mknod] -p pax Name of pax(1) program. [\$TOOL_PAX or pax] -s Generate mtree(8) specfile instead of creating devices. -t mtree Name of mtree(8) program. [\$TOOL_MTREE or mtree] -u Don't re-create devices that already exist. _USAGE_ exit 1 }
あ
${0##*/}
嫌な予感が
oh
カレントディレクトリに作成されるのか。
ええとええと
-type t True if the file is of the specified type. Possible file types are as follows: b block special c character special d directory f regular file l symbolic link p FIFO s socket W whiteout w whiteout
まあとりあえずこれで
find ./ -type b | while read f; do rm -f $f; done
find ./ -type c | while read f; do rm -f $f; done