/usr/share/doc/HOWTO/ja-html/Bzip2-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 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 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>Bzip2 Howto: bzip2¤òtar¤È»È¤¦</TITLE>
<LINK HREF="Bzip2-5.html" REL=next>
<LINK HREF="Bzip2-3.html" REL=previous>
<LINK HREF="Bzip2.html#toc4" REL=contents>
</HEAD>
<BODY>
<A HREF="Bzip2-5.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="Bzip2-3.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Bzip2.html#toc4">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="tar"></A> <A NAME="s4">4. bzip2¤òtar¤È»È¤¦</A></H2>
<P>´ðËÜŪ¤Ë£²¤Ä¤ÎÊýË¡¤¬¤¢¤ê¤Þ¤¹¡§
<P>
<H2><A NAME="ss4.1">4.1 ÀßÄꤷ¤Ê¤¯¤Æ¤è¤¤¡§</A>
</H2>
<P>¤³¤ÎÊýË¡¤Ê¤é²¿¤âÀßÄꤷ¤Ê¤¯¤Æ¤¹¤ß¤Þ¤¹¡£bzip2¤·¤¿tar¥¢¡¼¥«¥¤¥Öfoo.tar.bz2¤ò
un-tar¤¹¤ë¤Ë¤Ï¥«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤Ç¡¢
<BLOCKQUOTE><CODE>
<PRE>
/path/to/bzip2 -cd foo.tar.bz2 | tar xf -
</PRE>
</CODE></BLOCKQUOTE>
¤È¤·¤Þ¤¹¡£
¤³¤ì¤ÇÆ°ºî¤·¤Þ¤¹¤¬¡¢¤¤¤Á¤¤¤ÁÆþÎϤ¹¤ë¤Î¤ÏÌÌÅÝ(PITA)¤Ç¤¹¡£
<P>
<P>
<H2><A NAME="ss4.2">4.2 »È¤¤¤ä¤¹¤¤:</A>
</H2>
<P>°Ê²¼¤Î¥Ñ¥Ã¥Á¤òGNU tar 1.12¤òÅö¤Æ¤Æ¥³¥ó¥Ñ¥¤¥ë/¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ²¼¤µ¤¤¡£
¤³¤ì¤Ç¤è¤¤¤Ç¤¹¡£tar¤Èbzip2¤¬("which tar"¡¢"which bzip2"¤È¼Â¹Ô¤·¤Æ)
<CODE>$PATH</CODE>¤Ë¤¢¤ë¤«¤É¤¦¤«³Îǧ¤·¤Æ¤ª¤¤Þ¤¹¡£¥Õ¥¡¥¤¥ë¤òŸ³«¤¹¤ë¤Ë¤Ï
<BLOCKQUOTE><CODE>
<PRE>
tar xyf foo.tar.bz2
</PRE>
</CODE></BLOCKQUOTE>
¤È¤·¤Þ¤¹¡£
<P>¿·¤·¤¤¥¢¡¼¥«¥¤¥Ö¤òºî¤ë»þ¤âƱ¤¸¤è¤¦¤Ë¤·¤Æ
<BLOCKQUOTE><CODE>
<PRE>
tar cyf foo.tar.bz2 file1 file2 file3...directory1 directory2...
</PRE>
</CODE></BLOCKQUOTE>
¤È¤·¤Þ¤¹¡£
<P>°Ê²¼¤Ï¥Ñ¥Ã¥Á¤Ç¤¹ :)
(ÌõÃí¡§<CODE>patch -p1 < tar.c.diff</CODE>¤È¤·¤Æ¤¢¤Æ¤Æ²¼¤µ¤¤)
<HR>
<PRE>
*** tar.c.orig Sat Feb 28 14:55:45 1998
--- tar.c Sat Feb 28 15:01:54 1998
***************
*** 16,21 ****
--- 16,24 ----
with this program; if not, write to the Free Software Foundation, Inc.,
59 Place - Suite 330, Boston, MA 02111-1307, USA. */
+ /* Feb 2 98: patched by David Fetter to use bzip2 as a
+ filter (option -y) */
+
#include "system.h"
#include <getopt.h>
***************
*** 196,201 ****
--- 199,206 ----
{"block-number", no_argument, NULL, 'R'},
{"block-size", required_argument, NULL, OBSOLETE_BLOCKING_FACTOR},
{"blocking-factor", required_argument, NULL, 'b'},
+ {"bzip2", required_argument, NULL, 'y'},
+ {"bunzip2", required_argument, NULL, 'y'},
{"catenate", no_argument, NULL, 'A'},
{"checkpoint", no_argument, &checkpoint_option, 1},
{"compare", no_argument, NULL, 'd'},
***************
*** 372,377 ****
--- 377,383 ----
PATTERN at list/extract time, a globbing PATTERN\
n\
-o, --old-archive, --portability write a V7 format archive\n\
--posix write a POSIX conformant archive\n\
+ -y, --bzip2, --bunzip2 filter the archive through bzip2\n\
-z, --gzip, --ungzip filter the archive through gzip\n\
-Z, --compress, --uncompress filter the archive through compress\n\
--use-compress-program=PROG filter through PROG (must accept -d)\n"),
***************
*** 448,455 ****
Y per-block gzip compression */
#define OPTION_STRING \
! "-01234567ABC:F:GK:L:MN:OPRST:UV:WX:Zb:cdf:g:hiklmoprstuvwxz"
!
static void
set_subcommand_option (enum subcommand subcommand)
{
--- 454,460 ----
Y per-block gzip compression */
#define OPTION_STRING \
! "-01234567ABC:F:GK:L:MN:OPRST:UV:WX:Zb:cdf:g:hiklmoprstuvwxyz"
static void
set_subcommand_option (enum subcommand subcommand)
{
***************
*** 806,811 ****
--- 811,820 ----
exclude_option = 1;
add_exclude_file (optarg);
break;
+
+ case 'y':
+ set_use_compress_program_option ("bzip2");
+ break;
case 'z':
set_use_compress_program_option ("gzip");
</PRE>
<HR>
<P>
<P>
<P>
<HR>
<A HREF="Bzip2-5.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="Bzip2-3.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Bzip2.html#toc4">Ìܼ¡¤Ø</A>
</BODY>
</HTML>
|