wrong handling of udev rule hiding partitions-mounting usb-drives

Bug #697165 reported by Sebastian Haberl
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
udev (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: udev

I created a udev rule to hide the windows partitions of my dual-boot system the rule looks like the following:

Kernel=="sda", ENV{UDISKS_PRESENTATION_HIDE}="1"
Kernel=="sdb", ENV{UDISKS_PRESENTATION_HIDE}="1"

I expect udev to hide all partitions, that are not mounted (e.g. via fstab or manual mount). This is actually working for both hard-drives.

But this also hides all partitiones on usb-volumes so that they don't get automatically loaded. This means that the USB-Drive is not shown in nautilus at all.
It is correctly recognized by fdisk -l and I can mount it manually, but the rule should not hide any usb-drive (if it is not /sda or /sdb, which it is not).

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: udev 162-2.2
ProcVersionSignature: Ubuntu 2.6.35-24.42-generic 2.6.35.8
Uname: Linux 2.6.35-24-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
CustomUdevRuleFiles: 99-partitionen-verstecken.rules 10-vboxdrv.rules
Date: Tue Jan 4 11:24:21 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MachineType: LENOVO 4389W1B
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-24-generic root=UUID=2889b10e-a56e-4532-b580-b4c422727240 ro quiet splash
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: udev
dmi.bios.date: 10/27/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 6NET74WW (1.34 )
dmi.board.name: 4389W1B
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr6NET74WW(1.34):bd10/27/2010:svnLENOVO:pn4389W1B:pvrThinkPadW510:rvnLENOVO:rn4389W1B:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 4389W1B
dmi.product.version: ThinkPad W510
dmi.sys.vendor: LENOVO

Revision history for this message
Sebastian Haberl (sebastianhaberl) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.