/usr/share/doc/HOWTO/ja-html/Loopback-Encrypted-Filesystem-HOWTO-3.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 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>Loopback Encrypted Filesystem HOWTO: $B<j=g$N$^$H$a(B</TITLE>
<LINK HREF="Loopback-Encrypted-Filesystem-HOWTO-4.html" REL=next>
<LINK HREF="Loopback-Encrypted-Filesystem-HOWTO-2.html" REL=previous>
<LINK HREF="Loopback-Encrypted-Filesystem-HOWTO.html#toc3" REL=contents>
</HEAD>
<BODY>
<A HREF="Loopback-Encrypted-Filesystem-HOWTO-4.html">$B<!$N%Z!<%8(B</A>
<A HREF="Loopback-Encrypted-Filesystem-HOWTO-2.html">$BA0$N%Z!<%8(B</A>
<A HREF="Loopback-Encrypted-Filesystem-HOWTO.html#toc3">$BL\<!$X(B</A>
<HR>
<H2><A NAME="s3">3. $B<j=g$N$^$H$a(B</A></H2>
<P>$B:n6H$O$$$/$D$+$N<j=g$+$i$J$j$^$9!%$=$l$>$l$N<j=g$K$D$$$F$O!$<!$N@a(B
<A HREF="Loopback-Encrypted-Filesystem-HOWTO-4.html#Details">$B>\:Y$J<j=g(B</A>$B$G@bL@$7$^$9!%(B
$B%j%U%!%l%s%9$H$7$F$^$H$a$r:G=i$KMQ0U$7$F$*$/$H$$$$$@$m$&$H9M$($^$7$?(B
($B$b$7FI<T$N3'$5$s$N(B UNIX/Linux $B$N7P83$,K-IY$J$i$P!$$$$:$l$K$;$h:Y$+$$(B
$B@bL@$OITMW$G$7$g$&(B)$B!%$G$O!$$^$H$a$r0J2<$K<($7$^$9(B:
<P>
<OL>
<LI>$B9q:]HG0E9f%Q%C%A$N:G?7HG$r0J2<$N>l=j$+$i%@%&%s%m!<%I$7$^$9(B($BK\J8(B
$B=q$N<9I.;~E@$G$O(B `patch-int-2.2.10.4' $B$rMQ$$$^$7$?(B):
<P>
<BLOCKQUOTE><CODE>
<A HREF="http://ftp.kerneli.org/pub/kerneli/">http://ftp.kerneli.org/pub/kerneli/</A></CODE></BLOCKQUOTE>
<P>
<P>
</LI>
<LI>$B%+!<%M%k$K%Q%C%A$rEv$F$^$9(B
<P>
</LI>
<LI>`make config'($B$^$?$O(B `menuconfig' $B$d(B `xconfig')$B$r<B9T$7$F!$?7$7$$(B
$B%+!<%M%kMQ$N(B `Makefile' $B$r@_Dj$7$^$9!%0E9f2=$rM-8z$K$9$k$?$a$N%*%W(B
$B%7%g%s$O!$$"$A$3$A$K;6$i$P$C$F$$$^$9!%$^$:$O$H$b$+$/!$$I$N%*%W%7%g%s$h(B
$B$j$bA0$K(B `Code Maturity level options'
$B$N2<$N(B `Prompt for development and/or incomplete code/drivers' $B$rM-8z(B
$B$K$7$F$/$@$5$$!%(B
$B<!$K!$(B`Crypto options' $B$N2<$N(B `crypto ciphers' $B$H(B `serpent'
$B$rM-8z$K$7$^$9!%7+$jJV$7$^$9$,!$K\J8=q$G$O(B serpent $B$r;H$&$b$N$H(B
$B$7$^$9!%$G$b!$FI<T$N3'$5$s$O9%$-$J$b$N$r;n$7$F$/$@$5$$!%$?$@$7(B
2.2.10.4 $B$N;~E@$G$O(B DES $B$H$OAH$_9g$o$;$i$l$J$$$3$H$rK:$l$J$$$G$/$@$5$$!%(B
$B:#8e$b$^$:%5%]!<%H$5$l$k$3$H$O$J$$$G$7$g$&!%(B`Block Devices' $B$N2<$K$O!$A*Br(B
$B$9$Y$-=EMW$J%*%W%7%g%s$,$$$/$D$+$"$j$^$9!%(B
`Loopback device support', `Use relative block numbers as basis for
transfer functions(RECOMMENDED)', `General encryption support'
$B$G$9!%$3$3$G$O(B `cast 128' $B$d(B `twofish' $B$OA*Br(B<EM>$B$7$J$$$G(B</EM>$B$/$@$5$$!%%M%C%H(B
$B%o!<%/4XO"$N3F<o9`L\$N2<$K$"$k0E9f4X78$N%*%W%7%g%s$O!$$I$l$bA*Br$9$kI,(B
$BMW$O$"$j$^$;$s!%%+!<%M%k$N@_Dj$K$D$$$F$O!$$3$l0J>e:Y$+$$ItJ,$K$ON)$AF~(B
$B$j$^$;$s!%$3$l$OK\J8=q$N<iHwHO0O$G$O$J$$$N$G!$(BLDP $B$N%5%$%H$K$"$kB>$NJ8(B
$B=q$r$4Mw$K$J$C$F$/$@$5$$!%(B
<P>
</LI>
<LI>$B?7$7$$%+!<%M%k$r%3%s%Q%$%k$7$^$9!%(B
<P>
</LI>
<LI>`/etc/lilo.conf' $B$rJT=8$7$F!$?7$7$$%+!<%M%k%$%a!<%8$rDI2C$7$^(B
$B$9!%$=$l$+$i(B `lilo -v' $B$r<B9T$7$F!$%V!<%H%m!<%@$K$3$N%+!<%M%k$rDI2C$7(B
$B$^$9!%(B
<P>
</LI>
<LI>$B:G?7$N(B `util-linux' $B%Q%C%1!<%8(B($BI.<T$O(B `util-linux-2.9v' $B$r;H$C(B
$B$F$$$^$9(B)$B$r0J2<$N>l=j$+$iF~<j$7$^$9(B:
<P>
<BLOCKQUOTE><CODE>
<A HREF="ftp://ftp.kernel.org/pub/linux/utils/util-linux/">ftp://ftp.kernel.org/pub/linux/utils/util-linux/</A></CODE></BLOCKQUOTE>
<P>
<P>
</LI>
<LI>`util-linux' $B$N%=!<%9$rE83+$7$^$9!%(B
<P>
</LI>
<LI>$B%m!<%+%k$N(B `/usr/src/linux/Documentation/crypto/' $B%G%#%l%/%H%j(B
$B$K$"$k!$;H$$$?$$0E9f$KBP1~$9$k%Q%C%A$rEv$F$^$9!%(B
<P>
</LI>
<LI>`INSTALL' $B%U%!%$%k$r(B<EM>$BCm0U?<$/(B</EM>$BFI$s$G$/$@$5$$(B! $B$3$N%Q%C%1!<(B
$B%8$K$O!$%7%9%F%`0MB8$N%U%!%$%k(B(`login', `passwd', `init' $B$H$$$C$?=EMW(B
$B$J%D!<%k72(B)$B$N%=!<%9%3!<%I$,$?$/$5$sF~$C$F$$$^$9!%(B
MCONFIG $B%U%!%$%k$r$$$$2C8:$KJT=8$7$F$3$l$i$N%=!<%9$r%3%s%Q%$%k$7$F$7$^(B
$B$&$H!$%7%9%F%`$,$a$A$c$/$A$c$K$J$k$+$b$7$l$^$;$s(B - $B5/F0%G%#%9%/$+(B
$B%7%g%C%H%,%s$rMQ0U$7$F$*$-$^$7$g$&!%(B
$B4pK\E*$K$O!$$[$H$s$IA4$F$N(B `HAVE_*' $B$N9`L\$r(B `yes' $B$K$7$F$*$-!$=EMW$J(B
$BG'>Z%D!<%k$N%3%s%Q%$%k$H>e=q$-$,9T$o$l$J$$$h$&$K$7$F$*$-$^$7$g$&!%(B
$B:F9=C[$NI,MW$,$"$k%D!<%k$O!$?7$7$$0E9f2=<jK!$KBP1~$5$;$k(B `mount' $B$H(B `losetup'
$B$G$9!%$3$N%9%F%C%W$K$D$$$F$O!$8e=R$N(B
<A HREF="Loopback-Encrypted-Filesystem-HOWTO-4.html#Details">$B>\:Y$J<j=g(B</A>$B$N@a$r;2>H$9$k$3$H$r$*(B
$B4+$a$7$^$9!%(B
<P>
</LI>
<LI>`util-linux' $B$N%=!<%9$N%3%s%Q%$%k$H%$%s%9%H!<%k$r9T$$$^$9!%(B
<P>
</LI>
<LI>$B?7$7$$%+!<%M%k$G%^%7%s$r:F5/F0$7$^$9!%(B
<P>
</LI>
<LI>`/etc/fstab' $B$rJT=8$7!$0J2<$N$h$&$J%^%&%s%H%]%$%s%H$N9`L\$rDI(B
$B2C$7$^$9(B:
<P>
<BLOCKQUOTE><CODE>
<HR>
<PRE>
/dev/loop0 /mnt/crypt ext2 user,noauto,rw,loop 0 0
</PRE>
<HR>
</CODE></BLOCKQUOTE>
<P>
<P>
</LI>
<LI>$B%U%!%$%k%7%9%F%`$r%^%&%s%H$9$k$?$a$N%G%#%l%/%H%j$r:n$j$^$9!%(B
$B>e5-$NNc$G$O(B `/mnt/crypt' $B$G$9!%(B
<P>
</LI>
<LI>$B0lHL%f!<%68"8B$G!$0E9f2=$9$k%U%!%$%k$r0J2<$N$h$&$K$7$F:n$j$^$9(B:
<P>
<BLOCKQUOTE><CODE>
<PRE>
dd if=/dev/urandom of=/etc/cryptfile bs=1M count=10
</PRE>
</CODE></BLOCKQUOTE>
<P>
<P>
</LI>
<LI>$B0J2<$N$h$&$K(B losetup $B$r<B9T$7$^$9(B:
<P>
<BLOCKQUOTE><CODE>
<PRE>
losetup -e serpent /dev/loop0 /etc/cryptfile
</PRE>
</CODE></BLOCKQUOTE>
<P>$B%Q%9%o!<%I$rF~NO$9$k5!2q$O0lEY$7$+$J$$$N$GCm0U$7$F$/$@$5$$!%%Q%9%o!<%I(B
$B$NFs=E%A%'%C%/$r$7$?$1$l$P!$0J2<$N%3%^%s%I$r;H$$$^$7$g$&(B:
<P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
losetup -d /dev/loop0
</PRE>
</CODE></BLOCKQUOTE>
<P>$B$3$N%3%^%s%I$O(B loop $B%G%P%$%9$r%"%/%F%#%V$G$J$$>uBV$K$7$^$9!%<!$K$b$&0l(B
$BEY(B losetup $B$r<B9T$7!$0J2<$N$h$&$K$7$F%Q%9%o!<%I$r3NG'$7$^$9!%(B
<P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
losetup -e serpent /dev/loop0 /etc/cryptfile
</PRE>
</CODE></BLOCKQUOTE>
<P>
<P>
</LI>
<LI>ext2 $B%U%!%$%k%7%9%F%`$r0J2<$N$h$&$K$7$F:n@.$7$^$9(B:
<P>
<BLOCKQUOTE><CODE>
<PRE>
mkfs -t ext2 /dev/loop0
</PRE>
</CODE></BLOCKQUOTE>
<P>
<P>
</LI>
<LI>$B$3$3$G!$0E9f2=$7$?%U%!%$%k%7%9%F%`$r0J2<$N%3%^%s%I$G%^%&%s%H(B
$B$7$^$9(B:
<P>
<BLOCKQUOTE><CODE>
<PRE>
mount -t ext2 /dev/loop0 /mnt/crypt
</PRE>
</CODE></BLOCKQUOTE>
<P>
<P>
</LI>
<LI>$B%U%!%$%k%7%9%F%`$N;HMQ$r=*N;$7$?$i!$0J2<$N%3%^%s%I$G%U%!%$%k(B
$B%7%9%F%`$r%"%s%^%&%s%H$7$FJ]8n$7$^$9(B:
<P>
<BLOCKQUOTE><CODE>
<PRE>
umount /dev/loop0
losetup -d /dev/loop0
</PRE>
</CODE></BLOCKQUOTE>
<P>
</LI>
</OL>
<P>
<P>
<HR>
<A HREF="Loopback-Encrypted-Filesystem-HOWTO-4.html">$B<!$N%Z!<%8(B</A>
<A HREF="Loopback-Encrypted-Filesystem-HOWTO-2.html">$BA0$N%Z!<%8(B</A>
<A HREF="Loopback-Encrypted-Filesystem-HOWTO.html#toc3">$BL\<!$X(B</A>
</BODY>
</HTML>
|