如何像Nautilus一样从命令行安装? [英] How to mount from command line like the Nautilus does?

查看:79
本文介绍了如何像Nautilus一样从命令行安装?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Ubuntu Linux盒子上,我可以轻松地安装USB连接的驱动器或CDROM,方法是单击在桌面上可以找到的设备图标.

On my Ubuntu linux box I can easily mount USB connected drives or CDROM clicking on devices icons that I can found on the Desktop.

例如,如果我单击USB连接的驱动器图标,则会发生以下情况:

For example if I click on a USB connected drive icon the following things happen:

  • 会自动创建/media/LABEL目录(其中LABEL是磁盘的标签,并且可能因磁盘而异)
  • 设备上的文件系统已安装在/media/LABEL

此过程与使用mount命令进行安装明显不同.特别是:

This process is significantly different from mounting using the mount command. In particular:

  • 您不需要是root用户(或者您不需要修改/etc/fstab即可允许普通用户挂载设备)
  • /media/LABEL目录是自动创建的
  • 目录名称根据卷标而更改.

有一个命令行命令的行为类似于Gnome GUI安装工具吗?

There is a command line command that behaves like the Gnome GUI mounting facilities does?

推荐答案

请参见

See the pmount command for usage information

这篇关于如何像Nautilus一样从命令行安装?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆