linux mint 自动挂载windows的D盘和E盘
<div class="article_bar clearfix">
<div class="artical_tag">
<span class="original">
原创 </span>
<span class="time">2015年01月10日 20:18:59</span>
</div>
<ul class="article_tags clearfix csdn-tracking-statistics" data-mod="popu_377">
<li class="tit">标签:</li>
<li><a href="http://so.csdn.net/so/search/s.do?q=linux mint&t=blog" target="_blank">linux mint</a> <span>/</span></li>
<li><a href="http://so.csdn.net/so/search/s.do?q=自动挂载 磁盘&t=blog" target="_blank">自动挂载 磁盘</a> <span>/</span></li>
<li><a href="http://so.csdn.net/so/search/s.do?q=windows&t=blog" target="_blank">windows</a> <span style="display: none;">/</span></li>
<!-- [endarticletags]-->
</ul>
<ul class="right_bar">
<li><button class="btn-noborder"><i class="icon iconfont icon-read"></i><span class="txt">2623</span></button></li>
<li style="display: none;" class="edit">
<a class="btn-noborder" href="http://write.blog.csdn.net/postedit/42586213">
<i class="icon iconfont icon-bianji"></i><span class="txt">编辑</span>
</a>
</li>
<li style="display: none;" class="del">
<a class="btn-noborder" onclick="javascript:deleteArticle(fileName);return false;">
<i class="icon iconfont icon-shanchu"></i><span class="txt">删除</span>
</a>
</li>
</ul>
</div>
<div style="overflow: hidden;" id="article_content" class="article_content csdn-tracking-statistics" data-mod="popu_519" data-dsm="post">
终端敲udisksctl mount -p block_devices/sda后双击tab键补全分区,如下:
如我的E盘是sda6,执行
udisksctl mount -p block_devices/sda6
就可以挂载E盘了.
也可以在Start Applications设置开机自动挂载:
设置完后按ctrl+alt+Backspace, Logout再Login,就可以看到桌面多了个win的E盘了。
同理,卸载E盘可以执行如下命令:
udisksctl unmount -p block_devices/sda6
时间: 2024-10-08 10:13:47