/usr/share/doc/HOWTO/ja-html/DOS-Win-to-Linux-HOWTO-6.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 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
<TITLE>From DOS/Windows to Linux HOWTO: $B%U%m%C%T!<!"%O!<%I%G%#%9%/Ey(B</TITLE>
<LINK HREF="DOS-Win-to-Linux-HOWTO-7.html" REL=next>
<LINK HREF="DOS-Win-to-Linux-HOWTO-5.html" REL=previous>
<LINK HREF="DOS-Win-to-Linux-HOWTO.html#toc6" REL=contents>
</HEAD>
<BODY>
<A HREF="DOS-Win-to-Linux-HOWTO-7.html">$B<!$N%Z!<%8(B</A>
<A HREF="DOS-Win-to-Linux-HOWTO-5.html">$BA0$N%Z!<%8(B</A>
<A HREF="DOS-Win-to-Linux-HOWTO.html#toc6">$BL\<!$X(B</A>
<HR>
<H2><A NAME="Floppies"></A> <A NAME="s6">6.</A> <A HREF="DOS-Win-to-Linux-HOWTO.html#toc6">$B%U%m%C%T!<!"%O!<%I%G%#%9%/Ey(B</A></H2>
<P>$B%G%P%$%9$r(B Linux $B>e$G4IM}$9$kJ}K!$OFs<oN`$"$j$^$9(B:
DOS $B%9%?%$%k$H(B UNIX $B%9%?%$%k!#9%$-$JJ}$rA*$s$G$/$@$5$$!#(B</P>
<H2><A NAME="ss6.1">6.1</A> <A HREF="DOS-Win-to-Linux-HOWTO.html#toc6.1">DOS $B%9%?%$%k$G%G%P%$%9$r4IM}$9$k(B</A>
</H2>
<P>$B$[$H$s$I$N(B Linux $B%G%#%9%H%j%S%e!<%7%g%s$O(B Mtools $B$r4^$_$^$9!#(B
$B$3$l$O!"F/$-$O(B DOS $B$N$b$N$H$^$C$?$/F1$8%3%^%s%I72$G$9$,!"(B
$B%3%^%s%IL>$NF,$K(B m $B$,$D$$$F$$$^$9!#Nc$($P(B <CODE>mformat</CODE>$B!"(B<CODE>mdir</CODE>$B!"(B
<CODE>mdel</CODE>$B!"(B<CODE>mmd</CODE> $B$H$$$C$?(B
$B$h$&$K$G$9!#$3$l$i$O%m%s%0%U%!%$%kL>$rJ];}$9$k$3$H$b$G$-$^$9$,!"(B
$B%U%!%$%k$N%Q!<%_%C%7%g%s$NJ];}$O$G$-$^$;$s!#(B
Mtools $B$N@_Dj%U%!%$%k(B /etc/mtools.conf ($B%5%s%W(B
$B%k$O%G%#%9%H%j%S%e!<%7%g%s$+$iDs6!$5$l$F$$$^$9(B) $B$rJT=8$9$l$P!"(B
DOS/Win $B%Q!<%F%#%7%g%s!"(BCD-ROM$B!"(BZIP
$B%I%i%$%V$K%"%/%;%9$G$-$k$h$&$K$J$j$^$9!#(B
$B$7$+$7!"?7$7$$%G%#%9%/$r%U%)!<%^%C%H$9$k$K$O(B
<CODE>mformat</CODE> $B$G$O$J$/(B root $B8"8B$G(B <CODE>fdformat /dev/fd0H1440</CODE> $B$r(B
$B<B9T$7$J$/$F$O$$$1$^$;$s!#(B</P>
<P><CODE>less a:file.txt</CODE> $B$N$h$&$K%U%m%C%T!<$K%"%/%;%9$9$k$3$H$O(B
$B$G$-$^$;$s(B!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/$,=`Hw$5$l$?$i<!$N%3%^%s%I(B
$B$G%^%&%s%H$7$^$9!#(B</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
# mount -t ext2 /dev/fd0 /mnt
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P><CODE>ext2</CODE> $B$r;H$o$J$$>l9g$O@5$7$$%U%!%$%k%7%9%F%`$r;XDj$7$F$/$@$5$$!#(B
$B$3$l$G!"(BA: $B$d(B B: $B$NBe$o$j$K(B <CODE>/mnt</CODE> $B$r;H$C$F%U%m%C%T!<Fb$N%U%!%$%k$r(B
$B;2>H$G$-$^$9!#Nc(B:</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
DOS Linux
---------------------------------------------------------------------
C:\GUIDO>DIR A: $ ls /mnt
C:\GUIDO>COPY A:*.* $ cp /mnt/* .
C:\GUIDO>COPY *.ZIP A: $ cp *.zip /mnt
C:\GUIDO>EDIT A:FILE.TXT $ jstar /mnt/file.txt
C:\GUIDO>A: $ cd /mnt
A:> _ /mnt/$ _
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>$B;H$$=*$o$C$?$i%G%#%9%/$r0z$-H4$/$^$($K(B<EM>$B@dBP$K(B</EM>$B<!$N%3%^%s%I$G(B
$B%"%s%^%&%s%H$r$7$F$/$@$5$$!#(B</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
# umount /mnt
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>$BEvA3$G$9$,!"(B<CODE>fdformat</CODE> $B$H(B <CODE>mkfs</CODE> $B$r$7$J$/$F$O$$$1$J$$$N$O(B
$B%U%)!<%^%C%H$5$l$F$$$J$$%G%#%9%/$KBP$7$F$@$1$G!"0JA0;H$o$l$?$3$H$N(B
$B$"$k%G%#%9%/$K$G$O$"$j$^$;$s!#$b$7(B B: $B%I%i%$%V$r;H$$$?$$>l9g$O(B
$B>e$NNc$N(B <CODE>fd0H1440</CODE> $B$H(B <CODE>fd0</CODE> $B$r!"(B
<CODE>fd1H1440</CODE> $B$H(B <CODE>fd1</CODE> $B$KF~$l49$($F$/$@$5$$!#(B</P>
<P>$B$$$&I,MW$b$"$j$^$;$s$,!"%U%m%C%T!<$KDLMQ$9$k$3$H$O$[$+$N%G%P%$%9$K$b(B
$B$"$F$O$^$j$^$9!#Nc$($P!"$[$+$N%O!<%I%G%#%9%/$d(B CD-ROM $B%I%i%$%V$r%^%&%s%H(B
$B$7$?$$$H$-$O!"2<$NJ}K!$G(B CD-ROM $B$r%^%&%s%H$G$-$^$9!#(B</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
# mount -t iso9660 /dev/cdrom /mnt
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>$B$3$l$O!V@5<0!W$J%^%&%s%H$N;EJ}$G$9$,!"$H$C$F$*$-$NN"5;$,$"$j$^$9!#(B
$B%U%m%C%T!<$d(B CD-ROM $B$r%^%&%s%H$9$k$?$a$K$o$6$o$6(B root $B$K$J$k$N$b(B
$BLLE]$J$N$G!"0J2<$NJ}K!$GA4$F$N%f!<%6$,%^%&%s%H$G$-$k$h$&$K$J$j$^$9(B:</P>
<P>
<UL>
<LI>
root $B$K$J$C$F0J2<$r9T$$$^$9(B:
<BLOCKQUOTE><CODE>
<PRE>
# mkdir /mnt/floppy ; mkdir /mnt/cdrom
# chmod 777 /mnt/floppy /mnt/cd*
# # $B@5$7$$(B CD-ROM $B%G%P%$%9$+3NG'(B
# chmod 666 /dev/hdb ; chmod 666 /dev/fd*
</PRE>
</CODE></BLOCKQUOTE>
</LI>
<LI>
/etc/fstab $B$K<!$N9T$rIU$1B-$7$^$9(B:
<BLOCKQUOTE><CODE>
<PRE>
/dev/cdrom /mnt/cdrom iso9660 ro,user,noauto 0 0
/dev/fd0 /mnt/floppy vfat user,noauto 0 0
</PRE>
</CODE></BLOCKQUOTE>
</LI>
</UL>
</P>
<P>$B$=$7$F(B DOS $B%U%m%C%T!<$d(B CD-ROM $B$r%^%&%s%H$9$k$K$O(B:</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
$ mount /mnt/floppy
$ mount /mnt/cdrom
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>/mnt/floppy $B$H(B /mnt/cdrom
$B$O$3$l$GA4$F$N%f!<%6$+$i%"%/%;%9$G$-$^$9!#(B
$B$3$NJ}K!$GA4$F$N%f!<%6$+$i$N%^%&%s%H$r2DG=$K$5$;$k$3$H$O!"(B
$B=EBg$J%;%-%e%j%F%#%[!<%k(B
$B$K$b$D$J$,$k$3$H$r3P$($F$*$$$F$/$@$5$$(B($B$"$J$?$,5$$K$9$l$P$NOC$G$9$,(B)$B!#(B</P>
<P>$BFs$D$NLr$KN)$D%3%^%s%I$O!"%^%&%s%H$5$l$?%U%!%$%k%7%9%F%`$N>pJs$rI=<($9(B
$B$k(B <CODE>df</CODE> $B$H!"%G%#%l%/%H%j$K$h$C$F;H$o$l$F$$$k%G%#%9%/MFNL$rJs9p$9$k(B
<CODE>du dirname</CODE> $B$G$9!#(B</P>
<H2><A NAME="Backing Up"></A> <A NAME="ss6.3">6.3</A> <A HREF="DOS-Win-to-Linux-HOWTO.html#toc6.3">$B%P%C%/%"%C%W(B </A>
</H2>
<P>$B$$$/$D$+$NLr$KN)$D%Q%C%1!<%8$,$"$j$^$9$,!"%^%k%A%\%j%e!<%`%P%C%/%"%C%W(B
$B$G:GDc8B$G$-$k$3$H$H$7$F(B ( root $B8"8B(B):</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
# tar -M -cvf /dev/fd0H1440 dir_to_backup/
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>$B%U%)!<%^%C%H$5$l$?%U%m%C%T!<$,%I%i%$%V$KF~$C$F$$$F!"A^F~$5$l$F$$$k$b$N(B
$B0J30$K$b2?Kg$+MQ0U$5$l$F$$$k$3$H$r3NG'$7$F$/$@$5$$!#(B
$B%U%m%C%T!<Fb$N%U%!%$%k$r85$KLa$9$K$O!":G=i$N%U%m%C%T!<(B
$B$r%I%i%$%V$KF~$l$F<!$N%3%^%s%I$r<B9T$7$F$/$@$5$$!#(B</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
# tar -M -xpvf /dev/fd0H1440
</PRE>
</CODE></BLOCKQUOTE>
</P>
<HR>
<A HREF="DOS-Win-to-Linux-HOWTO-7.html">$B<!$N%Z!<%8(B</A>
<A HREF="DOS-Win-to-Linux-HOWTO-5.html">$BA0$N%Z!<%8(B</A>
<A HREF="DOS-Win-to-Linux-HOWTO.html#toc6">$BL\<!$X(B</A>
</BODY>
</HTML>
|