[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#710764: kde-workspace: device-notifier does not show removable drive if the label is "RECOVERY"



Control: retitle -1 udisks/udisks2: does not mount removable drive if label is "RECOVERY"
Control: clone -1 -2
Control: reassign -1 udisks2 2.1.3-1
Control: reassign -2 udisks 1.0.4-7wheezy1

Hi,

This bug is actually a feature in the udisks udev rules (which is still
present in udisks2), to ignore special recovery partitions.

# recovery partitions
ENV{ID_FS_TYPE}=="ntfs|vfat", \
  ENV{ID_FS_LABEL}=="RECOVERY|Lenovo_Recovery|HP_RECOVERY|Recovery_Partition|DellUtility|DellRestore|IBM_SERVICE|SERVICEV001|SERVICEV002|SYSTEM_RESERVED|System_Reserved|WINRE_DRV", \
  ENV{UDISKS_IGNORE}="1"


That's from data/80-udisks2.rules in the udisks2 source code.

But, afaics, it's wrong to ignore partitions by label in a pendrive, so the
rule could be prepended with:
SUBSYSTEMS!="usb",

So the rule doesn't apply to usb drives.

Thanks,
-- 
"If the code and the comments disagree, then both are probable wrong."
-- Norm Schryer
Saludos /\/\ /\ >< `/

Attachment: signature.asc
Description: Digital signature


Reply to: