• 要找福利?记不住网址?搜不到?如何与我们保持联系?试试 CTRL+D 把零点博客添加进您的浏览器收藏夹,一键直达永不失联!

Linux mtoolstest命令

linux系统 涛涛 176次浏览 0个评论

Linux mtoolstest命令用于测试并显示mtools的相关设置。

mtoolstest为mtools工具指令,可读取与分析mtools的配置文件,并在屏幕上显示结果。

语法

<span class="pln">mtoolstest</span>

实例

在命令行中直接输入mtoolstest,即可显示mtools软件包当前的配置信息,结果如下:

<span class="pln">$ mtoolstest </span><span class="com">#显示mtools 软件包当前的配置信息  </span><span class="pln">
drive J</span><span class="pun">:</span> <span class="com">#mtools软件包当前的配置信息列表  </span>
<span class="com">#fn=0 mode=0 builtin  </span><span class="pln">
file</span><span class="pun">=</span><span class="str">"/dev/sdb4"</span><span class="pln"> fat_bits</span><span class="pun">=</span><span class="lit">16</span><span class="pln"> 
tracks</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> heads</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> sectors</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> hidden</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> 
offset</span><span class="pun">=</span><span class="lit">0x0</span><span class="pln"> 
partition</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> 
mformat_only  
drive Z</span><span class="pun">:</span>  
<span class="com">#fn=0 mode=0 builtin  </span><span class="pln">
file</span><span class="pun">=</span><span class="str">"/dev/sdb4"</span><span class="pln"> fat_bits</span><span class="pun">=</span><span class="lit">16</span><span class="pln"> 
tracks</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> heads</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> sectors</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> hidden</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> 
offset</span><span class="pun">=</span><span class="lit">0x0</span><span class="pln"> 
partition</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> 
mformat_only  
drive X</span><span class="pun">:</span>  
<span class="com">#fn=0 mode=0 builtin  </span><span class="pln">
file</span><span class="pun">=</span><span class="str">"$DISPLAY"</span><span class="pln"> fat_bits</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> 
tracks</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> heads</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> sectors</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> hidden</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> 
offset</span><span class="pun">=</span><span class="lit">0x0</span><span class="pln"> 
partition</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> 
drive A</span><span class="pun">:</span>  
<span class="com">#fn=2 mode=128 defined in /etc/mtools.conf  </span><span class="pln">
file</span><span class="pun">=</span><span class="str">"/dev/fd0"</span><span class="pln"> fat_bits</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> 
tracks</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> heads</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> sectors</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> hidden</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> 
offset</span><span class="pun">=</span><span class="lit">0x0</span><span class="pln"> 
partition</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> 
exclusive  
drive B</span><span class="pun">:</span>  
<span class="com">#fn=2 mode=128 defined in /etc/mtools.conf  </span><span class="pln">
file</span><span class="pun">=</span><span class="str">"/dev/fd1"</span><span class="pln"> fat_bits</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> 
tracks</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> heads</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> sectors</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> hidden</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> 
offset</span><span class="pun">=</span><span class="lit">0x0</span><span class="pln"> 
partition</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> 
exclusive  
drive M</span><span class="pun">:</span>  
<span class="com">#fn=2 mode=0 defined in /etc/mtools.conf  </span><span class="pln">
file</span><span class="pun">=</span><span class="str">"/var/lib/dosemu/hdimage.first"</span><span class="pln"> fat_bits</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> 
tracks</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> heads</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> sectors</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> hidden</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> 
offset</span><span class="pun">=</span><span class="lit">0x80</span><span class="pln"> 
partition</span><span class="pun">=</span><span class="lit">1</span><span class="pln"> 
drive N</span><span class="pun">:</span>  
<span class="com">#fn=2 mode=0 defined in /etc/mtools.conf  </span><span class="pln">
file</span><span class="pun">=</span><span class="str">"/var/lib/dosemu/fdimage"</span><span class="pln"> fat_bits</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> 
tracks</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> heads</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> sectors</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> hidden</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> 
offset</span><span class="pun">=</span><span class="lit">0x0</span><span class="pln"> 
partition</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> 
mtools_fat_compatibility</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> 
mtools_skip_check</span><span class="pun">=</span><span class="lit">0</span><span class="pln"> 
mtools_lower_case</span><span class="pun">=</span><span class="lit">0</span>

欢迎转载本文:Linux mtoolstest命令
喜欢 (0)
[ld]
分享 (0)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址