1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > linux系统怎么关闭usb端口 开启/关闭USB端口

linux系统怎么关闭usb端口 开启/关闭USB端口

时间:2020-01-17 22:46:06

相关推荐

linux系统怎么关闭usb端口 开启/关闭USB端口

udisksctl有power-off标志,建议您将其与

unmount

来自man udisksctl:

power-off

Arranges for the drive to be safely removed and powered off. On the

OS side this includes ensuring that no process is using the drive,

then requesting that in-flight buffers and caches are committed to

stable storage. The exact steps for powering off the drive depends

on the drive itself and the interconnect used. For drives connected

through USB, the effect is that the USB device will be deconfigured

followed by disabling the upstream hub port it is connected to

演示版

这是我卸载USB Jumpdrive,然后关闭电源

testdir:$ lsusb

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 001 Device 009: ID 1

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。