Open Vladimir-csp opened 8 years ago
Hm, missed the right answer on the same page. This worked for me (marked by SATA port):
# mark swappable SATA port as external
# path found by 'udevadm info -q path /dev/sdb'
DEVPATH=="/devices/pci0000:00/0000:00:1f.2/ata2/host1/*", ENV{UDISKS_SYSTEM}="0", ENV{UDISKS_SYSTEM_INTERNAL}="0"
That would come handy in the docs
I came across this tip to mark SATA port as external fo udisks: https://wiki.archlinux.org/index.php/Udev#Mark_internal_SATA_ports_as_eSATA
Which mechanism does udevil employ to tell external and internal devices apart? The above tip does not affect udevil. If there exists some more proper way to write udev rule, it could be placed in documentation.