Prikladam jeste podobny priklad s multi-card readerem, kde LUN funguje na individualni karty (pri hotplugu karty to pak hlasi capacity change). Ale nepouzivam eject ani udisksd .. vzdy dam umount a kartu vytahnu az prikaz skonci a i ctecka doblika. Dle info z netu, sync se provede tim umountem automaticky, takze staci umount a vyrvat to.
[5110681.826761] usb 2-4: new SuperSpeed USB device number 110 using xhci_hcd
[5110681.889984] usb 2-4: New USB device found, idVendor=11b0, idProduct=6348, bcdDevice= 3.08
[5110681.889999] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[5110681.890005] usb 2-4: Product: USB3.0 Media Reader
[5110681.890009] usb 2-4: Manufacturer: Kingston
[5110681.890013] usb 2-4: SerialNumber: 08735343408668
[5110681.903507] usb-storage 2-4:1.0: USB Mass Storage device detected
[5110681.904090] scsi host6: usb-storage 2-4:1.0
[5110682.990838] scsi 6:0:0:0: Direct-Access FCR-HS3 -0 1.00 PQ: 0 ANSI: 6
[5110683.019229] scsi 6:0:0:1: Direct-Access FCR-HS3 -1 1.00 PQ: 0 ANSI: 6
[5110683.047710] scsi 6:0:0:2: Direct-Access FCR-HS3 -2 1.00 PQ: 0 ANSI: 6
[5110683.076069] scsi 6:0:0:3: Direct-Access FCR-HS3 -3 1.00 PQ: 0 ANSI: 6
[5110683.076570] sd 6:0:0:0: Attached scsi generic sg2 type 0
[5110683.077352] sd 6:0:0:1: Attached scsi generic sg3 type 0
[5110683.078103] sd 6:0:0:2: Attached scsi generic sg4 type 0
[5110683.078422] sd 6:0:0:3: Attached scsi generic sg5 type 0
[5110683.082635] sd 6:0:0:0: [sdc] Media removed, stopped polling
[5110683.083171] sd 6:0:0:0: [sdc] Attached SCSI removable disk
[5110683.088017] sd 6:0:0:1: [sdd] Media removed, stopped polling
[5110683.088482] sd 6:0:0:1: [sdd] Attached SCSI removable disk
[5110683.093089] sd 6:0:0:2: [sde] Media removed, stopped polling
[5110683.093480] sd 6:0:0:2: [sde] Attached SCSI removable disk
[5110683.098436] sd 6:0:0:3: [sdf] Media removed, stopped polling
[5110683.098724] sd 6:0:0:3: [sdf] Attached SCSI removable disk
Zkusil bych ten vas box podobne - pripojit bez disku a disk tam vrazit az pak - a zjistit zda se /dev/sdX objevi pred diskem s 0 kapacitou, nebo az vlozenim disku ?