/usr/share/doc/HOWTO/ja-html/Backup-With-MSDOS-2.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 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>Backup-With-MSDOS mini-HOWTO: ¥Æ¥¯¥Ë¥Ã¥¯</TITLE>
<LINK HREF="Backup-With-MSDOS-3.html" REL=next>
<LINK HREF="Backup-With-MSDOS-1.html" REL=previous>
<LINK HREF="Backup-With-MSDOS.html#toc2" REL=contents>
</HEAD>
<BODY>
<A HREF="Backup-With-MSDOS-3.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="Backup-With-MSDOS-1.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Backup-With-MSDOS.html#toc2">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="s2">2. ¥Æ¥¯¥Ë¥Ã¥¯</A></H2>
<P>¤³¤Îʸ½ñÃæ¤Ç£²Âæ¤Î¥Þ¥·¥ó¤ò¤½¤ì¤¾¤ì``<CODE>msdos</CODE>''¡¢``<CODE>linux</CODE>''¤È
¸Æ¤Ó¤Þ¤¹¡£``<CODE>msdos</CODE>''¤ÏMS-DOS¤ÎÁö¤Ã¤Æ¤¤¤ë¥Æ¡¼¥×¥É¥é¥¤¥Ö¤ÎÀܳ¤µ¤ì¤¿
¥Þ¥·¥ó̾¤Ç¡¢``<CODE>linux</CODE>''¤Ï¥Æ¡¼¥×¥É¥é¥¤¥Ö¤Ë¥Ð¥Ã¥¯¥¢¥Ã¥×/¥ê¥¹¥È¥¢¤ò
¹Ô¤¤¤¿¤¤Êý¤Î¥Þ¥·¥ó̾¤Ç¤¹¡£´Êñ¤Ë¤¹¤ë¤¿¤á¤ËLinux¤Ç¥Ö¡¼¥È¡¢²ÔƯ¤µ¤»¤ë¤È¤¤Ç¤â
£±ÂæÌܤΥޥ·¥ó¤ò``<CODE>msdos</CODE>''¤È¸Æ¤Ó¤Þ¤¹¡£¤µ¤é¤Ë¤³¤Î¥É¥¥å¥á¥ó¥ÈÃæ¤Î
¥Ñ¥¹Ì¾¤â¥·¥¹¥Æ¥à¤Î¤É¤³¤«¤Ë¥Þ¥¦¥ó¥È¤µ¤ì¤¿Search-And-Rescue (SAR)¥Ç¥£¥¹¥¯
¤ÈLinux¥Þ¥·¥ó¤Ë¤Ä¤Ê¤¬¤ê¤¬¤¢¤ë¤è¤¦¤Ë½ñ¤¤Þ¤¹¡£
Î㤨¤Ð¡¢¤³¤ì¤Ï<CODE>/etc/passwd</CODE>¤ÏLinux¥Þ¥·¥ó¤Î¥Ï¡¼¥É¥É¥é¥¤¥ÖÍѤΥѥ¹¥ï¡¼¥É
¥Õ¥¡¥¤¥ë¤Ç¤¢¤ë¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£<CODE>/tape144/etc/passwd</CODE>¤Ï¥Õ¥í¥Ã¥Ô¡¼
¥Ç¥£¥¹¥¯¾å¤Î¤â¤Î¤ËÁêÅö¤¹¤ë¥Õ¥¡¥¤¥ë¤Ç¤¹¡£
<P>(<EM>ÌõÃí¡§</EM>SAR¥Ç¥£¥¹¥¯¥Ä¡¼¥ë¤Ë¤Ä¤¤¤Æ
<P>LSM)
<PRE>
Begin3
Title: SAR: a Search And Rescue set
(SAR ¸¡º÷¡¢¥ì¥¹¥¥å¡¼¥»¥Ã¥È)
Version: 2.21
Entered-date: 01dec94
Description: (SAR¤ÏSearch And Rescue¥Õ¥í¥Ã¥Ô¡¼¥»¥Ã¥È¤òºî¤ë¤¿¤á¤Î¥¹¥¯¥ê¥×¥È
¤Ç¤¹¡£¥Ï¡¼¥É¥Ç¥£¥¹¥¯¤¬ÉÔ¹¬¤Ê¥¯¥é¥Ã¥·¥å¤ò¤·¤¿¤È¤¤Ë»È¤¤¤Þ¤¹¡£
¥Õ¥í¥Ã¥Ô¡¼¤Ï¤¢¤Ê¤¿¼«¿È¤Ç¥¢¥Ã¥×¥Ç¡¼¥È¤µ¤ì¤¿¥«¡¼¥Í¥ë¤È
¥æ¡¼¥Æ¥£¥ê¥Æ¥£¥»¥Ã¥È¤¬»È¤ï¤ì¤Þ¤¹¡£ÀßÄê¥Õ¥¡¥¤¥ë¤ÏSAR¥»¥Ã¥È¤Î
À¸À®¤ò¥«¥¹¥¿¥Þ¥¤¥º¤·¤Þ¤¹¡£SAR¤Ï
£±Ë礫£²Ëç¤Î¥Õ¥í¥Ã¥Ô¡¼¥ì¥¹¥¥å¡¼¥»¥Ã¥È
"holecp"¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ë¤è¤Ã¤Æ¥³¥Ô¡¼¤µ¤ì¤¿¥Õ¥¡¥¤¥ë
Kiss "simple shell"
¤ò´Þ¤ó¤Ç¤¤¤Þ¤¹¡£¹ÈϰϤˤ錄¤ë¥É¥¥å¥á¥ó¥È¤È¥æ¡¼¥Æ¥£¥ê¥Æ¥£
¥×¥í¥°¥é¥à¤¬¤Ä¤¤¤Æ¤¤¤Þ¤¹)¡£
Keywords: backup rescue SAR search first-aid
Author: Karel Kubat (karel@icce.rug.nl)
Maintained-by: see Author
Primary-site: ftp.icce.rug.nl:/pub/unix/SAR-X.YY.tar.gz (X.YY is version)
Alternate-site: sunsite.unc.edu, tsx-11.mit.edu
Original-site: --
Platforms: Linux systems
Copying-policy: PostcardWare (if you like it, send me a postcard)
MegaHard (who wants a Microsoft)
but really: GPL, but inform me if you want to make changes
End
</PRE>
Ãø¼Ô¤ÏKarel Kubat»á¤Î¥Ð¥Ã¥¯¥¢¥Ã¥×¥¹¥¯¥ê¥×¥Èversion 1.03¤ò»È¤Ã¤Æ¤¤¤Þ¤¹¡£
<BLOCKQUOTE><CODE>
<A HREF="ftp://sunsite.enc.edu:/pub/Linux/system/Backup/backup-1.03.tar.gz">ftp://sunsite.enc.edu:/pub/Linux/system/Backup/backup-1.03.tar.gz</A></CODE></BLOCKQUOTE>
¤«¤éÆþ¼ê¤Ç¤¤Þ¤¹¡£
°Ê²¼¤³¤Î¥É¥¥å¥á¥ó¥È¤Ç<CODE>backup-1.03.tar.gz</CODE>Ãæ¤Î¥¹¥¯¥ê¥×¥È¤òñ¤Ë
``<CODE>¥Ð¥Ã¥¯¥¢¥Ã¥×¥¹¥¯¥ê¥×¥È</CODE>''¤È¸Æ¤Ó¤Þ¤¹¡£¥Æ¡¼¥×¤Ø¤Î¥Ð¥Ã¥¯¥¢¥Ã¥×ÍѤË
¤³¤ì¤é¤Î¥¹¥¯¥ê¥×¥È¤ò»È¤ï¤Ê¤¤¤Ç²¼¤µ¤¤¡£
°µ½Ì¥Õ¥¡¥¤¥ë¤«¤é¥Õ¥¡¥¤¥ë¤òŸ³«¤¹¤ë¤¿¤á¤Îafio(<EM>ÌõÃí¡§</EM>¥¢¡¼¥«¥¤¥Ö¥×¥í¥°¥é¥à)
¤È¤·¤Æ¤Ä¤«¤¤¤Þ¤¹¡£¥ê¥¹¥È¥¢Ãæ¥á¥Ç¥£¥¢¤ÎÆɤ߹þ¤ß¥¨¥é¡¼¤¬¤¢¤Ã¤¿¾ì¹ç¤½¤Î¤Û¤¦¤¬
°ÂÁ´¤Ç¤¹¡£Karel»á¤Ï¤â¤¦<CODE>backup</CODE>¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤ª¤é¤º¡¢'tob'(tape oriented
backup)¤òÀ½ºî¤µ¤ì¤Æ¤¤¤Þ¤¹¡£Ãø¼Ô¤â¿·¤·¤¤¥Ñ¥Ã¥±¡¼¥¸¤ò»î¤·¤Æ¤¤¤Ê¤¤¤Î¤Ç¤³¤³¤Ç
½Ò¤Ù¤ë¼ê½ç¤È¤Î½ÅÍפʰ㤤¤Ë¤Ä¤¤¤Æ¤Ï¥³¥á¥ó¥È¤Ç¤¤Þ¤»¤ó¡£
<P>¤Þ¤º»Ï¤á¤Ëftape¥â¥¸¥å¡¼¥ë¤òÆþ¼ê¤·¤Þ¤¹¡£¤³¤ì¤Ï¸½ºß¤Î¥«¡¼¥Í¥ë¤Î°ìÉô¤È¤Ê¤Ã¤Æ¤¤¤Þ¤¹
¤¬¡¢¸Å¤¤¥«¡¼¥Í¥ë¤ò»È¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ï
<BLOCKQUOTE><CODE>
<A HREF="ftp://sunsite.unc.edu/pub/Linux/kernel/tapes/ftape-2.05.tar.gz">ftp://sunsite.unc.edu/pub/Linux/kernel/tapes/ftape-2.05.tar.gz</A></CODE></BLOCKQUOTE>
¤«¤éÆþ¼ê¤·¤Æ¤ª¤¤¤Æ²¼¤µ¤¤¡£
¼¡¤ËSlackware¥Ö¡¼¥È¥Ç¥£¥¹¥¯(Ãø¼Ô¤Ïnet¥Ç¥£¥¹¥¯¤ò»È¤¤¤Þ¤¹¤¬¤½¤ì¤Û¤É°ã¤¤¤Ï¤¢¤ê
¤Þ¤»¤ó)¤È<CODE>tape144</CODE>¥ë¡¼¥È¥Ç¥£¥¹¥¯(¤ò3"1/2¥Õ¥í¥Ã¥Ô¡¼¤Ë¥¤¥á¡¼¥¸
¤ò½ñ¤¹þ¤ó¤À¥Ç¥£¥¹¥¯)¤òÍÑ°Õ¤·¤Þ¤¹¡£
<P><CODE>ftape</CODE>¥â¥¸¥å¡¼¥ë¤Ï¡¢¼Â¹Ô¤·¤Æ¤¤¤ë¥«¡¼¥Í¥ë¤ËÁȤ߹þ¤Þ¤ì¤Æ¤¤¤ë¾ì¹ç¤Î¤ß
Æ°ºî¤·¤Þ¤¹¡£<CODE>tape144</CODE>¥ë¡¼¥È¥Ç¥£¥¹¥¯¾å¤Ç<CODE>ftape.o</CODE>¥â¥¸¥å¡¼¥ë¤È
Æ°ºî¤µ¤»¤ë¤³¤È¤Ï¤Ç¤¤Þ¤»¤ó¡£¥â¥¸¥å¡¼¥ë¤¬¥·¥ó¥Ü¥ë¤Îºï½ü(stripped)¤ò¤·¤Æ¤¤¤Æ
ÁȤ߹þ¤á¤Ê¤¤¤«¤é¤À¤È»×¤¤¤Þ¤¹¡£
¤½¤³¤Ç¥Í¥Ã¥È¥ï¡¼¥¯¤Èftape¤ò¥µ¥Ý¡¼¥È¤¹¤ë¥«¡¼¥Í¥ë¤òºÆ¹½ÃÛ¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹(
¤Þ¤¿¸Å¤¤¥«¡¼¥Í¥ë¤ò»È¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ï¿·¤·¤¤<CODE>ftape.o</CODE>¥â¥¸¥å¡¼¥ë¤ò
¥µ¥Ý¡¼¥È¤¹¤ë¤è¤¦¤Ë¤·¤Þ¤¹)¡£¤³¤³¤Ç<CODE>ftape</CODE>¥¢¡¼¥«¥¤¥Ö¤òºî¤ë¤¿¤á¤Îʸ½ñ¤ò
Æɤó¤Ç¤ª¤¤¤Æ²¼¤µ¤¤¡£¥³¥ó¥Ñ¥¤¥ë¤¹¤ë¥«¡¼¥Í¥ë¤ÏLinux¡¢MS-DOS¥Þ¥·¥óξÊý¤Ç¥¤¡¼¥µ
¥Í¥Ã¥È¥«¡¼¥É¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤³¤È¤ò˺¤ì¤Ê¤¤¤Ç²¼¤µ¤¤¡£
<P>¿·¤·¤¤¥«¡¼¥Í¥ë¥¤¥á¡¼¥¸¤ònet¥Ö¡¼¥È¥Ç¥£¥¹¥¯¤Ë¥³¥Ô¡¼¤·¤Þ¤¹¡£<CODE>/bin/cp</CODE>
¥³¥Þ¥ó¥É¤ò»È¤Ã¤Æ²¼¤µ¤¤¡£µ¯Æ°²Äǽ¤Ê¥«¡¼¥Í¥ë¥¤¥á¡¼¥¸¤òºî¤ë¤¿¤á¤Ë``<CODE>dd</CODE>''
¥³¥Þ¥ó¥É¤Ï»È¤¤¤Þ¤»¤ó¡£¥é¥Ù¥ë¤ÏSAR#1¤È¤·¤Þ¤¹¡£¥Ö¡¼¥È¥Ç¥£¥¹¥¯¤ò¥é¥¤¥È¥×¥í
¥Æ¥¯¥È¤·¤Æ¤ª¤¯¤Î¤ò˺¤ì¤Ê¤¤¤Ç²¼¤µ¤¤¡£
<P>¤µ¤Æ¼¡¤Ë<CODE>tape144</CODE>¥ë¡¼¥È¥Ç¥£¥¹¥¯¤ò¥Þ¥¦¥ó¥È¤·¤Þ¤¹¡£¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤Ï
¥Õ¥¡¥¤¥ë̾¤Èº®Æ±¤·¤Ê¤¤¤è¤¦¤Ë<CODE>/tape144</CODE>¤È¤·¤Þ¤¹¡£¥¹¥Ú¡¼¥¹¤ò¶õ¤±¤ë
ɬÍפ¬¤¢¤ë¤Î¤Ç°Ê²¼¤Î¥Õ¥¡¥¤¥ë¤òºï½ü¤·¤Þ¤¹¡£
<BLOCKQUOTE><CODE>
<PRE>
/tape144/bin/dialog
/tape144/bin/elvis
/tape144/bin/vi
/tape144/boot/ftape.o
</PRE>
</CODE></BLOCKQUOTE>
<P>¤Ä¤®¤Ë¿·¤·¤¤¥Õ¥¡¥¤¥ë¤òºî¤ê¤Þ¤¹¡£
<BLOCKQUOTE><CODE>
<PRE>
/tape144/etc/exports
</PRE>
</CODE></BLOCKQUOTE>
¤³¤Î¥Õ¥¡¥¤¥ë¤Ï°Ê²¼¤Î¹Ô¤ò´Þ¤ó¤Ç¤¤¤Þ¤¹¡£
<BLOCKQUOTE><CODE>
<PRE>
/mnt msdos(ro)
</PRE>
</CODE></BLOCKQUOTE>
¤³¤³¤Ç``<CODE>msdos</CODE>''¤Ï¡¢¥Æ¡¼¥×¥É¥é¥¤¥Ö¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ëMS-DOS
¥Þ¥·¥ó̾¤«IP#¤ËÃÖ¤´¹¤¨¤Æ²¼¤µ¤¤¡£
<P>(¥Þ¥·¥ó̾¤Ï)¥Í¡¼¥à¥µ¡¼¥Ð¤Ë°Í¸¤·¤Ê¤¤¤è¤¦¤Ë¤·¤Þ¤¹¡£Linux ¤È MS-DOS¥Þ¥·¥ó¤Î
̾Á°¤ÈIP¥¢¥É¥ì¥¹¤ò<CODE>/tape144/etc/hosts</CODE>¤Ë°Ê²¼¤Î¤è¤¦¤ËÄɲä·¤Þ¤¹¡£
<BLOCKQUOTE><CODE>
<PRE>
128.100.75.114 caliban.physics.utoronto.ca caliban caliban.physics
128.100.75.111 ariel.physics.utoronto.ca ariel ariel.physics
</PRE>
</CODE></BLOCKQUOTE>
<P>inetdÀßÄê¤Ç¤Á¤ç¤Ã¤ÈÌäÂ꤬¤¢¤ê¤Þ¤¹¡£rsh¥Ç¡¼¥â¥ó¤Î¥Õ¥ë¥Ñ¥¹Ì¾¤ò½ñ¤«¤Ê¤¯¤Æ¤Ï
¤Ê¤ê¤Þ¤»¤ó¡£<CODE>/tape144/etc/inetd.conf</CODE>¤Î19¹ÔÌܤòÊѹ¹¤·¤Þ¤¹¡£
(<EM>ÌõÃí¡§</EM>¥³¥á¥ó¥Èʸ¤òɽ¼¨¤µ¤»¤Ê¤¤¤Çcat¤¹¤ë¤Ë¤Ï<CODE>grep ^[^#] inetd.conf</CODE>
¤Ê¤É¤È¤·¤Æ²¼¤µ¤¤)¡£
<BLOCKQUOTE><CODE>
<PRE>
shell stream tcp nowait root /usr/etc/tcpd /usr/etc/in.rshd
</PRE>
</CODE></BLOCKQUOTE>
<P>MS-DOS¥Þ¥·¥ó¤¬¥Í¥Ã¥È¥ï¡¼¥¯¤ò»È¤¨¤ë¤è¤¦¤Ë<CODE>/tape144/etc/rc.d/rc.inet1</CODE>
¤Ë¥í¡¼¥«¥ë¥Í¥Ã¥È¥ë¡¼¥Á¥ó¤Î¾ðÊó¤òÄɲä·¤Þ¤¹¡£¤³¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï³Æ¼«¤Î¥Í¥Ã¥È
¥ï¡¼¥¯ÀßÄê¤Ë°Í¤ë¤Î¤Ç¡¢Linux¥Þ¥·¥ó¤Î<CODE>/etc/rc.d/rc.inet1</CODE>¤«¤éŬÅö¤Ê
¥Õ¥©¡¼¥Þ¥Ã¥È¤ò¥³¥Ô¡¼¤·¤Þ¤¹¡£Ãø¼Ô¤Î¥Í¥Ã¥È¥ï¡¼¥¯¤Ç¤Ï°Ê²¼¤Î¤è¤¦¤Ê¹Ô¤òÄɲä·¤Þ¤·
¤¿¡£
<BLOCKQUOTE><CODE>
<PRE>
/etc/ifconfig eth0 128.100.75.111 broadcast 128.100.75.0 netmask 255.255.255.0
/etc/route add -net 128.100.75.0 netmask 255.255.255.0
</PRE>
</CODE></BLOCKQUOTE>
ifconfig¥¨¥ó¥È¥ê¡¼¤ÎIP#¤Ï MS-DOS¥Þ¥·¥ó¤Î¤â¤Î¤Ë¤·¤Æ²¼¤µ¤¤¡£
<P>¤³¤Î¥Õ¥¡¥¤¥ë¤ò<CODE>/tape144/etc/rc.d/rc.inet1-l</CODE>¤Ë¥³¥Ô¡¼¤·¤Þ¤¹¡£
MS-DOS¥Þ¥·¥ó¤è¤ê¤âLinux¥Þ¥·¥ó¤ÎÀßÄê¤òÈ¿±Ç¤µ¤»¤ë¤¿¤á¤Ë¿·¤·¤¤¥Õ¥¡¥¤¥ë¤Î
IP#¤òÊѹ¹¤·¤Þ¤¹¡£
<P><CODE>/tape144/etc/rc.local</CODE>¥Õ¥¡¥¤¥ë¤Î3¡Á11¹Ô¤ò¥³¥á¥ó¥È¥¢¥¦¥È(clip out)
¤·¤Þ¤¹¡£¤³¤³¤Ï<CODE>rc.inet*</CODE>¥Õ¥¡¥¤¥ë¤ò¼Â¹Ô¤¹¤ë¤¿¤á¤Îifʬ´ô¤Ç¤¹¡£¥Ö¡¼¥È
¥¢¥Ã¥×Ãæ¤Ï¤³¤ì¤¬µ¯¤³¤é¤Ê¤¤¤è¤¦¤Ë¤·¤Þ¤¹¡£
<P><CODE>/tape144/root/.rhosts</CODE>¥Õ¥¡¥¤¥ë¤òºî¤ê¤Þ¤¹¡£
<BLOCKQUOTE><CODE>
<PRE>
linux root
</PRE>
</CODE></BLOCKQUOTE>
¤È¤¤¤¦¹Ô¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¤³¤³¤Ç``<CODE>linux</CODE>''¤Ï¥É¥á¥¤¥ó̾¤â´Þ¤ó¤À
¥Þ¥·¥ó̾¤«IP#¤ËÃÖ¤´¹¤¨¤Æ¤ª¤¤¤Æ²¼¤µ¤¤¡£
<P>¥Ð¥Ã¥¯¥¢¥Ã¥×¤ò¼è¤Ã¤Æ¤¤¤ë´Ö¡¢MS-DOS¥Þ¥·¥ó¤Ë¥í¥°¥¤¥ó¤¹¤ë¿Í¤¬¤¤¤Ê¤¤¤è¤¦¤Ë
root¥í¥°¥¤¥óÍѤÎ<CODE>/tape144/etc/passwd</CODE>¤Î¥Ñ¥¹¥ï¡¼¥É¥Õ¥£¡¼¥ë¥É¤ò
Ëþ¤¿¤·¤Æ¤ª¤¤Þ¤¹¡£Linux¥Þ¥·¥ó¤Î<CODE>/etc/passwd file</CODE>¤«¤éŬÅö¤Ê¥Õ¥£¡¼¥ë¥É
¤ò¥³¥Ô¡¼¤¹¤ì¤Ð¤è¤¤¤Ç¤¹¡£
<P>/usr/bin/rsh¤ò/tape144/usr/bin¤Ë¥³¥Ô¡¼¤·¤Þ¤¹¡£
<P><CODE>/usr/etc</CODE>¤«¤é°Ê²¼¤Î¥Õ¥¡¥¤¥ë¤ò<CODE>/tape144/usr/etc</CODE>¤Ë¥³¥Ô¡¼¤·¤Þ¤¹¡£
(ÌõÃí¡§<CODE>/usr/etc</CODE>¤Ç¤Ê¤¯<CODE>/etc</CODE>¤Î´Ä¶¤Î¾ì¹ç¤Ï<CODE>/etc</CODE>¤«¤é
¥³¥Ô¡¼¤·¤Æ²¼¤µ¤¤)
<BLOCKQUOTE><CODE>
<PRE>
in.rshd
rpc.mountd
rpc.nfsd
rpc.portmap
services
tcpd
</PRE>
</CODE></BLOCKQUOTE>
<P>¿·¤·¤¤¥¹¥¯¥ê¥×¥È<CODE>/tape144/bin/tapesetup</CODE>¤òºî¤ê¤Þ¤¹¡£°Ê²¼¤Îʸ¤ò
¤½¤Î¥Õ¥¡¥¤¥ë¤Ë½ñ¤¹þ¤ó¤Ç²¼¤µ¤¤¡£
<BLOCKQUOTE><CODE>
<PRE>
#! /bin/sh
/bin/sh /etc/rc.d/rc.inet1
/bin/sh /etc/rc.d/rc.inet2
/bin/mount linux:/nfs /mnt
/bin/insmod /mnt/ftape.o
</PRE>
</CODE></BLOCKQUOTE>
¤³¤³¤Ç``<CODE>linux</CODE>''¤ÏLinux¥Þ¥·¥ó̾¤Ë¤·¤Þ¤¹¡£
¿·¤·¤¤¥«¡¼¥Í¥ë¤Ç¤Ïinsmod¤Î¹Ô¤Ï¤¤¤ê¤Þ¤»¤ó¡£
<P>¼¡¤Ë°Ê²¼¤Î¤è¤¦¤Ê¥¹¥¯¥ê¥×¥È<CODE>/tape144/bin/msdosset</CODE>¤âºî¤Ã¤Æ¤ª¤¤Þ¤¹¡£
<BLOCKQUOTE><CODE>
<PRE>
#! /bin/sh
/bin/sh /etc/rc.d/rc.inet1
/bin/sh /etc/rc.d/rc.inet2
mount linux:/mnt /mnt
/bin/insmod /mnt/ftape.o
</PRE>
</CODE></BLOCKQUOTE>
¤³¤³¤Ç``<CODE>linux</CODE>''¤ÏLinux¥Þ¥·¥ó̾¤Ë¤·¤Þ¤¹¡£
ƱÍͤ˿·¤·¤¤¥«¡¼¥Í¥ë¤Ç¤Ïinsmod¤Î¹Ô¤Ï¤¤¤ê¤Þ¤»¤ó¡£
<P>ÀâÌÀ¤Î¤¿¤á¤Î¥Õ¥¡¥¤¥ë<CODE>/tape144/root/notes</CODE>¤âºî¤Ã¤Æ¤ª¤¤Þ¤¹¡£¤³¤ì¤Ï
Éüµì¤Î»þ¤Î¼ê½ç¾ðÊó¤ò½ñ¤¤¤Æ¤ª¤¤Þ¤¹¡£
<P>--------------------- ¤³¤³¤«¤é -----------------------------------
<BLOCKQUOTE><CODE>
<PRE>
¥Ï¡¼¥É¥Ç¥£¥¹¥¯¤¬²õ¤ì¤¿»þ½¤Éü¤µ¤»¤ë¤¿¤á¤Ë¡¢SAR(Search-And-Rescue¡¢Éüµì)
¥Ç¥£¥¹¥¯#1¤È#2¤ò»È¤Ã¤ÆLinux¤ò¥Ö¡¼¥È¤·¤Þ¤¹¡£¤½¤·¤Æ°Ê²¼¤Î¤è¤¦¤Ë¼Â¹Ô¤·¤Þ¤¹¡£
/bin/sh /etc/rc.d/rc.inet1-l
/bin/sh /etc/rc.d/rc.inet2
/usr/etc/rpc.portmap
/usr/etc/rpc.mountd
/usr/etc/rpc.nfsd
¤Ä¤®¤ËSAR¥Ç¥£¥¹¥¯#3¤òÆþ¤ì¤Æ¡¢
mount /dev/fd0 /mnt
¤È¤·¤Þ¤¹¡£¿·¤·¤¤¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤òºî¤ê¤Þ¤¹¡£
mkdir /mnt2
¤³¤³¤ËLinux¥Ï¡¼¥É¥Ç¥£¥¹¥¯¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò¥Þ¥¦¥ó¥È¤·¤Æ²¼¤µ¤¤¡£
¤Ï¤¸¤á¤Ë¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò¥Õ¥©¡¼¥Þ¥Ã¥È¤·¤Æ¤ª¤«¤Ê¤¯¤Æ¤Ï¤Ê¤é¤Ê¤¤¤«¤â
¤·¤ì¤Þ¤»¤ó¡£¤½¤Î»þ¤ÏLinux Installation HOWTO¤ò»²¹Í¤Ë¤·¤Þ¤¹¡£
SAR¥Ç¥£¥¹¥¯¤ÏºÆ¥Õ¥©¡¼¥Þ¥Ã¥È¤¹¤ë¤Î¤ËɬÍפÊÁ´¥Õ¥¡¥¤¥ë¤¬¤¢¤ê¤Þ¤¹¡£
ºÇ¸å¤ËSAR#1¡¢SAR#2¥Ç¥£¥¹¥¯¤ò»È¤Ã¤ÆMS-DOS¥Þ¥·¥ó¤ò¥Ö¡¼¥È¥¢¥Ã¥×¤·¤³¤Î¥Þ¥·¥ó¤«¤é
/bin/msdosset¥¹¥¯¥ê¥×¥È¤ò¼Â¹Ô¤·¤Æ²¼¤µ¤¤¡£¥Õ¥í¥Ã¥Ô¡¼¥É¥é¥¤¥Ö¤«¤éNFS¥Õ¥¡¥¤¥ë¤ò
get¤·¤Æ¤¤¤ë¤Î¤Ç¼Â¹Ô¤Ë¤Ï£±Ê¬°Ì¤«¤«¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£¤·¤Ð¤é¤¯¤ªÂÔ¤Á²¼¤µ¤¤¡£
°Ê¾å¤Ç¥Æ¡¼¥×¤«¤éLinux¥Þ¥·¥ó¤Î /mnt2 ¤ËÉüµì¤µ¤ì¤Þ¤·¤¿¡£
</PRE>
</CODE></BLOCKQUOTE>
--------------------- ¤³¤³¤Þ¤Ç -----------------------------------
<P>¤â¤·¥Ð¥Ã¥¯¥¢¥Ã¥×¥¹¥¯¥ê¥×¥È¤ò»È¤Ã¤Æ¤¤¤ë¤Ê¤é'afio'¥³¥Þ¥ó¥É¤ò
<CODE>/tape144/local/bin</CODE>¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤Ë¥³¥Ô¡¼¤·¤Æ¤ª¤¤Þ¤¹¡£
Éüµì¥Ç¥£¥¹¥¯¤Ë¥Ð¥Ã¥¯¥¢¥Ã¥×¥¹¥¯¥ê¥×¥È¤Î»Ä¤ê¤òÆþ¤ì¤Æ¤ª¤¯É¬ÍפϤ¢¤ê¤Þ¤»¤ó¡£
¥¢¡¼¥«¥¤¥Ö¤Ï'afio'¤È'gzip'¤À¤±¤ÇÉüµì¤Ç¤¤Þ¤¹¡£
<P>Ãø¼Ô¤Ï¥Ð¥Ã¥¯¥¢¥Ã¥×¥¹¥¯¥ê¥×¥È¤ò¤½¤ì¤¬¤Á¤ã¤ó¤ÈÆ°ºî¤¹¤ë¤è¤¦¤Ë»È¤¨¤Æ¤¤¤Þ¤»¤ó¡£
¥Æ¡¼¥×¥¢¡¼¥«¥¤¥Ö¤Ï¤¤ì¤¤¤Ëºî¤é¤ì¤Æ¤¤¤ë¤è¤¦¤Ë¸«¤¨¤ë¤Î¤Ç¤¹¤¬¡¢Éüµì¤Ç¤¤Þ¤»¤ó¡£
¥Ö¥í¥Ã¥¯¥µ¥¤¥º¤Îºï½ü¤È¥¹¥¯¥ê¥×¥ÈÃæ¤Î½ñ¤´¹¤¨¤ò¤¹¤ë¤³¤È¤Ç¥Ð¥°¤ò¤È¤ê¤Þ¤·¤¿¡£
°Ê²¼¤½¤Î``<CODE>netbackup</CODE>''¥¹¥¯¥ê¥×¥È¤Î¥Ñ¥Ã¥Á¤ò½ñ¤¤Þ¤·¤¿¡£¤³¤Î¥Ñ¥Ã¥Á¤ò¡¢
SAR¥Ç¥£¥¹¥¯¤Ø¤Î¥³¥Ô¡¼¤ÈƱÍͤË'netbackup'¤ÎLinux¥Þ¥·¥ó¤Î¥Ï¡¼¥É¥Ç¥£¥¹¥¯¥³¥Ô¡¼
¤Ë¤âÅö¤Æ¤Æ¤ª¤¤Þ¤¹¡£
<BLOCKQUOTE><CODE>
<PRE>
*** netbackup.orig Mon Jan 9 17:22:32 1995
--- netbackup Mon Jan 9 17:23:25 1995
***************
*** 35,41 ****
"'mknod", devname, "p'");
exec ("su -", USERNAME, "-c",
"'rsh ", REMOTE_HOST,
! "\"dd", "of=" REMOTE_DEVICE, "obs=20k", "conv=sync\"",
"<", devname,
"'&"
);
--- 35,41 ----
"'mknod", devname, "p'");
exec ("su -", USERNAME, "-c",
"'rsh ", REMOTE_HOST,
! "\"dd", "of=" REMOTE_DEVICE, "\"",
"<", devname,
"'&"
);
***************
*** 50,56 ****
"'mknod", devname, "p'");
exec ("su", USERNAME, "-c",
"'rsh ", REMOTE_HOST,
! "\"dd", "if=" REMOTE_DEVICE, "ibs=20k", "conv=sync\"",
">", devname,
"'&"
);
--- 50,56 ----
"'mknod", devname, "p'");
exec ("su", USERNAME, "-c",
"'rsh ", REMOTE_HOST,
! "\"dd", "if=" REMOTE_DEVICE, "\"",
">", devname,
"'&"
);
</PRE>
</CODE></BLOCKQUOTE>
<P>¤³¤ì¤ÇSAR¥Ç¥£¥¹¥¯#2¤¬½ÐÍè¾å¤¬¤ê¤Þ¤·¤¿¡£¥é¥¤¥È¥×¥í¥Æ¥¯¥È¤·¤Æ¤ª¤¤¤Æ²¼¤µ¤¤¡£
<P>¤Ä¤®¤Ë¶õ¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤µ¤ì¤¿¥Ç¥£¥¹¥¯¤ò¥Þ¥¦¥ó¥È¤·¤Þ¤¹(¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï
<CODE>fdformat</CODE>¡¢<CODE>mkfs</CODE>¥³¥Þ¥ó¥É¤ò»È¤Ã¤Æ¹Ô¤Ã¤Æ²¼¤µ¤¤)¡£
<CODE>ftape.o</CODE>¥Õ¥¡¥¤¥ë¤ò¤½¤Î¥Ç¥£¥¹¥¯¤Ë¥³¥Ô¡¼¤·¤Æ¡¢¥Ç¥£¥¹¥¯¥é¥Ù¥ë¤Ï
SAR#3¤È¤·¤Æ¤ª¤¤Þ¤¹¡£¤¤¤¯¤Ä¤«Íýͳ¤¬¤¢¤ê¡¢¤³¤Î¥Ç¥£¥¹¥¯¤ò¥é¥¤¥È¥×¥í¥Æ¥¯¥È
¤¹¤ë¤ÈÉÔÅԹ礬À¸¤¸¤Þ¤¹¡£½ñ¤¹þ¤ß²Äǽ¤Ë¤·¤Æ¤ª¤¤¤Æ²¼¤µ¤¤¡£
<P>Linux¥Þ¥·¥ó¾å¤Ç¡¢NFS¥Õ¥¡¥¤¥ëÊݸÍѥǥ£¥ì¥¯¥È¥ê¤òºî¤ê¤Þ¤¹¡£
<BLOCKQUOTE><CODE>
<PRE>
/nfs
</PRE>
</CODE></BLOCKQUOTE>
¤³¤³¤Ë<CODE>ftape.o</CODE>(unstripped, 500KB¶¯)¤òÃÖ¤¤Þ¤¹¡£Linux¤Î
<CODE>/etc/exports</CODE>¥Õ¥¡¥¤¥ë¤Ë
<BLOCKQUOTE><CODE>
<PRE>
/nfs msdos(ro)
</PRE>
</CODE></BLOCKQUOTE>
¤È½ñ¤¹þ¤ß¤Þ¤¹¡£
NFS¥Ç¥£¥ì¥¯¥È¥ê¤ÎÁ´¥Õ¥¡¥¤¥ë¤È¤½¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤Ï°ÂÁ´¤Ç¤Ï¤Ê¤¤¤³¤È¤ËÃí°Õ
¤·¤Æ²¼¤µ¤¤¡£Ã¯¤«¤¬¥Ö¡¼¥È¥Ç¥£¥¹¥¯¤ò»È¤Ã¤ÆLinux¤«¤éMS-DOS¥Þ¥·¥ó¤ò¥Ö¡¼¥È
¤·¤Æ¡¢¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ò¥Þ¥¦¥ó¥È¤¹¤ë¤³¤È¤¬¤Ç¤¤ë¤Î¤Ç¤¹¡£NFS¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤Ë
¤Ï½ÅÍפʥե¡¥¤¥ë¤ÏÃÖ¤«¤Ê¤¤¤è¤¦¤Ë¤·¤Æ²¼¤µ¤¤¡£
<P>NFS¥Ç¡¼¥â¥ó(<CODE>rpc.mountd</CODE> ¤È <CODE>rpc.nfsd</CODE>¤ò»È¤Ã¤Æ)¤òºÆ¥¹¥¿¡¼¥È
¤·¤Þ¤¹¡£<CODE>SIGHUP</CODE>¤ÇºÆ¤Ó³«»Ï¤¹¤ë¤Î¤Ï¤É¤¦¤â¤è¤¯¤Ê¤¤¤Î¤Ç¡¢kill¤·¤ÆºÆÅټ¹Ô
¤·¤Þ¤¹¡£¤â¤·<CODE>/etc/rc.d/rc.inet2</CODE>¤Ç¤³¤ì¤é¤Î¥Ç¡¼¥â¥ó¤ò¥¢¥¯¥Æ¥£¥Ö¤Ë¤·¤Æ¤¤
¤Ê¤¤¤Î¤Ê¤éº£¤Î¤¦¤Á¤ËÀßÄꤷ¤Æ¤ª¤¤Þ¤·¤ç¤¦¡£
<P>¤µ¤¢¡¢¥Ð¥Ã¥¯¥¢¥Ã¥×¤ÈÉüµì¤ÎÀßÄê¤Ï½ª¤ê¤Þ¤·¤¿¡£Linux¥Þ¥·¥ó¤Î¥Õ¥ë¥Ð¥Ã¥¯¥¢¥Ã¥×
¤ò¤È¤ë¤¿¤á¤Ë¡¢SAR#1¥Ç¥£¥¹¥¯¤ò»È¤Ã¤ÆMS-DOS¥Þ¥·¥ó¤ò¥Ö¡¼¥È¤·¤Þ¤¹¡££²ËçÌܤÎ
¥Ç¥£¥¹¥¯¤Î¥×¥í¥ó¥×¥È¤¬½Ð¤¿¤éroot¤È¤·¤Æ¥í¥°¥¤¥ó¤·¤Æ<CODE>/bin/tapesetup</CODE>
¥¹¥¯¥ê¥×¥È¤ò¼Â¹Ô¤·¤Þ¤¹¡£½ª¤Ã¤¿¤éMS-DOS¥Þ¥·¥ó¤«¤é¥í¥°¥¢¥¦¥È¤·¤Þ¤¹¡£
<P>¤â¤·¥Ð¥Ã¥¯¥¢¥Ã¥×¥¹¥¯¥ê¥×¥È¤ò»È¤Ã¤Æ¤¤¤ë¤Ê¤é¡¢¤³¤³¤Çnetbackup¥³¥Þ¥ó¥É¤¬»È¤¨¤Þ¤¹¡£
¤Þ¤¿GNU <CODE>tar</CODE>, <CODE>cpio</CODE>, <CODE>mt</CODE>¥³¥Þ¥ó¥É¤Ë
``<CODE>-f msdos:/dev/ftape</CODE>''¥¹¥¤¥Ã¥Á¤òÉÕ¤±¤é¤ì¤Þ¤¹¡£¥Ð¥Ã¥¯¥¢¥Ã¥×
¥×¥í¥°¥é¥à¤¬¤¢¤ë¤Ê¤é¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¤Ë½ñ¤¹þ¤à¤³¤È¤â¤Ç¤¤Þ¤¹¡£¤½¤ì¤Ë¤Ï
°Ê²¼¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£¥Ð¥Ã¥¯¥¢¥Ã¥×¥×¥í¥°¥é¥à¤ò``<CODE>localbackup</CODE>''¤È¤·¤Þ¤¹¡£
¥³¥Þ¥ó¥É¥é¥¤¥ó¤Î°ú¿ô¤Ë¥Õ¥¡¥¤¥ë¤ò½ñ¤¤Þ¤¹¡£
<BLOCKQUOTE><CODE>
<PRE>
mknod /tmp/tapepipe p
rsh msdos dd of=/dev/ftape < /tmp/tapepipe &
localbackup /tmp/tapepipe
</PRE>
</CODE></BLOCKQUOTE>
¼Â¹Ô¤·¤¿¤é<CODE>/tmp/tapepipe</CODE>¤òºï½ü¤·¤Æ¤ª¤¤¤Æ²¼¤µ¤¤¡£
<P>Linux¥Þ¥·¥ó¤ÎÉüµì¡§
<P><CODE>netbackup</CODE>¥¹¥¯¥ê¥×¥È¡¢<CODE>tar</CODE>, <CODE>cpio</CODE>Åù¤ÏÆÃÊ̤ÊÁàºî¤ò
¤·¤Ê¤¯¤Æ¤âÆ°ºî¤·¤Þ¤¹¡£¤â¤·¥Õ¥¡¥¤¥ë¤«¤éÉüµì¤¹¤ë¥í¡¼¥«¥ë¥×¥í¥°¥é¥à¤¬¤¢¤ë¤Ê¤é¡¢
<BLOCKQUOTE><CODE>
<PRE>
mknod /tmp/tapepipe p
rsh -n msdos dd if=/dev/ftape >> /tmp/tapepipe &
localrecovery /tmp/tapepipe
</PRE>
</CODE></BLOCKQUOTE>
¤È¤·¤Þ¤¹¡£
ƱÍͤ˼¹Ԥ·¤¿¤é<CODE>/tmp/tapepipe</CODE>¤òºï½ü¤·¤Æ¤ª¤¤¤Æ²¼¤µ¤¤¡£
<P>Ãø¼Ô¤ÏMS-DOS¥Þ¥·¥ó¤Ø¤Îroot¥í¥°¥¤¥ó¤Ë '<CODE>rsh</CODE>'¤ò»È¤Ã¤Æ¤¤¤Þ¤¹¡£
¤³¤ì¤ÏÀµ³Î¤Ê<CODE>.rhosts</CODE>¥¨¥ó¥È¥ê¡¼¤¬É¬ÍפǤ¹¡£'<CODE>tape144</CODE>'¥Ç¥£¥¹¥¯
¤ÎÀßÄê¤Ïroot¤Ç<CODE>rsh</CODE>¤ò»È¤¨¤ë¤è¤¦¤Ë¤·¤Þ¤¹¤¬¡¢<CODE>telnet</CODE>¤ä
<CODE>rlogin</CODE>¤Ïroot¤Ç»È¤¨¤Þ¤»¤ó¡£¤Þ¤¿¥í¥°¥¤¥ó¤Ï¥³¥ó¥½¡¼¥ë¤Ë¤Î¤ßÀ©¸Â¤µ¤ì¤Þ¤¹
¤¬¡¢¤³¤ì¤Ï¥»¥¥å¥ê¥Æ¥£¾åÎɤ¤¤³¤È¤Ç¤¹¡£
<P>root <CODE>.rhost</CODE> ¥Õ¥¡¥¤¥ë¤Ë¤Ä¤¤¤Æ¿´ÇÛ¤À¤Ã¤¿¤é¡¢SAR#2¤Î¿·¤·¤¤¥æ¡¼¥¶
``<CODE>tapeuser</CODE>''¤òºî¤Ã¤Æ¤ª¤¯¤³¤È¤â¤Ç¤¤Þ¤¹¡£¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤Ï¥Æ¡¼¥×
¥É¥é¥¤¥Ö¤ÏÁàºî¤Ç¤¤Æ¥Ç¥£¥¹¥¯Áàºî¤Ï¤Ç¤¤Ê¤¤¤È¤¤¤Ã¤¿¤â¤Î¤Ë¤·¤Þ¤¹(¿·¤·¤¤
¥°¥ë¡¼¥×¤òºî¤Ã¤Æ¤½¤Î¥°¥ë¡¼¥×¤Ëtapeuser¤ò¤ª¤¤Þ¤¹¡£¤½¤·¤Æ
<CODE>chown</CODE> ¤È <CODE>chmod</CODE> ¥³¥Þ¥ó¥É¤Ç <CODE>/dev/rft*</CODE> ¡¢
<CODE>/dev/nrft*</CODE>¥Õ¥¡¥¤¥ë¤Î¥ª¡¼¥Ê¡¼¡¢¥°¥ë¡¼¥×¤òÊѹ¹¤·¤Æ¤ª¤¤Þ¤¹)¡£
<P>¥Ð¥Ã¥¯¥×¥í¥°¥é¥à¤Ç¤Ïroot¤È¤·¤Æ¤è¤ê¤â¥æ¡¼¥¶¡¼Ì¾¤Ç<CODE>rsh</CODE>¤ò»È¤ï¤Ê¤±¤ì¤Ð
¤Ê¤ê¤Þ¤»¤ó¡£¤â¤Á¤í¤óSAR#2¥Ç¥£¥¹¥¯¤Î<CODE>~tapeuser</CODE>¤Ë
<CODE>.rhosts</CODE>¥Õ¥¡¥¤¥ë¤òÃÖ¤¤¤Æ¤¤¤Þ¤¹¡£Ãø¼Ô¤Î¾ì¹ç¤Ïroot¤Î<CODE>.rhosts</CODE>
¤è¤ê¤â¤³¤Á¤é¤òÁª¤ó¤Ç¤¤¤Þ¤¹¡£
<P>ºÇ¸å¤Ë¥¯¥é¥Ã¥·¥å¤·¤¿¥Ï¡¼¥É¥Ç¥£¥¹¥¯¤ÎÉüµì¤ò¤·¤Æ¤ß¤Þ¤¹¡£¤³¤³¤ÇLinux
¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Ï´°Á´¤Ë²óÉü¤Ç¤¤Ê¤¤¤È²¾Äꤷ¤Þ¤·¤ç¤¦¡£É¬Íפʤé
¡ÖLinux Installation HOWTO¡×¤Ë½¾¤Ã¤Æ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òºÆ¥Õ¥©¡¼¥Þ¥Ã¥È¤·¤Æ
¤ª¤¤Þ¤¹¡£SAR¥Ç¥£¥¹¥¯#1¤ò»È¤Ã¤ÆLinux¥Þ¥·¥ó¤ò¥Ö¡¼¥È¤·¤Þ¤¹¡£¥×¥í¥ó¥×¥È¤¬
ɽ¼¨¤µ¤ì¤¿¤éSAR¥Ç¥£¥¹¥¯#2¤òÆþ¤ì¤Þ¤¹¡£¤³¤³¤Ç<CODE>/root/notes</CODE>¥Õ¥¡¥¤¥ë¤Ë
½ñ¤¤¤¿¥á¥â¤Ë½¾¤Ã¤Æºî¶È¤ò¤¹¤¹¤á¤Æ²¼¤µ¤¤(Linux¥Þ¥·¥ó¤Ë¥Þ¥¦¥ó¥È¤µ¤ì¤Æ¤¤¤ë¤Ê¤é
¤³¤ì¤Ï<CODE>/tape144/root/notes</CODE>¤Ç¤¹)¡£¤¤¤Ã¤¿¤óξÊý¤Î¥Þ¥·¥ó¤¬¥Ö¡¼¥È¤µ¤ì¤¿¤é
¡¢É¬ÍפÊÉüµì¥ë¡¼¥Á¥ó¤ò¼Â¹Ô¤·¤Þ¤¹¡£¥Ð¥Ã¥¯¥¢¥Ã¥×¥¹¥¯¥ê¥×¥È¤ò¼Â¹Ô¤¹¤ë¤Ê¤é°Ê²¼¤Î
¤è¤¦¤Ë¤¹¤¹¤á¤Æ¤¤¤¤Þ¤¹¡£
<OL>
<LI>¥Ç¥£¥ì¥¯¥È¥ê¤òÉüµì¤·¤¿¤¤¥Ï¡¼¥É¥Ç¥£¥¹¥¯¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Ë¥Þ¥¦¥ó¥È¤¹¤ë²Õ½ê¤Ë
Êѹ¹¤·¤Þ¤¹¡£</LI>
<LI>¤â¤·¥Þ¥¦¥ó¥È¤µ¤ì¤¿¥Ü¥ê¥å¡¼¥à¤¬¥Ð¥Ã¥¯¥¢¥Ã¥×¾å¤Ç¡¢¤½¤ì¤òÉüµì¤·¤¿¤¤
¾ì¹ç¤Ï¥Ï¡¼¥É¥Ç¥£¥¹¥¯¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Ë¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤òºî¤ê¥Ü¥ê¥å¡¼¥à¤ò
¤½¤³¤Ø¥Þ¥¦¥ó¥È¤·¤Þ¤¹¡£</LI>
<LI>¥³¥Þ¥ó¥É¤ÎÆþÎÏ¡§
<BLOCKQUOTE><CODE>
<PRE>
rsh -n msdos dd if=/dev/ftape | afio -i -v -Z -c 1024 -
</PRE>
</CODE></BLOCKQUOTE>
¤¢¤ë¤¤¤Ï
<BLOCKQUOTE><CODE>
<PRE>
rsh -n -l tapeuser msdos dd if=/dev/ftape | afio -i -v -Z -c 1024 -
</PRE>
</CODE></BLOCKQUOTE>
¤¢¤ë¤¤¤Ï
<BLOCKQUOTE><CODE>
<PRE>
mknod /tmp/backpipe p
rsh -n msdos dd if=/dev/ftape >> /tmp/backpipe &
afio -i -v -Z -c 1024 /tmp/backpipe
</PRE>
</CODE></BLOCKQUOTE>
</LI>
</OL>
<CODE>afio</CODE>¤¬¥Ô¥Ã¥¯¥¢¥Ã¥×¤·¤¿¥ê¥â¡¼¥È¥Þ¥·¥ó¾å¤Î¥Æ¡¼¥×¤òÆɤߡ¢É¸½à½ÐÎϤØ
¤½¤Î·ë²Ì¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£'<CODE>-i</CODE>'¥¹¥¤¥Ã¥Á¤ò»È¤¦¤È¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê
(¥Ï¡¼¥É¥Ç¥£¥¹¥¯¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Îroot)¤Ë´Ø·¸¤·¤¿¥Õ¥¡¥¤¥ë¤ÎÉüµì¤Ë¤Ä¤¤¤Æ¶µ¤¨¤Æ
¤¯¤ì¤Þ¤¹¡£'<CODE>-v</CODE>'¤Ïverbose¤ÇÉüµì¤·¤¿¥Õ¥¡¥¤¥ë¤Î¥ê¥¹¥È¤òɽ¼¨¤·¤Þ¤¹¡£
'<CODE>-Z</CODE>'¤Ïafio¤Ë¤½¤ì¤¾¤ì°µ½Ì¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¤Î¥¢¡¼¥«¥¤¥Ö¤Ç¤¢¤ë¤³¤È¤ò
¶µ¤¨¤Þ¤¹¡£'<CODE>-c 1024</CODE>'¤Ï5 MB¥¹¥È¥ê¡¼¥à(streaming buffer¡§ÄÌ¿®)¥Ð¥Ã¥Õ¥¡
¤ò¥Æ¡¼¥×¤Î´¬¤Ìᤷ¤òËɤ°¤¿¤á¤Ë»È¤Ã¤Æ¤¤¤Þ¤¹¡£
<HR>
<A HREF="Backup-With-MSDOS-3.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="Backup-With-MSDOS-1.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Backup-With-MSDOS.html#toc2">Ìܼ¡¤Ø</A>
</BODY>
</HTML>
|