Last update: 2001/5/21
Sincce before: 1995/9/6

¥Æ¡¼¥×, £Æ£Ä

info -- Quick Ref. -- My Job -- Yashiro's home


  1. ¥Ð¥Ã¥¯¥¢¥Ã¥×
    1. ¥³¥Þ¥ó¥É
      tar, bar, cpio ¤¬¤¢¤ë.
      °ìÈÌŪ¤Ë»È¤ï¤ì¤Æ¤¤¤ë¤Î¤Ï tar.
    2. ÇÞÂÎ
      8mm ¤¬°ìÈÌŪ. ¾¤Ë DAT ¤â¤¢¤ë.
      FD ¤Ï mtools (PDS) ¤Ç 2DD ¤Î FD ¤ò»È¤¦¤È, ¥Ñ¥½¥³¥ó¤È¥Õ¥¡¥¤¥ë¤ò¶¦ÍѤǤ­¤Æ¤è¤¤.

  2. ¥Æ¡¼¥×¤Ø¤Î tar
    1. ´ðËÜÁàºî to SCSI tape % tar cvf /dev/rst0 . ¥ï¡¼¥­¥ó¥°¥Ç¥£¥ì¥¯¥È¥ê¤ÎÁ´¥Õ¥¡¥¤¥ë % tar cvf /dev/rst0 ./filename ¥ï¡¼¥­¥ó¥°¥Ç¥£¥ì¥¯¥È¥ê¤Î¤¢¤ë¥Õ¥¡¥¤¥ë ³Îǧ % tar tvf /dev/rst0 . from SCSI tape % tar xvfp /dev/rst0 .
    2. ¥Þ¥ë¥Á¡¦¥Õ¥¡¥¤¥ë ºÇ¸å¤ËÄɲýñ¤­ ( /dev/nrst0 ¥Æ¡¼¥×¤Î´¬¤­Ìᤷ¤ò¤·¤Ê¤¤) % mt -f /dev/nrst0 eom % tar cvf /dev/nrst0 Äɲýñ¤­ : % mt -f /dev/nrst0 fsf 1 % tar tvf /dev/nrst0 ÆâÍƤγÎǧ tar: read error: I/O error ¥Æ¡¼¥×¤ÎºÇ¸å % tar cvf /dev/nrst0 . Ê£¿ô¤Î¥Õ¥¡¥¤¥ë¤«¤é¤ÎÆɤߤÀ¤· % tar xvfp /dev/nrst0 . % mt -f /dev/nrst0 fsf 1 % tar xvfp /dev/nrst0 .
    3. ¥Æ¡¼¥×Áàºî °ÌÃ֤γÎǧ % mt -f /dev/nrst0 status EOF ¤Î¥¹¥­¥Ã¥× % mt -f /dev/nrst0 fsf # EOF ¤Î¥¹¥­¥Ã¥× % mt -f /dev/nrst0 nbsf # ´¬¤­Ìᤷ % mt -f /dev/nrst0 rewind ¥Æ¡¼¥×¤Î°ÌÃÖÉÕ¤±
            file#=0 /  EOF /  file#=1 / EOF / file#=2 / EOF /  file#=3   EOF
          ¢¬ ¢¬ ¢¬ ¢¬¢¬
          rewind bsf nbsf ¢« ¢ª fsf eom
    4. ¥ê¥â¡¼¥È¤Î¥Æ¡¼¥× ¥ê¥â¡¼¥È¤Î /dev/rst0 ¤«¤éÆþÎÏ % rsh -n hostname dd if=/dev/rst0 bs=20b | tar xvBfb - 20 % rsh -n hostname dd if=/dev/rst0 bs=#b | tar xvBfb - # . # : ɸ½àÃÍ = 20 ¥ê¥â¡¼¥È¤Î /dev/rst0 ¤Ø½ÐÎÏ % tar cvfb - 20 . | rsh hostname dd of=/dev/rst0 obs=20b % tar cvfb - # . | rsh hostname dd of=/dev/rst0 obs=#b
    5. ¥Ç¥Ð¥¤¥¹¥Õ¥¡¥¤¥ë rst0 2GB mode rst8 5GB mode rst16 °µ½Ì mode

  3. FD (/dev/rfd0)
    1. mtools (PDS) mdir mtype mmd mrd mcopy mdel mren ¥Õ¥©¡¼¥Þ¥Ã¥ÈÊÑ´¹ dos - unix (¹ÔËö¤Î ^M ¤ò¤È¤ë) % dos2unix -ascii dos.sj | sjtoeuc unix.euc unix - dos (¹ÔËö¤Ë ^M ¤ò¤Ä¤±¤ë) % euctosj unix.euc | unix2dos -ascii dos.sj % mcopy dos.sj a: % eject
    2. ɸ½àµ¡Ç½¤Ë¤è¤ëÁàºî ¥Õ¥©¡¼¥Þ¥Ã¥È % fdformat to FD % bar cvf /dev/rfd0 ¥ï¡¼¥­¥ó¥°¥Ç¥£¥ì¥¯¥È¥ê¤ÎÁ´¥Õ¥¡¥¤¥ë % bar cvf /dev/rfd0 ./filename ¥ï¡¼¥­¥ó¥°¥Ç¥£¥ì¥¯¥È¥ê¤Î¤¢¤ë¥Õ¥¡¥¤¥ë ³Îǧ % bar tvf /dev/rfd0 from FD % bar xvfp /dev/rfd0 ./filename ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤È¤·¤Æ»ÈÍÑ % newfs -v /dev/rfd0a % mount /dev/fd0a /mnt