/usr/share/doc/HOWTO/ja-html/DOSEMU-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 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
<TITLE>The dosemu HOWTO: $B%O!<%I%G%#%9%/$N@_Dj(B</TITLE>
<LINK HREF="DOSEMU-HOWTO-4.html" REL=next>
<LINK HREF="DOSEMU-HOWTO-2.html" REL=previous>
<LINK HREF="DOSEMU-HOWTO.html#toc3" REL=contents>
</HEAD>
<BODY>
<A HREF="DOSEMU-HOWTO-4.html">$B<!$N%Z!<%8(B</A>
<A HREF="DOSEMU-HOWTO-2.html">$BA0$N%Z!<%8(B</A>
<A HREF="DOSEMU-HOWTO.html#toc3">$BL\<!$X(B</A>
<HR>
<H2><A NAME="s3">3.</A> <A HREF="DOSEMU-HOWTO.html#toc3">$B%O!<%I%G%#%9%/$N@_Dj(B</A></H2>
<H2><A NAME="ss3.1">3.1</A> <A HREF="DOSEMU-HOWTO.html#toc3.1">$B%O!<%I%G%#%9%/$r(B dosemu $B$G;H$&J}K!(B</A>
</H2>
<P>$B$^$:!"(BDOS $B$N%Q!<%F%#%7%g%s$r(B Linux $B$N%5%V%G%#%l%/%H%j$H$7$F%^%&%s%H(B
$B$7$^$9!#Nc$($P!"(B/dos (mkdir -m 755 /dos) $B$N$h$&$J%G%#%l%/%H%j$r:n$j!"(B
/etc/fstab $B$K<!$N9`L\$rDI2C$7$^$9!#(B
<PRE>
/dev/hda1 /dos msdos umask=022
</PRE>
($B$3$NNc$G$O!"%O!<%I%G%#%9%/$OFI$_=P$7@lMQ$G%^%&%s%H$5$l$^$9!#FI$_=q$-(B
$B$G$-$k$h$&$K%^%&%s%H$9$k$?$a$K$O!"(B"022"$B$r(B"000"$B$KCV$-49$(!"(Bmkdir $B$G$O(B
-m 777 $B%*%W%7%g%s$r;XDj$7$^$9!#(B) $B<!$K(B <B>mount /dos</B>$B$r9T$$$^$9!#(B
README.txt $B%U%!%$%k$K$O0J2<$N$h$&$K=q$+$l$F$$$^$9(B:
<PRE>
$BI,MW$J%U%!%$%k$,A4$F(B DOS $B$N(B C: $B$K4^$^$l$k$h$&$J(B Linux $B$N%G%#%l%/%H%j(B
$B$rC1$KMQ0U$7$F$/$@$5$$!#(BIO.SYS $B$d(B MSDOS.SYS $BEy$r$=$N%G%#%l%/%H%j(B
($BNc(B: /var/lib/dosemu/bootdir)$B$K%3%T!<$7$F!"(B
$_hdimage = "bootdir"
$B$H(B /etc/dosemu.conf $B$K=q$-9~$s$G<!$K?J$_$^$9!#(Bdosemu $B$O(B lredir $B$7$?(B
$B%I%i%$%V$r%7%9%F%`30It$N$b$N$H$7$F07$$!"$=$3$+$i5/F0$r9T$&$3$H$,$G$-(B
$B$^$9!#(Bdosemu $B$r5/F0$9$kA0$K!"$3$N%G%#%l%/%H%j$K$"$k(B config.sys $B$H(B
autoexec.bat $B$rJT=8$9$k$3$H$b$G$-$^$9!#$5$i$K!"$b$C$H@vN}$5$l$?@_Dj(B
$B$K$9$k$3$H$,$G$-$^$9!#%M%$%F%#%V$N(B DOS $B$r5/F0$9$k;~$NDL>o$N(B DOS $B%I%i(B
$B%$%V$r(B dosemu $B$G$b;H$$$?$$$b$N$H$7$^$9!#$3$N>l9g$K$OC1$K!"(BDOS $B%Q!<%F%#(B
$B%7%g%s$r(B Linux $B$G(B(/dos $BEy$K(B)$B%^%&%s%H$7!"$=$N%5%V%G%#%l%/%H%j$X$N%j%s(B
$B%/$r5/F0%G%#%l%/%H%j$K:n$j$^$9!#$3$N$h$&$K$7$F!"(Bdosemu $B$G$b8+$($k$h(B
$B$&$K$7$J$1$l$P$J$i$J$$%U%!%$%k(B/$B%G%#%l%/%H%j$d!"(Bdosemu $B$H%M%#%F%#%V$N(B
DOS $B$G6hJL$7$J$1$l$P$J$i$J$$%U%!%$%k(B/$B%G%#%l%/%H%j$r7h$a$k$3$H$,$G$-(B
$B$^$9!#0J2<$K5/F0%G%#%l%/%H%j$N@_Dj$NC;$/$FIT40A4$JNc$r<($7$^$9(B:
config.sys
autoexec.bat
command.com -> /dos/command.com
io.sys -> /dos/io.sys
msdos.sys -> /dos/msdos.sys
dos -> /dos/dos
bc -> /dos/bc
windows -> /dos/windows
$B$?$@$7!"$3$NNc$K$O(B 1 $B$DLdBj$,$"$j$^$9!#$9$J$o$A!"$3$NNc$G$O(B DosC $B%+!<(B
$B%M%k(B(FreeDos)$B$O;H$($^$;$s!#$J$<$J$i!"(BFreeDos $B$G$O%j%@%$%l%/%?$,$^$@(B
$BF0:n$7$F$$$J$$$+$i$G$9(B($B>-MhE*$K$O;H$($k$h$&$K$J$k$G$7$g$&(B)$B!#(B
</PRE>
</P>
<H2><A NAME="ss3.2">3.2</A> <A HREF="DOSEMU-HOWTO.html#toc3.2">Linux $B$+$i(B hdimage $B$K%"%/%;%9$9$kJ}K!(B</A>
</H2>
<P>mtools $B$r;H$C$F$/$@$5$$!#(B<B>/etc/mtools.conf</B> $B$K$O0J2<$N9T(B
$B$r5-=R$7$F$/$@$5$$!#(B
<PRE>
drive n: file="/var/lib/dosemu/hdimage" MTOOLS_SKIP_CHECK=1 \
MTOOLS_LOWER_CASE=1 MTOOLS_NO_VFAT=1 partition=1 offset=128
</PRE>
$B$3$&$9$k$H(B mtools $B$r;H$C$F(B "mdir n:" $B$N$h$&$K$7$F(B hdimage $B$K%"%/%;%9$G(B
$B$-$^$9!#(B"mcopy n:/config.emu /tmp" $B$G(B hdimage $B>e$N(B config.emu $B%U%!%$%k(B
$B$r(B /tmp/config.emu $B$K%3%T!<$G$-$^$9!#$=$7$F!"$3$N%U%!%$%k$rJT=8$7$F$+(B
$B$i(B hdimage $B$X=q$-La$9$3$H$,$G$-$^$9!#<B:]$K$O;H$$$d$9$$%I%i%$%V%l%?!<(B
$B$r;H$C$F$/$@$5$$!#(B"N:" $B$OC1$J$kNc$K2a$.$^$;$s!#(B</P>
<H2><A NAME="ss3.3">3.3</A> <A HREF="DOSEMU-HOWTO.html#toc3.3">Stacker/DoubleSpace/SuperStore$B$G05=L$5$l$?%G%#%9%/$r;H$($k$+(B?</A>
</H2>
<P>$B8=:_$N$H$3$m!"I8=`$N%+!<%M%k$G$O%j%@%$%l%/%?(B(lredir $B$d(B emufs)$B$r7PM3(B
$B$G$3$l$i$N05=L%I%i%$%V$K%"%/%;%9$9$k$3$H$O$G$-$^$;$s!#!!(B
"dmsdosfs" $B$H$$$&L>A0$G05=L%U%!%$%k$r%^%&%s%H$G$-$k$h$&$K$9$k%+!<%M%k(B
$B$X$N%Q%C%A$,$"$j$^$9!#(Bsunsite.unc.edu $B$H$=$N%_%i!<%5%$%H$GC5$7$F$/$@$5(B
$B$$!#(B
<BLOCKQUOTE><CODE>
<A HREF="http://sunsite.unc.edu:/pub/Linux/system/filesystems/dosfs/">http://sunsite.unc.edu:/pub/Linux/system/filesystems/dosfs/</A></CODE></BLOCKQUOTE>
$B?7$7$$%P!<%8%g%s$r8+$D$1$k$K$O(B
<A HREF="http://sunsite.unc.edu:/pub/Linux/Incoming">http://sunsite.unc.edu:/pub/Linux/Incoming</A>
$B$rC5$9$HNI$$$G$7$g$&!#(B
$B8E$$%P!<%8%g%s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!"K\J*$N(B)DOS $B$r%V!<%H$7$F!"(Bfdisk /mbr $B$r<B9T$7$^$9!#(B
DOS $B$N(B fdisk $B$r;H$C$F(B DOS $B%Q!<%F%#%7%g%s$r%"%/%F%#%V$K$7$^$9!#(B</P>
<P>3. $B?7$7$/$G$-$?(B MBR $B$r%U%!%$%k$K%3%T!<$7$^$9!#(B</P>
<P>4. $B%*%j%8%J%k$N(B MBR $B$rCV$-49$($^$9!#(B</P>
<P>5. 3. $B$G:n$C$?(B MBR $B$r(B /var/lib/dosemu/partition.hda?
(hda?$B$O!"(BDOS $B%Q!<%F%#%7%g%s$N$"$k$H$3$m(B) $B$K%3%T!<$7$^$9!#(B</P>
<P>6. dosemu.conf $B$r<!$N$h$&$K@_Dj$7$^$9!#(B
<PRE>
disk {partition "/dev/hda? ?"}
</PRE>
</P>
<P>7. dosemu $B$r5/F0$7$^$9!#$[$i!"$G$-$?(B! LILO $B$,L5$/$F$b5/F0$G$-$^$7$?$M!#(B</P>
<P>$B:G6a$N%P!<%8%g%s$N(B dosemu $B$G$O(B
<PRE>
disk {partition "/dev/hda? ?"}
</PRE>
$B$N9T$r(B
<PRE>
$_hdimage = "/dev/hda1"
</PRE>
$B$N$h$&$KJQ99$9$kI,MW$,$"$j$^$9!#(B
---------------------</P>
<P>Holger Schemel $B$5$s$N(B(<B>q99492@pbhrzx.uni-paderborn.de</B>) $BJs9p$G(B
$B$9(B(94/2/10)$B!#(B</P>
<P>dosemu $B$N2<$G(B MS-DOS 6.0$B$b$&$^$/F0:n$7$^$7$?!#LdBj$,$"$k>l9g$K$O!"(B'DBLSPACE.
INI' $B$r<j$G=$@5$7$F!"%I%i%$%VL>$r(B dosemu$B>e$G$N%I%i%$%VL>$KJQ99$9$l$P$&(B
$B$^$/$$$/$G$7$g$&!#(B</P>
<P>---------------------</P>
<P>Darren J Moffat $B$5$s(B(<B>moffatd@dcs.gla.ac.uk</B>)$B$NJs9p$G$9(B(94/3/27)$B!#(B</P>
<P>"$B!D$b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