2017年5月18日 星期四

在 Linux 安全移除 USB Disk 的指令

udisksctl unmount -b /dev/sdx1
udisksctl power-off -b /dev/sdx
其中 /dev/sdx 為 USB 所在區塊設備。

沒有留言:

張貼留言