5 /var

Ū

/var ؤϲŪʥǡե뤬֤ޤǡˤϥסǥ쥯ȥե롢ѤΥǡûѤΥեޤߤޤ

/var ϰ¾ΥƥȶͭƤϤʤʤս꤬ޤ󤲤 /var/log/var/lock /var/run Ǥ /var/mail/var/cache/man/var/cache/fonts/var/spool/new ȤäΥǥ쥯ȥ϶ͭ뤳Ȥ⤢ޤ

/var /usr ɤ߹(read-only)ȤѤ뤿ξȤ¸ߤƤޤƥʥ󥹥ȡ䥽եȥΥƥʥ󥹤ϽޤˤǤ /usr ˥ǡϽ񤭹ޤʤ褦ˤ/var ؽ񤭹褦ˤʤƤϤޤ

⤷ /var Τΰ褬ݤǤʤϡ/ ѡƥ۲֤⡢/usr ѡƥ˺ۤ˾ޤǤ礦/ ѡƥ /var ΰ֤ƤޤȥƥबɬפȤΰ붲줬뤿Ǥˤʤ /var /usr ˥󥯤ƤϤޤ/usr /var ϰۤʤ䤬ꡢ̾ξͤƤޤ⤢뤫Ǥ󥯤ΤǤ /var /usr/var إ󥯤ۤɤǤ礦

Ū˥ץꥱ /var ؤľ˥ǥ쥯ȥƤϤޤ/var ؤ˥ǥ쥯ȥɲäǤΤϡƥγĥɬפʾ FHS ᡼󥰥ꥹȤˤäƶĤ줿Τߤˤ٤Ǥ

ɬ׾

ʲΥǥ쥯ȥꤢ뤤ϥǥ쥯ȥؤΥܥå󥯤 /var ֤ޤ

ǥ쥯ȥ̾
cache
ץꥱΥåǡ
lib
Ūʾ
local
/usr/local ΰ٤βŪʥǡ
lock
եؤΥå
log
եȥǥ쥯ȥ
opt
/opt ΰ٤βŪʥǡ
run
ץư˴طǡ
spool
ץꥱΥסǡ
tmp
ƥƵưΰ٤ͽ󤵤ƤŪʥե

ηаޤ鿷ץꥱˤäƶ礹뤳Ȥʤ褦ˤȤտޤ̾ݤƤǥ쥯ȥ꤬ޤȤ:

/var/backups
/var/cron
/var/msgs
/var/preserve

ץ

б륵֥ƥब󥹥ȡ뤵硢ʲΥǥ쥯ȥꤢ뤤ϥǥ쥯ȥؤΥܥå󥯤 /var ֤ޤ

ǥ쥯ȥ̾
ccout
ץȤΥʥץ
crash
ƥ९åΥץǡʥץ
games
Ѥβѥǡʥץ
mail
桼Υ᡼ܥåեʥץ
yp
NIS(ͥåȥ󥵡ӥ)Υǡ١եʥץ

/var/account : ץȤΥʥץ

Ū

Υǥ쥯ȥǤưΥץꥱ󤬵ϿʣΥץѤǡ֤ޤlastcomm sa Ȥä UNIX ƥѤޤˡ

/var/cache : ץꥱΥåǡ

Ū

/var/cache ϥץꥱ󤬥ǡݴɤǤǡȤΤ I/O ׻˻֤ĶѤǡǤץꥱϥǡƺ뤫Ǥ褦ˤƤʤƤϤޤ/var/spool Ȥϰۤʤꡢå夵줿եϥǡ»򤹤ʤ뤳ȤޤǡϥץꥱưޤᡢƥƵưƤĤäƤʤФޤ

/var/cache ۲Υեϥץꥱλͤ䥷ƥԤˤäɬפȤʤ礬ޤץꥱ¦ǤϾˤΥե뤬ưƤ⽤褦ˤʤƤϤޤʰŪˤϥǥΰη˳ˡåǥ쥯ȥΥǡեޥåȤˤĤƤä˵Ϥޤ

(i) ­

ƥԤФƤ /var ǥ쥯ȥ۲˥Хåå׺Ȥۤʤäǥؤΰưʤɡǥ쥯ȥΰʬĤƤޤ

ץ

ǥ쥯ȥ̾
fonts
줿եȡʥץ
man
ѤΥޥ˥奢ʸʥץ
www
WWW ץ뤤ϥåǡʥץ
<package>
ѥåͭΥåǡ

/var/cache/fonts : 줿ե

Ū

/var/cache/fonts ǥ쥯ȥưŪեȤ֤˻Ȥ٤ǤȤ櫓ưŪ mktexpk ˤäեƤ /var/cache/fonts ۲Ŭڤ̾դ֥ǥ쥯ȥ֤ʤƤϤޤ*1

ץ

¾ưŪ줿եȤ /var/cache/fonts ۲Ŭڤ̾դƥ֥ǥ쥯ȥ뤫⤷ޤ

/var/cache/man : ѤΥޥ˥奢ʸ

Ū

Υǥ쥯ȥϰŪ˥Ǥ /usr ѡƥɤ߹(read-only)Ȥ󶡤ΤǤǤѤΥޥ˥奢ʸϤΥǥ쥯ȥ֤ȤĤƤޤ/usr 񤭹߲ǽȤƥޥȤȡʥ󥰥桼ǤΥ󥹥ȡȻʤɡˤǤϡ/var/cache/man Ȥʤ褦ˤ/usr/share/man ǥ쥯ȥ cat<section> Τ褦ʷǵҤʤƤϤޤ¿ΥȤФؤΥץѤ뤳Ȥ򴫤ޤ

  • 귿ޥ˥奢ʸ귿Ǥʤޥ˥奢˰äƤ
  • 񼰤ǤϤʤޥ˥奢򥭥å夵ʤ褦ˤman ʸϤƤӽФ٤˽񼰤褦ˤƤ
  • ν񼰤 man ʸ /var/cache/man ֤褦ˤƤ

񼰤Ƥʤޥ˥奢ʸϤդĤ <path>/man/<locale>/man<section> ֤ޤ񼰤Ƥ man ʸϤϡ 桼ˤäưư뤫󥹥ȡζͭѥ̾ǤͿ <path> ˤä <catpath> 졢ǥ쥯ȥ /var/cache/man/<catpath>/<locale>/cat<section> ֤ޤ<locale>Ǥɬ̵⤷ޤ*2

/var/cache/man ˽񤭹ޤ줿 man ʸϤϡŬڤʥǥ쥯ȥ˽񼰤 man ؤ˰ư뤫ޤƱman زˤ񼰤줿ʸϤǤäƤδ֥ʤ褦Ǥк뤳Ȥ⤢ޤ

񼰤Ƥޥ˥奢ڡɤ߹ѥǥ(CD-ROM ʤ)֤Ƥ硢 man ء㡧/usr/share/man/cat<section>ˤ˥󥹥ȡ뤹뤿ᡢ /var/cache/man ޥ˥奢ʸν񼰤뤿˽񤭹߲ǽʾȤͿޤ

(i) ­

ɸ൬꡼ 1.2 Ǥ /var/catman ΰ٤γؤꤵƤޤ񼰤줿 man ʸϤưŪȿǤ뤿 /var/cache ؤȥѥϰưޤǥ쥯ȥ̾ man PostSctipt?HTML뤤 DVI Ȥä"cat"ޥɤˤäƽǤʤ񼰤ޤळȤǤ褦ؤγĥθƤޤ

/var/crash : ƥ९åΥץǡʥץ

Ū

Υǥ쥯ȥϥƥ९åΥץǡ֤Ǥɸ൬Υ꡼ˤơLinux ǥƥ९åΥפݡȤƤޤ󡣤Ǥ¾ FHS ߴƥˤäƤѤ뤫⤷ޤ

/var/games : Ѥβѥǡʥץ

Ū

/usr ۲ games ϢΤɤΤ褦ưŪʥǡǤ⤳ξ֤٤Ǥ /usr ˤŪʥǡ /var/games ۲ˤȸʤ٤Ǥإʸ񡢥٥ʤɤΤ褦Ūʥǡ /usr/share/games ۲֤ޤޤˤʤƤϤޤ

(i) ­

/var/games ϥ꡼ 1.2 ˤƸŤ /var/lib Ȱ礵ƤޤꡢषȼγؤͿޤ/var/lib ϥۥȴ֤ǥǡͭ뤳ȤƤꡢʬΥ뤳ȤϥʥХååˡѡߥåȥǥˡ𻨤ˤʤäƤޤǤˡ/var/games BSD ˤäŪѤƤѥǤ

/var/lib : Ūʾ

Ū

γؤǤϥץꥱ䥷ƥबĴϢ֤ǤȤΤϥץ¹Ԥˤäѹ줿ǡΥۥȾ˴ؤǡλǤ桼ɥĴȤΤ褷 /var/lib/ Ĵʤ褦ˤʤƤϤޤ

ϰŪ˥ץꥱʤ뤤ߴطäƤ륢ץꥱΥ롼סˤץꥱμ¹Ԥȡץꥱΰۤʤä󥹥󥹤ˤĤƤξ֤¸ƤȤѤޤ

ץꥱʤ뤤ߴطäƤ륢ץꥱΥ롼סˤɬ /var/lib ۲Υ֥ǥ쥯ȥ˥ǡ֤ʤƤϤޤ󡣥֥ǥ쥯ȥɬפȤʤץꥱΰ٤ˤ /var/lib/misc Ȥǥ쥯ȥ꤬ޤ֥ǥ쥯ȥѤ뤫ɤˤĤƤϥǥȥӥ塼󤬥ץꥱƳǸƤǤ*3

/var/lib/<name> ƤΥǥȥӥ塼ΥѥåݡȤʤƤϤޤ󡣤󡢥ǥȥӥ塼ˤäưۤʤä̾ȤȤǤޤ

ɬ׾

ʲΥǥ쥯ȥꤢ뤤ϥǥ쥯ȥؤΥܥå󥯤 /var/lib ֤ޤ

ǥ쥯ȥ̾
misc
¾ξ֥ǡ

ץ

б륵֥ƥब󥹥ȡ뤵硢ʲΥǥ쥯ȥꡢ뤤ϥǥ쥯ȥؤΥܥå󥯤 /var/lib ֤ޤ

ǥ쥯ȥ̾
<editor>
ǥΥХååץեȾ֡ʥץ
<pkgtool>
ѥåΥݡȥեʥץ
<package>
ѥåȥ֥ƥΰ٤ξ֥ǡʥץ
hwclock
hwclock ΰ٤ξ֥ǥ쥯ȥʥץ
xdm
X ǥץ쥤ޥ͡㡼ΤβŪʥǡʥץ

/var/lib/<editor> : ǥΥХååץեȾ֡ʥץ

Ū

Υǥ쥯ȥϥǥΰ۾ェλˤäƤ褦¸ǡ֤ޤ㡧elvixjovenviˡ

ǥˤäƤϥåΥե뤿˥ǥ쥯ȥɬפȤʤ⤢ޤǤǥƯˤ¾Υǡ֤ȤѤ뤫⤷ޤ󡣤ξ /var/lib ۲Υ֥ǥ쥯ȥ֤⤢ޤ(㡧GNU Emacs ϥեåΤ /var/lib/emacs/lock Ȥޤ)

賫ȯ륨ǥ⥯åβեȥեåȤäɲþɬפȤΤǤС/var/lib/<editor> Ѥ٤Ǥ

(i) ­

Ƥξѥ٥Ʊ͡ Linux Ǥ vi 뤤 vi Υ /var/preserve ѤޤǤǥˤäƥåΰ٤˥ǥ쥯ȥɬפȤʤ顢ϥǥ˸̤Υǥ쥯ȥɬפȤޤ

ǥͭΥåեϡ̾ۤʤäǥХ꥽Ǥ /var/lock ˥åե뤬֤Ƥꡢ/var/lib ֤뤳ȤϤޤ

/var/lib/hwclock : hwclock ΰ٤ξ֥ǥ쥯ȥʥץ

Ū

Υǥ쥯ȥˤ /var/lib/hwclock/adjtime եޤޤޤ

(i) ­

FHS 2.1 Ǥϳե뤬 /etc/adjtime ǤǤ hwclock åץǡȤȤˤꡢ꤬ѹȤʤޤ

/var/lib/misc : ¾βŪʥǡ

Ū

Υǥ쥯ȥˤ /var/lib ˥֥ǥ쥯ȥɬפȤʤǡ֤ѤޤΥǥ쥯ȥǤ̾ͤ뤳Ȥʤ褦ˡ줾ä̾Ȥ褦θɬפǤ*4

/var/lock : åե

Ū

åե /var/lock ǥ쥯ȥ깽¤֤٤Ǥ

ǥХ¿Υ꥽ͭ륢ץꥱΥåե /usr/spool/locks 뤤 /usr/spool/ccup ȤäꥢǥХǸޤ /var/lock ֤ʤƤϤޤ󡣻ѤǥХ̾ˤä "LCK.." Ȥ̾Ȥ꤬ޤȤ /dev/ttyS0 ΰ٤Υåե "LCK..ttyS0" Ȥƺޤ*5

Τ褦ʥåեѤեޥåȤ HDB UUCP åեǤHDB եޥåȤϥץID(PID) 10 ХȤ ASCII 10 ʿȤƥץפޤȤХץ 1230 Υåեˤϡϣʸ " 1230" Ȥƹޤ

/var/log : եȥǥ쥯ȥ

Ū

Υǥ쥯ȥˤ¿Υե֤ޤۤȤɤΥΥǥ쥯ȥ꤫Ŭڤʥ֥ǥ쥯ȥ˽񤭹ޤޤ

ץ

б륵֥ƥब󥹥ȡ뤵硢ʲΥե뤢뤤ϥեؤΥܥå󥯤 /var/log ˤޤ

ե̾
lastlog
줾Υ桼κǽϿ
messages
syslogd Υƥå
wtmp
ƤΥȥȤεϿ

/var/mail : 桼Υ᡼ܥåʥץ

Ū

᡼Υסե /var/mail ̤ƥʤƤϤʤ餺ס뤵ե̾η <桼̾> ǤʤƤϤޤ*6

(i) ­

Υǥ쥯ȥΤŪʾ /var/sool/mail ǤƤ UNIX ˼ƤĶ FHS Ťᡢ/var/mail ؤѹޤѹ /var/mail UNIX Ƥ¿ΥۥȤǺѤƤǥ쥯ȥäᡢߴݤĤ˽פǤ

ʪŪ /var/mail ˥ס᡼ưɬפʤȤϽפǤʤȤ /va/spool/mail ؤΥܥå󥯤 /var/mail ȤˡǤץȥإåե /var/mail 򰷤褦ѹƤʤƤϤʤޤ

/var/opt : /opt ΰ٤βŪʥǡ

Ū

ɲåեȥѥåɬפȤŪʥե֤ /etc ֤ΤǤϤʤ/opt ۲˥󥹥ȡ뤵줿̾˽褦 /var/opt/<subdir> Ȥƥ󥹥ȡ뤹ɬפޤ/var/opt/<subdir> ¤ФƤȤ櫓¤Ϥޤ

(i) ­

/opt ˤĤƤ򵭽ҡ

/var/run : 󥿥βŪʥǡ

Ū

Υǥ쥯ȥˤϥƥबưγƼ亮ƥǡ֤ޤΥǥ쥯ȥ۲ˤեϥФεưץ˥ꥢʺ뤫ɬפ˱Ƹ餹ˤɬפޤץˤäƤ /var/run ۲˥֥ǥ쥯ȥäƤ⤢ޤʣΥ󥿥򰷤ץΤ˿侩Ƥޤ*7ץIDե(PID)ϸ /etc ۲֤Ƥޤ /var/run ذư뤳ȤˤʤޤPID ե̾ <ץ̾>.pid ȤǤȤ crond PID ե̾ /var/run/crond.pid Ȥʤޤ

ɬ׾

PID եϰѤäƤޤ󡣥եϤǤϥץ ID ASCII 10 ʿȲԥɤȤǵҤޤȤ crond Υץֹ椬 25 ǤС/var/run/crond.pid եˤϣĤʸҤޤ 2ƲԥɤǤ

ץब PID ɤ߹ȤˤϽƤۤɤǤ礦ȤСPID ե;ʬʶ򥹥ڡäꡢˣդƤꡢԥɤηǡɲùԤ뤫⤷ޤ󡣥ץब PID եȤˤϡ嵭ιǼƤ褦ñʻͽ˽٤Ǥ

ïƥȤäƤ뤫Ȥݻ utmp եϤΥǥ쥯ȥˤޤ

Ū UNIX ɥᥤ󡦥åȤݻץϡ򤳤Υǥ쥯ȥˤʤƤϤޤ

/var/spool : ץꥱΥסǡ

Ū

/var/spool ϲ餫μΥץԤȤʤäƤǡ֤ޤ/var/spool Υǡϡʥץࡢ桼ԤˤäơͽȤʤäƤΤǤŪˤϽäϥǡޤ*8

ץ

б륵֥ƥब󥹥ȡ뤵硢ʲΥǥ쥯ȥޤϥǥ쥯ȥؤΥܥå󥯤 /var/spool ֤ޤ

ǥ쥯ȥ̾
lpd
ץ󥿤Υסǥ쥯ȥʥץ
mqueue
ۿͽΥ᡼ʥץ
news
news סǥ쥯ȥʥץ
rwho
Rwhod եʥץ
uucp
UUCP ΤΥסǥ쥯ȥʥץ

/var/spool/lpd : 饤ץ󥿡ǡΰ塼ʥץ

Ū

lpd, lpd.lock Ȥäåե /var/spool/lpd ֤ʤƤϤޤ󡣥ץ󥿤μ̤Ǥ褦˥ǥ쥯ȥǤϥץ̾åեȤѤƤǡǤ礦

ץ

ǥ쥯ȥ̾
printer
Υץ󥿤ΤΥס

/var/spool/rwho : Rwhod եʥץ

Ū

Υǥ쥯ȥϥͥåǤ¾Υƥ˴ؤ rwhod ֤ޤ

(i) ­

㴳 BSD ꡼ /var/rwho ǥ쥯ȥ꤬Υǡΰ٤ѤޤŪʷаޤ¾ΥƥȤˤơ/var/spoll ϡ֥ס뤵줿ǡ֤פȤǰ˽ /var/rwho ѤƤΤǤ

/var/tmp : ƥƵưΰ٤ͽ󤵤ƤŪʥե

Ū

/var/tmp ǥ쥯ȥϡƥ൯ưδ֤Τ߰Ū˥եǥ쥯ȥɬפȤץΤѤޤĤޤ /tmp ۲ΥǡˤưŪѤǡ֤ޤ

ƥ൯ư /var/tmp ˥եǥ쥯ȥ꤬¸ߤƤϤޤ󡣤ȤϤ /var/tmp ϥ˥ƥफŵŪ˺Τǡ/tmp ۤˤʴֳ֤ǥեκԤɬפ̵Ȥޤ

/var/yp : NIS(ͥåȥ󥵡ӥ)Υǡ١եʥץ

Ū

ˤ Sun Yellow Pages(YP) ȤΤƤ NIS(ͥåȥ󥵡ӥ)βŪǡΥǥ쥯ȥ֤ޤ

(i) ­

/var/yp NIS(yp) ǡΤɸŪʥǥ쥯ȥǤꡢؤɤ NIC ʸȥƥѤޤ*9



*1 Ǥ TeX ǥ쥯ȥɸ๽¤ˤϴޤޤƤޤʸϤϰɤ٤Ǥ礦ʸϤ TeX Υեȥǥ쥯ȥȤƵҤƤޤˡեϤǤ ftp://ctan.tug.org/tex
*2 Ȥ /usr/share/man/ls.1 /var/cache/man/cat1/ls.1 ǽ񼰤ޤ/usr/X11R6/man/<locale>/man3/XtClass?.3x /var/cache/man/X11R6/<locale>/cat3/XtClass?.3x ǽ񼰤ޤ
*3 ɸСΥСȤνפʰ㤤ϡץꥱϺ /var/lib Υ֥ǥ쥯ȥλѤɬפȤ뤳ȤǤ
*4 γؤˤϸ BSD ˤäƥ꡼Ƥ /var/db ֤Ƥե뷲ޤߤޤˤ locate.database mountdtab ȥͥ륷ܥǡ١ޤߤޤ
*5 å줿 /dev/ttyS0 ѤץȤ褦˰褦ˤʤޤ/var/lock ۲ΥåեϤ٤ɤ߹߲ǽǤɬפޤ
*6 /var/mail ¾Υǥ쥯ȥؤΥܥå󥯤Ǥ⤢ޤ
*7 /var/run root ǡ¹ԤƤ桼ʳϽ񤭹߽ʤ褦ˤʤƤϤޤ󡣤⤷ïǤ񤭹ߤ褦ǤСƥ˴ؤȤʤޤ
*8 UUCP åե /var/lock ֤ʤƤϤޤ󡣾 /var/lock Υ򻲾ȤƤ
*9 Sun NIS+ NIS ƱƤϤޤSun NIS+ /var/nis Ѥޤ

ȥå   Խ ʬ Хåå ź ʣ ̾ѹ   ñ측 ǽ   إ   ǽRSS
Last-modified: Sun, 11 Jun 2006 18:16:56 JST (4183d)