Bug 25009 - ignore Western Digital SmartWare partitions
Summary: ignore Western Digital SmartWare partitions
Status: RESOLVED FIXED
Alias: None
Product: udisks
Classification: Unclassified
Component: detection (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: David Zeuthen (not reading bugmail)
QA Contact:
URL: https://launchpad.net/bugs/474790
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-10 03:22 UTC by Martin Pitt
Modified: 2009-12-01 14:09 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
git formatted patch (1.39 KB, patch)
2009-11-10 03:23 UTC, Martin Pitt
Details | Splinter Review
git formatted patch (1.39 KB, patch)
2009-11-10 03:25 UTC, Martin Pitt
Details | Splinter Review
git formatted patch (1.40 KB, patch)
2009-11-17 05:27 UTC, Martin Pitt
Details | Splinter Review
git formatted patch (1.37 KB, patch)
2009-12-01 13:17 UTC, Martin Pitt
Details | Splinter Review

Description Martin Pitt 2009-11-10 03:22:33 UTC
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.

P: /devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0/host14/target14:0:0/14:0:0:1/block/sr1
N: sr1
S: block/11:1
S: scd1
S: disk/by-id/usb-WD_Virtual_CD_070A_575839304137395737383234-0:1
S: disk/by-path/pci-0000:00:1d.7-usb-0:2:1.0-scsi-0:0:0:1
S: disk/by-label/WD\x20SmartWare
S: cdrom3
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0/host14/target14:0:0/14:0:0:1/block/sr1
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_ENC=WD\x20\x20\x20\x20\x20\x20
E: ID_VENDOR_ID=1058
E: ID_MODEL=Virtual_CD_070A
E: ID_MODEL_ENC=Virtual\x20CD\x20070A\x20
E: ID_MODEL_ID=070a
E: ID_REVISION=1028
E: ID_SERIAL=WD_Virtual_CD_070A_575839304137395737383234-0:1
E: ID_SERIAL_SHORT=575839304137395737383234
E: ID_TYPE=cd
E: ID_INSTANCE=0:1
E: ID_BUS=usb
E: ID_USB_INTERFACES=:080650:
E: ID_USB_INTERFACE_NUM=00
E: ID_USB_DRIVER=usb-storage
E: ID_PATH=pci-0000:00:1d.7-usb-0:2:1.0-scsi-0:0:0:1
E: ID_FS_LABEL=WD_SmartWare
E: ID_FS_LABEL_ENC=WD\x20SmartWare
E: ID_FS_TYPE=udf
E: ID_FS_USAGE=filesystem
E: ACL_MANAGE=1
E: GENERATED=1
E: DKD_PRESENTATION_HIDE=0
E: DKD_MEDIA_AVAILABLE=1
E: DKD_PARTITION_TABLE=1
E: DKD_PARTITION_TABLE_SCHEME=apm
E: DKD_PRESENTATION_NOPOLICY=0
E: DEVLINKS=/dev/block/11:1 /dev/scd1 /dev/disk/by-id/usb-WD_Virtual_CD_070A_575839304137395737383234-0:1 /dev/disk/by-path/pci-0000:00:1d.7-usb-0:2:1.0-scsi-0:0:0:1 /dev/disk/by-label/WD\x20SmartWare /dev/cdrom3v/sr1":
Comment 1 Martin Pitt 2009-11-10 03:23:48 UTC
Created attachment 31077 [details] [review]
git formatted patch
Comment 2 Martin Pitt 2009-11-10 03:25:39 UTC
Created attachment 31078 [details] [review]
git formatted patch

whoopsie, typo
Comment 3 Martin Pitt 2009-11-13 09:13:15 UTC
Comment on attachment 31078 [details] [review]
git formatted patch

I got feedback that this does not actually work. Marking this as broken, hold on. I'll followup with a better patch.
Comment 4 Martin Pitt 2009-11-17 05:27:20 UTC
Created attachment 31257 [details] [review]
git formatted patch

This was confirmed to work.
Comment 5 Martin Pitt 2009-12-01 13:17:15 UTC
Created attachment 31637 [details] [review]
git formatted patch

Updated to current git head for udisks renaming.
Comment 6 David Zeuthen (not reading bugmail) 2009-12-01 14:09:04 UTC
Committed. Thanks!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.