On Fri, 11 Sep 2015 00:49:23 +0300 Andrei Borzenkov wrote: 8< - - - - - trimmed - - - - - >8
Devices are most likely mounted via udisks so udisksctl unmount could be used to do it.
I can't seem to get udisksctl to cooperate. I plugged in a test USB stick and it was auto-mounted: /dev/sdb1 --> /run/media/carlh/USB20FD /dev/sdb1 on /run/media/carlh/USB20FD type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2) ~> udisksctl umount /run/media/carlh/USB20FD Unknown command `umount' Hmmmm ... okay, I guess I can understand "unmount" vs "umount" in this context. ~> udisksctl unmount /run/media/carlh/USB20FD Usage: udisksctl unmount [OPTION...] Unmount a filesystem. Application Options: -p, --object-path Object to unmount -b, --block-device Block device to unmount -f, --force Force/lazy unmount --no-user-interaction Do not authenticate the user if needed ~> udisksctl unmount /dev/sdb1 Usage: udisksctl unmount [OPTION...] Unmount a filesystem. Application Options: -p, --object-path Object to unmount -b, --block-device Block device to unmount -f, --force Force/lazy unmount --no-user-interaction Do not authenticate the user if needed Okay, I give up ... right-click the drive in Dolphin and 'safely remove' worked. What gives? Thx! Carl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org