在Ubuntu 12.04 Server中,当我插入USB设备时,它什么都不做.
在添加打印机,扫描仪和拇指驱动器等USB设备时,如何设置服务器是否像桌面一样?
最终,我将把这些USB设备转发到VirtualBox虚拟机.但是,如果ubuntu服务器没有以某种方式安装它们,我也无法让VirtuaBox看到它们.
sudo apt-get install usbmount
这是回购的描述:
automatically mount and unmount USB mass storage devices This package
automatically mounts USB mass storage devices (typically USB pens)
when they are plugged in,and unmounts them when they are removed.
The mountpoints (/media/usb[0-7] by default),filesystem types to
consider,and mount options are configurable. When multiple devices
are plugged in,the first available mountpoint is automatically
selected. If the device provides a model name,a symbolic link
/var/run/usbmount/MODELNAME pointing to the mountpoint is
automatically created.
使用automount时,它会将存储设备挂载到/ media / usb [0-7](没有对话框).
打印机/扫描仪没有“安装”,并且配置不同.虽然,如果你的最终目标只是将这些传递给你的Windows客户,你需要安装VirtualBox扩展包,从这里https://www.virtualbox.org/wiki/Downloads.在你的Windows使用它们之前不需要在你的Ubuntu主机中设置这些设备客人.