Should ignore SmartWare partitions when using Western Digital external drives
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udisks |
Fix Released
|
Medium
|
|||
udisks (Ubuntu) |
Fix Released
|
Low
|
Martin Pitt | ||
Karmic |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: devicekit-disks
Release of Ubuntu: Karmic
Package Version: 007-2ubuntu3
Expected Results: When a WD external drive is plugged in, the SmartWare Virtual CD is not detected or mounted.
Actual Results: The SmartWare Virtual CD is detected and mounted.
The SmartWare Virtual CD partition on these drives is useless in Linux. It includes Windows/Mac utilities only, and is not usable space. This portion of the drive should probably be ignored on Linux desktops.
Here is relevent output of "devkit-disks --dump":
Showing information for /org/freedeskto
native-path: /sys/devices/
device: 11:1
device-file: /dev/sr1
by-id: /dev/disk/
by-path: /dev/disk/
detected at: Wed 04 Nov 2009 04:38:44 PM EST
system internal: 0
removable: 1
has media: 1 (detected at Wed 04 Nov 2009 04:38:44 PM EST)
detects change: 1
detection by polling: 1
detection inhibitable: 1
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 1
presentation nopolicy: 0
presentation name:
presentation icon:
size: 700448768
block size: 2048
job underway: no
usage: filesystem
type: udf
version:
uuid:
label: WD SmartWare
optical disc:
blank: 0
appendable: 0
closed: 0
num tracks: 0
num audio tracks: 0
num sessions: 0
drive:
vendor: WD
model: Virtual CD 070A
revision: 1028
serial: 575839304137395
detachable: 1
can spindown: 0
rotational media: 1
ejectable: 1
media: optical_cd
compat: optical_cd optical_mrw optical_mrw_w
interface: usb
if speed: 480000000 bits/s
ATA SMART: not available
=======
And the output of "udevadm info -q all -n /dev/sr1" is:
P: /devices/
N: sr1
S: block/11:1
S: scd1
S: disk/by-
S: disk/by-
S: disk/by-
S: cdrom3
E: UDEV_LOG=3
E: DEVPATH=
E: MAJOR=11
E: MINOR=1
E: DEVNAME=/dev/sr1
E: DEVTYPE=disk
E: SUBSYSTEM=block
E: ID_CDROM=1
E: ID_CDROM_MRW=1
E: ID_CDROM_MRW_W=1
E: ID_CDROM_MEDIA=1
E: ID_VENDOR=WD
E: ID_VENDOR_
E: ID_VENDOR_ID=1058
E: ID_MODEL=
E: ID_MODEL_
E: ID_MODEL_ID=070a
E: ID_REVISION=1028
E: ID_SERIAL=
E: ID_SERIAL_
E: ID_TYPE=cd
E: ID_INSTANCE=0:1
E: ID_BUS=usb
E: ID_USB_
E: ID_USB_
E: ID_USB_
E: ID_PATH=
E: ID_FS_LABEL=
E: ID_FS_LABEL_
E: ID_FS_TYPE=udf
E: ID_FS_USAGE=
E: ACL_MANAGE=1
E: GENERATED=1
E: DKD_PRESENTATIO
E: DKD_MEDIA_
E: DKD_PARTITION_
E: DKD_PARTITION_
E: DKD_PRESENTATIO
E: DEVLINKS=
Changed in devicekit: | |
status: | Unknown → Confirmed |
Changed in devicekit: | |
status: | Confirmed → Fix Released |
Changed in udisks: | |
importance: | Unknown → Medium |
Changed in udisks: | |
importance: | Medium → Unknown |
Changed in udisks: | |
importance: | Unknown → Medium |
I've tried fixing this myself so that I could upload a patch to one of the rules files but the rules files are a mess since this is an "updated from Jaunty" machine (HAL-->DeviceKit). I don't know what files are obeyed.
The only way I got this to be ignored is to add "ENV{DKD_ PRESENTATION_ HIDE}=" 1"" to the appropriate line in 70-persistent- cd.rules, however I get the feeling this is not the right way to fix the problem.