2 .\" Version 1.4 of namei
4 .\" Japanese Version Copyright (c) 2001 Yuichi SATO
5 .\" all rights reserved.
6 .\" Translated Mon Jan 8 16:42:28 JST 2001
7 .\" by Yuichi SATO <sato@complex.eng.hokudai.ac.jp>
12 .\"O namei - follow a pathname until a terminal point is found
13 namei - ½ªÃ¼¤¬¸«¤Ä¤«¤ë¤Þ¤Ç¥Ñ¥¹Ì¾¤òé¤ë
23 .\"O uses its arguments as pathnames to any type
24 .\"O of Unix file (symlinks, files, directories, and so forth).
26 ¤Ï¡¢°ú¤¿ô¤ò (¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¡¦¥Õ¥¡¥¤¥ë¡¦¥Ç¥£¥ì¥¯¥È¥ê¤Ê¤É¤Î)
27 Ǥ°Õ¥¿¥¤¥×¤Î Unix ¥Õ¥¡¥¤¥ë¤Ø¤Î¥Ñ¥¹Ì¾¤È¤·¤Æ»È¤¦¡£
29 .\"O then follows each pathname until a terminal
30 .\"O point is found (a file, directory, char device, etc).
32 ¤Ï¡¢(¥Õ¥¡¥¤¥ë¡¦¥Ç¥£¥ì¥¯¥È¥ê¡¦¥¥ã¥é¥¯¥¿¥Ç¥Ð¥¤¥¹¤Ê¤É¤Î)
33 ½ªÃ¼¤¬¸«¤Ä¤«¤ë¤Þ¤Ç¥Ñ¥¹Ì¾¤òé¤ë¡£
34 .\"O If it finds a symbolic link, we show the link, and start
35 .\"O following it, indenting the output to show the context.
36 ¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤¬¸«¤Ä¤«¤Ã¤¿¾ì¹ç¡¢
37 ¥ê¥ó¥¯¤òɽ¼¨¤·¤Æ¡¢ÆâÍƤò¥¤¥ó¥Ç¥ó¥È¤·¤Ê¤¬¤é½ÐÎϤ·¤Æ¥ê¥ó¥¯¤òé¤ê»Ï¤á¤ë¡£
39 .\"O This program is useful for finding a "too many levels of
40 .\"O symbolic links" problems.
42 ¡Ö¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤Î¥ì¥Ù¥ë¤¬¿¼¤¹¤®¤ë¡×¤È¤¤¤¦ÌäÂê¤ò
43 ¸«ÉÕ¤±¤ë¤¿¤á¤ËÌòΩ¤Ä¡£
45 .\"O For each line output,
47 .\"O outputs a the following characters to identify the file types found:
50 ¤Ï¸«¤Ä¤«¤Ã¤¿¥Õ¥¡¥¤¥ë¥¿¥¤¥×¤ò¼±Ê̤¹¤ë¤¿¤á¤Î°Ê²¼¤Îʸ»ú¤ò½ÐÎϤ¹¤ë:
53 .\"O f: = the pathname we are currently trying to resolve
55 .\"O l = symbolic link (both the link and it's contents are output)
58 .\"O c = character device
60 .\"O ? = an error of some kind
61 f: = ²ò·è¤¹¤ë¤¿¤á¤ËÆþÎϤ·¤¿¥Ð¥¹Ì¾
63 l = ¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯ (¥ê¥ó¥¯¤È¥ê¥ó¥¯¤ÎÆâÍƤÎξÊý¤ò½ÐÎϤ¹¤ë)
66 c = ¥¥ã¥é¥¯¥¿¥Ç¥Ð¥¤¥¹
72 .\"O prints an informative message when
73 .\"O the maximum number of symbolic links this system can have has been exceeded.
75 ¤Ï¡¢¥·¥¹¥Æ¥à¤ÇµöÍƤµ¤ì¤Æ¤¤¤ë¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤ÎºÇÂç¿ô¤òĶ¤¨¤Æ¤¤¤ë¾ì¹ç¡¢
76 ¾ðÊó¥á¥Ã¥»¡¼¥¸¤òɽ¼¨¤¹¤ë¡£
81 .\"O Show mount point directories with a 'D', rather than a 'd'.
82 ¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤Ë¤Ê¤Ã¤Æ¤¤¤ë¥Ç¥£¥ì¥¯¥È¥ê¤ò
83 \&'d' ¤Ç¤Ï¤Ê¤¯ 'D' ¤ò»È¤Ã¤Æ¼¨¤¹¡£
86 .\"O Show the mode bits of each file type in the style of ls(1),
87 .\"O for example 'rwxr-xr-x'.
88 ³Æ¥Õ¥¡¥¤¥ë¥¿¥¤¥×¤Î¥â¡¼¥É¤ò
89 \&'rwxr-xr-x' ¤Î¤è¤¦¤Ê ls(1) ¤Î·Á¼°¤Çɽ¼¨¤¹¤ë¡£
92 Roger Southwick (rogers@amadeus.wr.tek.com)
95 .\"O To be discovered.
100 .\"O will follow an infinite loop of symbolic links forever. To escape, use
101 .\"O SIGINT (usually ^C).
103 ¤Ï¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤Î̵¸Â¥ë¡¼¥×¤ò±Êµ×¤Ëé¤ê³¤±¤ë¡£
104 ¤³¤ì¤«¤éÈ´¤±¤ë¤Ë¤Ï¡¢SIGINT (Ä̾ï¤Ï ^C) ¤ò»È¤¦¤³¤È¡£