This file is indexed.

/usr/share/doc/HOWTO/ja-html/ext-root-mini-HOWTO-4.html is in doc-linux-ja-html 2006.05.25-1.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
 <TITLE>Ext-Rootfs-mini-HOWTO: NFS ¥Þ¥¦¥ó¥È¤·¤¿¥Ç¥£¥ì¥¯¥È¥ê¤Ë¥ë¡¼¥È¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤òÃÖ¤¯</TITLE>
 <LINK HREF="ext-root-mini-HOWTO-5.html" REL=next>
 <LINK HREF="ext-root-mini-HOWTO-3.html" REL=previous>
 <LINK HREF="ext-root-mini-HOWTO.html#toc4" REL=contents>
</HEAD>
<BODY>
<A HREF="ext-root-mini-HOWTO-5.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="ext-root-mini-HOWTO-3.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="ext-root-mini-HOWTO.html#toc4">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="NFS"></A> <A NAME="s4">4. NFS ¥Þ¥¦¥ó¥È¤·¤¿¥Ç¥£¥ì¥¯¥È¥ê¤Ë¥ë¡¼¥È¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤òÃÖ¤¯</A></H2>

<P>
<P>initrd ¤ò»È¤¨¤Ð pcmcia-cs ·Ðͳ¤Ç LAN ¥«¡¼¥É¤ò»È¤¤¡¢NFS ¥Þ¥¦¥ó¥È¤·¤¿¥Ç¥£
¥ì¥¯¥È¥ê¤Ë¥ë¡¼¥È¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤òÃÖ¤¤¤¿ diskless Linux ¤ò¹½À®¤¹¤ë¤³¤È
¤â²Äǽ¤Ç¤¹¡£
<P>NFS ¥Þ¥¦¥ó¥È¤·¤¿¥Ç¥£¥ì¥¯¥È¥ê¤Ë¥ë¡¼¥È¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤òÃÖ¤¯(NFS root)¾ì
¹ç¡¢¥«¡¼¥Í¥ë¤Î¹½ÃÛ»þ¤Ë¡¢NFS ¥ª¥×¥·¥ç¥ó¤È NFS root ¥ª¥×¥·¥ç¥ó¤ò¶¦¤Ë»ØÄê
¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£Slackware ¤ËÉÕ°¤Î¥«¡¼¥Í¥ë¤Ë¤Ï NFS root ¥ª¥×¥·¥ç¥ó
¤Ï»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤Î¤Ç¡¢NFS root ¤ò»È¤¦¾ì¹ç¤Ë¤Ï¥«¡¼¥Í¥ë¤òºÆ¹½ÃÛ¤¹¤ëɬ
Íפ¬¤¢¤ê¤Þ¤¹¡£¥«¡¼¥Í¥ë¤òºÆ¹½ÃÛ¤¹¤ëºÝ¤Ë»ØÄꤹ¤Ù¤­¥ª¥×¥·¥ç¥ó¤Ï 
<A HREF="ext-root-mini-HOWTO-5.html#make">¡ÖÀìÍѤΥ·¥¹¥Æ¥à¤òºî¤ë¡×</A>Àá¤Ç²òÀ⤷¤Þ¤¹¡£
<P>NFS root ¤òÍøÍѤ¹¤ë¾ì¹ç¡¢NFS ¥µ¡¼¥Ð¤È¤Ê¤ë¥Þ¥·¥ó¤ËɬÍפʥ롼¥È¥Õ¥¡¥¤¥ë
¥·¥¹¥Æ¥à¤òÍÑ°Õ¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤½¤Î¤¿¤á¤ÎÊýË¡¤Ë¤Ä¤¤¤Æ¤Ï 
/usr/src/linux/Documentation/nfsroot.txt ¤ä nfs-root-mini-HOWTO ¤ò»²¾È
¤·¤Æ¤¯¤À¤µ¤¤¡£
<P>¤Þ¤¿¡¢NFS ¥µ¡¼¥Ð¤È¤Ê¤ë¥Þ¥·¥ó¤Ç¥ë¡¼¥È¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò export ¤¹¤ëºÝ¤Ë
¤Ï¥ª¥×¥·¥ç¥ó¤È¤·¤Æ <CODE>/etc/exports</CODE> ¥Õ¥¡¥¤¥ë¤Ç no_root_squash ¤ò
¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¡¢¥ë¡¼¥È¸¢¸Â¤Ç NFS ¥Ç¥£¥ì¥¯¥È¥ê¤Ë¥¢¥¯¥»¥¹¤Ç¤­¤ë¤è¤¦
¤Ë¤·¤Æ¤ª¤­¤Þ¤¹¡£
<P>
<HR>
<PRE>
/var/nfsroot    cyclone.rider.co.jp(rw,no_root_squash)
</PRE>
<HR>
<P>NFS ¥µ¡¼¥Ð¤È¤Ê¤ë¥Þ¥·¥ó¤Î¥ë¡¼¥È¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¤¢¤ë¥Ç¥£¥ì¥¯¥È¥ê(¾åµ­
¤ÎÎã¤Ç¤Ï <CODE>/var/nfsroot</CODE>)¤Ë¤¢¤ë <CODE>/etc/fstab</CODE> ¤â NFS ¥Þ¥¦
¥ó¥ÈÍѤ˽¤Àµ¤·¤Æ¤ª¤¯É¬Íפ¬¤¢¤ê¤Þ¤¹¡£
<P>
<HR>
<PRE>
172.16.1.1:/var/nfsroot  /    nfs   rw,rsize=8192,wsize=8192,intr
</PRE>
<HR>
<P>¥«¡¼¥Í¥ë¤ò NFS root ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤ÆºÆ¹½ÃÛ¤·¡¢initrd ¤Çµ¯Æ°¤¹¤ë¤È¡¢
<CODE>/proc/sys/kernel/nfs-root-name</CODE> ¤È 
<CODE>/proc/sys/kernel/nfs-root-addrs</CODE> ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤Ë½ñ¤­¤³¤á¤ë¤è
¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£Á°¼Ô(<CODE>nfs-root-name</CODE>)¤Ë¤Ï¥µ¡¼¥Ð¥Þ¥·¥ó¤Ç¤Î NFS
root ¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ò¡¢¸å¼Ô(<CODE>nfs-root-addrs</CODE>)¤Ë¤Ï¥µ¡¼¥Ð¡¼¥Þ¥·¥ó¡¢
¥¯¥é¥¤¥¢¥ó¥È¥Þ¥·¥ó¤½¤ì¤¾¤ì¤Î IP ¥¢¥É¥ì¥¹¤ò»ØÄꤷ¤Þ¤¹¡£
<CODE>/proc/sys/kernel/real-root-dev</CODE> ¤Ë¤Ï 0xff(255) ¤ò»ØÄꤷ¤Æ¤ª¤­
¤Þ¤¹¡£
<P>Î㤨¤Ð¡¢¥µ¡¼¥Ð¥Þ¥·¥ó(hurricane.rider.co.jp)¤Î IP ¥¢¥É¥ì¥¹¤¬ 172.16.1.1¡¢
¥¯¥é¥¤¥¢¥ó¥È¥Þ¥·¥ó(cyclone.rider.co.jp)¤Î IP ¥¢¥É¥ì¥¹¤¬ 172.16.1.2¡¢¥Í¥Ã
¥È¥Þ¥¹¥¯¤¬ 255.255.255.0 ¤Î¾ì¹ç¡¢initrd ¤Çµ¯Æ°¤·¤Æ¡¢¥Í¥Ã¥È¥ï¡¼¥¯¥«¡¼¥É
¤¬»È¤¨¤ë¤³¤È¤ò³Îǧ¤·¤Æ¤«¤é¡¢
<P>
<HR>
<PRE>
# echo "/var/nfsroot" > /proc/sys/kernel/nfs-root-name
# echo "172.16.1.2:172.16.1.1::255.255.255.0:cyclone  \
         > /proc/sys/kernel/nfs-root-addrs
# echo 255 > /proc/sys/kernel/real-root-dev
</PRE>
<HR>
<P>¤È½ñ¤­¤³¤ß¡¢linuxrc ¤ò½ªÎ»¤¹¤ì¤Ð¡¢hurricane ¾å¤Î <CODE>/var/nfsroot</CODE>
¤ò NFS root ¤Ë¤·¤Æ¥·¥¹¥Æ¥à¤¬µ¯Æ°¤·¤Þ¤¹¡£
<P><CODE>/proc/sys/kernel/nfs-root-addrs</CODE>¤Ë½ñ¤­¤³¤à½ñ¼°¤Ï nfsroot.txt 
¤Ë¤¢¤ë¤è¤¦¤Ë¡¢
&lt;client-ip&gt;:&lt;server-ip&gt;:&lt;gw-ip&gt;:&lt;netmask&gt;:&lt;hostname&gt;:&lt;device&gt;:&lt;autoconf&gt; 
¤È¤¤¤¦·Á¤Ç¡¢¾Êά¤·¤¿Éôʬ¤Ë¤Ï¥Ç¥Õ¥©¥ë¥ÈÃͤ¬»È¤ï¤ì¤Þ¤¹¡£
<P>
<BLOCKQUOTE>
Slackware ɸ½à¤Î <CODE>/etc/rc.S</CODE> ¤Ç¤Ï¥ë¡¼¥È¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò¤¤¤Ã¤¿
¤ó read-only ¤Ç¥Þ¥¦¥ó¥È¤·¤Æ fsck ¤·¤Þ¤¹¤¬¡¢NFS root ¤Î¾ì¹ç¡¢¥ë¡¼¥È¥Õ¥¡
¥¤¥ë¥·¥¹¥Æ¥à¤Ï¤¢¤é¤«¤¸¤á¥Þ¥¦¥ó¥È¤µ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢¤½¤Î»Ý¤ò¼¨¤¹¥¨¥é¡¼¥á¥Ã
¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Þ¤¹¤¬¡¢Â¿Ê¬Âç¾æÉפǤ¹(¤¢¤Þ¤ê»È¤Ã¤Æ¤Ê¤¤¤Î¤Ç¼«¿®¤¢¤ê¤Þ
¤»¤ó¡£¼±¼Ô¤Î¸æ°Õ¸«¤ò¶µ¤¨¤Æ¤¯¤À¤µ¤¤¡£)
</BLOCKQUOTE>
<P>¥á¥â¥ê¤Î¾¯¤Ê¤¤¥Þ¥·¥ó¤Ç swap Îΰè¤â NFS ¾å¤Ë¼è¤ëɬÍפ¬¤¢¤ë¾ì¹ç¡¢
<A HREF="http://sunsite.unc.edu/pub/Linux/Incoming/etherboot-3.0b1.tar.gz">NFS swap patch</A> ¤ò¤¢¤Æ¤Æ¡¢¥«¡¼¥Í¥ë¤òºÆ¹½ÃÛ¤·¤Æ¤¯¤À¤µ¡£
<P>
<P>
<HR>
<A HREF="ext-root-mini-HOWTO-5.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="ext-root-mini-HOWTO-3.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="ext-root-mini-HOWTO.html#toc4">Ìܼ¡¤Ø</A>
</BODY>
</HTML>