[PATCH] Add override for system internal property

Patrick Stewart patstew at gmail.com
Mon Feb 14 10:20:55 PST 2011


My motherboard doesn't differentiate between its internal and external
sata ports, so I'd like to mark some disks as external manually so
they are automounted by kde. (I used to do this with a hal policy, but
have now switched to udisks). I noticed this was down as a TODO in the
code, so I've patched it in. I use the following udev rule to force
system internal to 0:
SUBSYSTEM=="block", ENV{ID_SERIAL_SHORT}=="ABCD1234",
ENV{UDISKS_FORCE_SYSTEM_INTERNAL}="0"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-system-internal-override.patch
Type: text/x-patch
Size: 1114 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/devkit-devel/attachments/20110214/9c04aa92/attachment.bin>


More information about the devkit-devel mailing list