I did some tests for this problem:
all test with include unmounted volumes = NO
test1 - click eject on files does eject
test2 - click eject on dock does NOT eject, eject must be completed with eject on dock
test3 - click Unmount on dock does the same as Eject
test1 --- click Eject on files --------------------------------
at [6820.172534] click Eject on files - eject completed
corrado@corrado-n2-nn-1115:~$ sudo dmesg -W
[sudo] password for corrado:
[ 6820.214188] evict_inodes inode 000000007a1f2b20, i_count = 1, was skipped!
[ 6820.214196] evict_inodes inode 000000004999f002, i_count = 1, was skipped!
[ 6820.214199] evict_inodes inode 00000000af46cbb1, i_count = 1, was skipped!
[ 6820.320984] sdc: detected capacity change from 30720000 to 0
corrado@corrado-n2-nn-1115:~$ udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
test2 --- click Eject on dock and then on files ------------
at [6474.305211] click Eject on dock - eject NOT done
at [6510.630651] click Eject on files - eject completed
corrado@corrado-n2-nn-1115:~$ sudo dmesg -W
[sudo] password for corrado:
[ 6474.342504] evict_inodes inode 0000000086a23104, i_count = 1, was skipped!
[ 6474.342508] evict_inodes inode 000000005caf6d28, i_count = 1, was skipped!
[ 6474.342509] evict_inodes inode 00000000a02ca119, i_count = 1, was skipped!
[ 6510.678411] sdc: detected capacity change from 30720000 to 0
corrado@corrado-n2-nn-1115:~$ udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
test3 --- click UNMOUNT on dock and then on files ------------
at [7890.424704] click Unmount on dock - eject NOT done
at [7910.393825] click Eject on files - eject completed
corrado@corrado-n2-nn-1115:~$ sudo dmesg -W
[sudo] password for corrado:
[ 7890.475269] evict_inodes inode 000000003639f350, i_count = 1, was skipped!
[ 7890.475273] evict_inodes inode 000000009b82a3f2, i_count = 1, was skipped!
[ 7890.475275] evict_inodes inode 000000007dcb575b, i_count = 1, was skipped!
[ 7910.452961] sdc: detected capacity change from 30720000 to 0
corrado@corrado-n2-nn-1115:~$ udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
I did some tests for this problem:
all test with include unmounted volumes = NO
test1 - click eject on files does eject
test2 - click eject on dock does NOT eject, eject must be completed with eject on dock
test3 - click Unmount on dock does the same as Eject
------- ------- ------- ------- ------- ------- ------- ------- ------- ----
test1 --- click Eject on files ------- ------- ------- ------- ----
at [6820.172534] click Eject on files - eject completed
corrado@ corrado- n2-nn-1115: ~$ sudo dmesg -W
[sudo] password for corrado:
[ 6820.214188] evict_inodes inode 000000007a1f2b20, i_count = 1, was skipped!
[ 6820.214196] evict_inodes inode 000000004999f002, i_count = 1, was skipped!
[ 6820.214199] evict_inodes inode 00000000af46cbb1, i_count = 1, was skipped!
[ 6820.320984] sdc: detected capacity change from 30720000 to 0
corrado@ corrado- n2-nn-1115: ~$ udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[6820.172534] change /devices/ pci0000: 00/0000: 00:14.0/ usb1/1- 14/1-14: 1.0/host4/ target4: 0:0/4:0: 0:0/block/ sdc/sdc1 (block) pci0000: 00/0000: 00:14.0/ usb1/1- 14/1-14: 1.0/host4/ target4: 0:0/4:0: 0:0/block/ sdc/sdc1 (block) pci0000: 00/0000: 00:14.0/ usb1/1- 14/1-14: 1.0/host4/ target4: 0:0/4:0: 0:0/block/ sdc (block) pci0000: 00/0000: 00:14.0/ usb1/1- 14/1-14: 1.0/host4/ target4: 0:0/4:0: 0:0/block/ sdc/sdc1 (block) pci0000: 00/0000: 00:14.0/ usb1/1- 14/1-14: 1.0/host4/ target4: 0:0/4:0: 0:0/block/ sdc (block) pci0000: 00/0000: 00:14.0/ usb1/1- 14/1-14: 1.0/host4/ target4: 0:0/4:0: 0:0/block/ sdc (block) pci0000: 00/0000: 00:14.0/ usb1/1- 14/1-14: 1.0/host4/ target4: 0:0/4:0: 0:0/block/ sdc/sdc1 (block) pci0000: 00/0000: 00:14.0/ usb1/1- 14/1-14: 1.0/host4/ target4: 0:0/4:0: 0:0/block/ sdc (block)
UDEV [6820.238892] change /devices/
KERNEL[6820.270341] change /devices/
KERNEL[6820.270641] remove /devices/
KERNEL[6820.271085] change /devices/
UDEV [6820.272584] change /devices/
UDEV [6820.273600] remove /devices/
UDEV [6820.275655] change /devices/
test2 --- click Eject on dock and then on files ------------
at [6474.305211] click Eject on dock - eject NOT done
at [6510.630651] click Eject on files - eject completed
corrado@ corrado- n2-nn-1115: ~$ sudo dmesg -W
[sudo] password for corrado:
[ 6474.342504] evict_inodes inode 0000000086a23104, i_count = 1, was skipped!
[ 6474.342508] evict_inodes inode 000000005caf6d28, i_count = 1, was skipped!
[ 6474.342509] evict_inodes inode 00000000a02ca119, i_count = 1, was skipped!
[ 6510.678411] sdc: detected capacity change from 30720000 to 0
corrado@ corrado- n2-nn-1115: ~$ udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[6474.305211] change /devices/ pci0000: 00/0000: 00:14.0/ usb1/1- 14/1-14: 1.0/host4/ target4: 0:0/4:0: 0:0/block/ sdc/sdc1 (block) pci0000: 00/0000: 00:14.0/ usb1/1- 14/1-14: 1.0/host4/ target4: 0:0/4:0: 0:0/block/ sdc/sdc1 (block) pci0000: 00/0000: 00:14.0/ usb1/1- 14/1-14: 1.0/host4/ target4: 0:0/4:0: 0:0/block/ sdc (block) pci0000: 00/0000: 00:14.0/ usb1/1- 14/1-14: 1.0/host4/ target4: 0:0/4:0: 0:0/block/ sdc/sdc1 (block) pci0000: 00/0000: 00:14.0/ usb1/1- 14/1-14: 1.0/host4/ target4: 0:0/4:0: 0:0/block/ sdc (block) pci0000: 00/0000: 00:14.0/ usb1/1- 14/1-14: 1.0/host4/ target4: 0:0/4:0: 0:0/block/ sdc (block) pci0000: 00/0000: 00:14.0/ usb1/1- 14/1-14: 1.0/host4/ target4: 0:0/4:0: 0:0/block/ sdc/sdc1 (block) pci0000: 00/0000: 00:14.0/ usb1/1- 14/1-14: 1.0/host4/ target4: 0:0/4:0: 0:0/block/ sdc (block)
UDEV [6474.373867] change /devices/
KERNEL[6510.630651] change /devices/
KERNEL[6510.630872] remove /devices/
KERNEL[6510.632673] change /devices/
UDEV [6510.634241] change /devices/
UDEV [6510.635018] remove /devices/
UDEV [6510.637247] change /devices/
test3 --- click UNMOUNT on dock and then on files ------------
at [7890.424704] click Unmount on dock - eject NOT done
at [7910.393825] click Eject on files - eject completed
corrado@ corrado- n2-nn-1115: ~$ sudo dmesg -W
[sudo] password for corrado:
[ 7890.475269] evict_inodes inode 000000003639f350, i_count = 1, was skipped!
[ 7890.475273] evict_inodes inode 000000009b82a3f2, i_count = 1, was skipped!
[ 7890.475275] evict_inodes inode 000000007dcb575b, i_count = 1, was skipped!
[ 7910.452961] sdc: detected capacity change from 30720000 to 0
corrado@ corrado- n2-nn-1115: ~$ udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[7890.424704] change /devices/ pci0000: 00/0000: 00:14.0/ usb1/1- 14/1-14: 1.0/host4/ target4: 0:0/4:0: 0:0/block/ sdc/sdc1 (block) pci0000: 00/0000: 00:14.0/ usb1/1- 14/1-14: 1.0/host4/ target4: 0:0/4:0: 0:0/block/ sdc/sdc1 (block) pci0000: 00/0000: 00:14.0/ usb1/1- 14/1-14: 1.0/host4/ target4: 0:0/4:0: 0:0/block/ sdc (block) pci0000: 00/0000: 00:14.0/ usb1/1- 14/1-14: 1.0/host4/ target4: 0:0/4:0: 0:0/block/ sdc/sdc1 (block) pci0000: 00/0000: 00:14.0/ usb1/1- 14/1-14: 1.0/host4/ target4: 0:0/4:0: 0:0/block/ sdc (block) pci0000: 00/0000: 00:14.0/ usb1/1- 14/1-14: 1.0/host4/ target4: 0:0/4:0: 0:0/block/ sdc (block) pci0000: 00/0000: 00:14.0/ usb1/1- 14/1-14: 1.0/host4/ target4: 0:0/4:0: 0:0/block/ sdc/sdc1 (block) pci0000: 00/0000: 00:14.0/ usb1/1- 14/1-14: 1.0/host4/ target4: 0:0/4:0: 0:0/block/ sdc (block)
UDEV [7890.493612] change /devices/
KERNEL[7910.393825] change /devices/
KERNEL[7910.394162] remove /devices/
KERNEL[7910.395855] change /devices/
UDEV [7910.398213] change /devices/
UDEV [7910.399270] remove /devices/
UDEV [7910.401605] change /devices/