[Pkg-utopia-maintainers] Bug#648810: Bug#648810: udisks-daemon: regression from squeeze: partitions on USB disks are not scanned by default
Bjørn Mork
bjorn at mork.no
Tue Nov 15 11:32:16 UTC 2011
Michael Biebl <biebl at debian.org> writes:
> I can't see the usability regression.
OK. I certainly don't have the full picture here, and this might be a
bug in some other part of the puzzle. If you can provide any pointers
where to look further, then I'd appreciate that.
But the observed fact on my laptop is that this used to work out of the
box, and it doesn't anymore after upgrading to wheezy. That's why I
labelled it "regression".
> If no one is using the udisks service, why should it be started?
If I am right assuming that the task "scan for partitions and inform the
kernel" is delegated to udisks, then it looks to me as if udisks-daemon
need to run regardless of whether anything uses the udisks service. It
is then not just the dbus interface that depends on udisks-daemon, but
anything using the kernel interfaces.
If my assumption is wrong, then I would appreciate a hint as to where to
look for this. Maybe udev?
My question is really "what service is responsible for calling the
BLKRRPART ioctl whenever a new disk is detected?"
> Btw, the device probing is done by udev and its helpers and not udisks
> itself, ie. if you attach a usb device, and then later start
> udisks-daemon, your statement that those partitions wouldn't be detected
> is simply not true.
The disk is probed and detected regardless of udisks-daemon, but not
its partitions.
> Can you provide further information what kind of problem you are having?
Plugging in my phone (which provides a partitioned hard drive and a CD
over USB), without running udisks-daemon:
bjorn at nemi:~$ ps aux|grep udisk
bjorn 12482 0.0 0.0 8920 852 pts/6 S+ 12:04 0:00 grep udisk
nemi:/home/bjorn# udevadm monitor --kernel --udev
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[12802.743473] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1 (usb)
KERNEL[12802.744379] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0 (usb)
KERNEL[12802.746485] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10 (scsi)
KERNEL[12802.746536] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/scsi_host/host10 (scsi_host)
UDEV [12802.756836] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1 (usb)
UDEV [12802.767990] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0 (usb)
UDEV [12802.768837] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10 (scsi)
UDEV [12802.769338] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/scsi_host/host10 (scsi_host)
KERNEL[12803.749427] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/target10:0:0 (scsi)
KERNEL[12803.749488] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/target10:0:0/10:0:0:0 (scsi)
KERNEL[12803.749584] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/target10:0:0/10:0:0:0/scsi_disk/10:0:0:0 (scsi_disk)
KERNEL[12803.749758] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/target10:0:0/10:0:0:0/scsi_device/10:0:0:0 (scsi_device)
KERNEL[12803.750145] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/target10:0:0/10:0:0:0/scsi_generic/sg2 (scsi_generic)
UDEV [12803.750196] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/target10:0:0 (scsi)
KERNEL[12803.750528] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/target10:0:0/10:0:0:0/bsg/10:0:0:0 (bsg)
KERNEL[12803.750733] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/target10:0:0/10:0:0:1 (scsi)
KERNEL[12803.752976] add /devices/virtual/bdi/8:16 (bdi)
KERNEL[12803.753888] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/target10:0:0/10:0:0:0/block/sdb (block)
KERNEL[12803.757430] change /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/target10:0:0/10:0:0:0/block/sdb (block)
KERNEL[12803.759888] add /devices/virtual/bdi/11:1 (bdi)
KERNEL[12803.760836] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/target10:0:0/10:0:0:1/block/sr1 (block)
KERNEL[12803.761293] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/target10:0:0/10:0:0:1/scsi_device/10:0:0:1 (scsi_device)
KERNEL[12803.761938] change /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/target10:0:0/10:0:0:1/block/sr1 (block)
KERNEL[12803.762624] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/target10:0:0/10:0:0:1/scsi_generic/sg3 (scsi_generic)
KERNEL[12803.762901] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/target10:0:0/10:0:0:1/bsg/10:0:0:1 (bsg)
UDEV [12803.768524] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/target10:0:0/10:0:0:1 (scsi)
UDEV [12803.769526] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/target10:0:0/10:0:0:0 (scsi)
UDEV [12803.771572] add /devices/virtual/bdi/8:16 (bdi)
UDEV [12803.771605] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/target10:0:0/10:0:0:1/scsi_device/10:0:0:1 (scsi_device)
UDEV [12803.771625] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/target10:0:0/10:0:0:0/scsi_disk/10:0:0:0 (scsi_disk)
UDEV [12803.772237] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/target10:0:0/10:0:0:1/bsg/10:0:0:1 (bsg)
UDEV [12803.773005] add /devices/virtual/bdi/11:1 (bdi)
UDEV [12803.776060] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/target10:0:0/10:0:0:0/scsi_device/10:0:0:0 (scsi_device)
UDEV [12803.777941] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/target10:0:0/10:0:0:0/scsi_generic/sg2 (scsi_generic)
UDEV [12803.779058] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/target10:0:0/10:0:0:0/bsg/10:0:0:0 (bsg)
UDEV [12803.780405] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/target10:0:0/10:0:0:1/scsi_generic/sg3 (scsi_generic)
UDEV [12803.791858] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/target10:0:0/10:0:0:1/block/sr1 (block)
UDEV [12803.814886] change /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/target10:0:0/10:0:0:1/block/sr1 (block)
UDEV [12803.851827] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/target10:0:0/10:0:0:0/block/sdb (block)
UDEV [12803.865867] change /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host10/target10:0:0/10:0:0:0/block/sdb (block)
(Note that the events are repeated because the phone reenumerates after
selecting "hard disk mode". Please ignore this)
As you can see, no partitions on sdb there and neither sdb nor its
partitions are detected by the kernel:
bjorn at nemi:~$ cat /proc/partitions
major minor #blocks name
8 0 125034840 sda
8 1 129724 sda1
8 2 124904988 sda2
254 0 124903960 dm-0
254 1 119668736 dm-1
254 2 5234688 dm-2
I see that udev has assigned the device file to the "floppy" group
though... That might be the real cause for my problems? Didn't notice
this before:
bjorn at nemi:~$ ls -l /dev/sdb*
brw-rw---- 1 root floppy 8, 16 Nov 15 12:07 /dev/sdb
Running udisks --dump at this point will *not* find any partitions
either (as expected):
========================================================================
Showing information for /org/freedesktop/UDisks/devices/dm_2d0
native-path: /sys/devices/virtual/block/dm-0
device: 254:0
device-file: /dev/dm-0
presentation: /dev/dm-0
detected at: Tue 15 Nov 2011 12:13:05 PM CET
system internal: 1
removable: 0
has media: 1 (detected at Tue 15 Nov 2011 12:13:05 PM CET)
detects change: 0
detection by polling: 0
detection inhibitable: 0
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 1
presentation name:
presentation icon:
automount hint:
size: 127901655040
block size: 512
job underway: no
usage:
type:
version:
uuid:
label:
drive:
vendor:
model:
revision:
serial:
WWN:
detachable: 0
can spindown: 0
rotational media: Yes, unknown rate
write-cache: unknown
ejectable: 0
adapter: Unknown
ports:
similar devices:
media:
compat:
interface: (unknown)
if speed: (unknown)
ATA SMART: not available
========================================================================
Showing information for /org/freedesktop/UDisks/devices/dm_2d1
native-path: /sys/devices/virtual/block/dm-1
device: 254:1
device-file: /dev/dm-1
presentation: /dev/dm-1
detected at: Tue 15 Nov 2011 12:13:05 PM CET
system internal: 1
removable: 0
has media: 1 (detected at Tue 15 Nov 2011 12:13:05 PM CET)
detects change: 0
detection by polling: 0
detection inhibitable: 0
detection inhibited: 0
is read only: 0
is mounted: 1
mount paths: /
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 1
presentation name:
presentation icon:
automount hint:
size: 122540785664
block size: 512
job underway: no
usage:
type:
version:
uuid:
label:
drive:
vendor:
model:
revision:
serial:
WWN:
detachable: 0
can spindown: 0
rotational media: Yes, unknown rate
write-cache: unknown
ejectable: 0
adapter: Unknown
ports:
similar devices:
media:
compat:
interface: (unknown)
if speed: (unknown)
ATA SMART: not available
========================================================================
Showing information for /org/freedesktop/UDisks/devices/dm_2d2
native-path: /sys/devices/virtual/block/dm-2
device: 254:2
device-file: /dev/dm-2
presentation: /dev/dm-2
detected at: Tue 15 Nov 2011 12:13:05 PM CET
system internal: 1
removable: 0
has media: 1 (detected at Tue 15 Nov 2011 12:13:05 PM CET)
detects change: 0
detection by polling: 0
detection inhibitable: 0
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 1
presentation name:
presentation icon:
automount hint:
size: 5360320512
block size: 512
job underway: no
usage:
type:
version:
uuid:
label:
drive:
vendor:
model:
revision:
serial:
WWN:
detachable: 0
can spindown: 0
rotational media: Yes, unknown rate
write-cache: unknown
ejectable: 0
adapter: Unknown
ports:
similar devices:
media:
compat:
interface: (unknown)
if speed: (unknown)
ATA SMART: not available
========================================================================
Showing information for /org/freedesktop/UDisks/devices/sda
native-path: /sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda
device: 8:0
device-file: /dev/sda
presentation: /dev/sda
by-id: /dev/disk/by-id/ata-SAMSUNG_MMCQE28G8MUP-0VA_SE838B4464
by-id: /dev/disk/by-id/scsi-SATA_SAMSUNG_MMCQE28SE838B4464
by-path: /dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0
detected at: Tue 15 Nov 2011 12:13:05 PM CET
system internal: 1
removable: 0
has media: 1 (detected at Tue 15 Nov 2011 12:13:05 PM CET)
detects change: 0
detection by polling: 0
detection inhibitable: 0
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 0
presentation name:
presentation icon:
automount hint:
size: 128035676160
block size: 512
job underway: no
usage:
type:
version:
uuid:
label:
partition table:
scheme: mbr
count: 2
drive:
vendor: ATA
model: SAMSUNG MMCQE28G8MUP-0VA
revision: VAM0DLQ1
serial: SE838B4464
WWN:
detachable: 0
can spindown: 1
rotational media: No
write-cache: enabled
ejectable: 0
adapter: /org/freedesktop/UDisks/adapters/0000_3a00_3a1f_2e2
ports:
/org/freedesktop/UDisks/adapters/0000_3a00_3a1f_2e2/host0
similar devices:
media:
compat:
interface: ata
if speed: (unknown)
ATA SMART: Data not collected
========================================================================
Showing information for /org/freedesktop/UDisks/devices/sda1
native-path: /sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1
device: 8:1
device-file: /dev/sda1
presentation: /dev/sda1
by-id: /dev/disk/by-id/ata-SAMSUNG_MMCQE28G8MUP-0VA_SE838B4464-part1
by-id: /dev/disk/by-id/scsi-SATA_SAMSUNG_MMCQE28SE838B4464-part1
by-id: /dev/disk/by-uuid/0b7e7b52-e5cd-49b8-a304-2bc5f9b7f2b5
by-path: /dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0-part1
detected at: Tue 15 Nov 2011 12:13:05 PM CET
system internal: 1
removable: 0
has media: 1 (detected at Tue 15 Nov 2011 12:13:05 PM CET)
detects change: 0
detection by polling: 0
detection inhibitable: 0
detection inhibited: 0
is read only: 0
is mounted: 1
mount paths: /boot
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 0
presentation name:
presentation icon:
automount hint:
size: 132837376
block size: 512
job underway: no
usage: filesystem
type: ext2
version: 1.0
uuid: 0b7e7b52-e5cd-49b8-a304-2bc5f9b7f2b5
label:
partition:
part of: /org/freedesktop/UDisks/devices/sda
scheme: mbr
number: 1
type: 0x83
flags: boot
offset: 131072
alignment offset: 0
size: 132837376
label:
uuid:
========================================================================
Showing information for /org/freedesktop/UDisks/devices/sda2
native-path: /sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda2
device: 8:2
device-file: /dev/sda2
presentation: /dev/sda2
by-id: /dev/disk/by-id/ata-SAMSUNG_MMCQE28G8MUP-0VA_SE838B4464-part2
by-id: /dev/disk/by-id/scsi-SATA_SAMSUNG_MMCQE28SE838B4464-part2
by-id: /dev/disk/by-uuid/11bdb12d-56cf-4fd1-af2a-e0432b55a8e3
by-path: /dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0-part2
detected at: Tue 15 Nov 2011 12:13:05 PM CET
system internal: 1
removable: 0
has media: 1 (detected at Tue 15 Nov 2011 12:13:05 PM CET)
detects change: 0
detection by polling: 0
detection inhibitable: 0
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 0
presentation name:
presentation icon:
automount hint:
size: 127902707712
block size: 512
job underway: no
usage: crypto
type: crypto_LUKS
version: 1
uuid: 11bdb12d-56cf-4fd1-af2a-e0432b55a8e3
label:
luks device:
holder: /org/freedesktop/UDisks/devices/dm_2d0
partition:
part of: /org/freedesktop/UDisks/devices/sda
scheme: mbr
number: 2
type: 0x83
flags:
offset: 132968448
alignment offset: 0
size: 127902707712
label:
uuid:
========================================================================
Showing information for /org/freedesktop/UDisks/devices/sdb
native-path: /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host11/target11:0:0/11:0:0:0/block/sdb
device: 8:16
device-file: /dev/sdb
presentation: /dev/sdb
by-id: /dev/disk/by-id/usb-SEMC_Mass_Storage_43423531314D42573144-0:0
by-path: /dev/disk/by-path/pci-0000:00:1d.7-usb-0:1:1.0-scsi-0:0:0:0
detected at: Tue 15 Nov 2011 12:13:05 PM CET
system internal: 0
removable: 1
has media: 1 (detected at Tue 15 Nov 2011 12:13:05 PM CET)
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: 0
presentation nopolicy: 0
presentation name:
presentation icon:
automount hint:
size: 15931539456
block size: 512
job underway: no
usage:
type:
version:
uuid:
label:
partition table:
scheme:
count: 1
drive:
vendor: SEMC
model: Mass Storage
revision: 0001
serial: 43423531314D42573144
WWN:
detachable: 1
can spindown: 0
rotational media: Yes, unknown rate
write-cache: unknown
ejectable: 0
adapter: Unknown
ports:
similar devices:
media:
compat:
interface: usb
if speed: 480000000 bits/s
ATA SMART: not available
========================================================================
Showing information for /org/freedesktop/UDisks/devices/sr0
native-path: /sys/devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0/block/sr0
device: 11:0
device-file: /dev/sr0
presentation: /dev/sr0
by-id: /dev/disk/by-id/ata-MATSHITADVD-RAM_UJ-844
by-path: /dev/disk/by-path/pci-0000:00:1f.2-scsi-1:0:0:0
detected at: Tue 15 Nov 2011 12:13:05 PM CET
system internal: 0
removable: 1
has media: 0
detects change: 1
detection by polling: 0
detection inhibitable: 1
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 0
presentation name:
presentation icon:
automount hint:
size: 0
block size: 0
job underway: no
usage:
type:
version:
uuid:
label:
drive:
vendor: MATSHITA
model: MATSHITADVD-RAM UJ-844
revision: RC02
serial:
WWN:
detachable: 0
can spindown: 0
rotational media: Yes, unknown rate
write-cache: unknown
ejectable: 1
adapter: /org/freedesktop/UDisks/adapters/0000_3a00_3a1f_2e2
ports:
/org/freedesktop/UDisks/adapters/0000_3a00_3a1f_2e2/host1
similar devices:
media:
compat: optical_cd optical_cd_r optical_cd_rw optical_dvd optical_dvd_plus_r optical_dvd_plus_rw optical_dvd_r optical_dvd_ram optical_dvd_rw optical_mrw optical_mrw_w
interface: scsi
if speed: (unknown)
ATA SMART: not available
========================================================================
Showing information for /org/freedesktop/UDisks/devices/sr1
native-path: /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host11/target11:0:0/11:0:0:1/block/sr1
device: 11:1
device-file: /dev/sr1
presentation: /dev/sr1
by-id: /dev/disk/by-id/usb-SEMC_CD-ROM_43423531314D42573144-0:1
by-path: /dev/disk/by-path/pci-0000:00:1d.7-usb-0:1:1.0-scsi-0:0:0:1
detected at: Tue 15 Nov 2011 12:13:05 PM CET
system internal: 0
removable: 1
has media: 0
detects change: 1
detection by polling: 0
detection inhibitable: 1
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 0
presentation name:
presentation icon:
automount hint:
size: 0
block size: 0
job underway: no
usage:
type:
version:
uuid:
label:
drive:
vendor: SEMC
model: CD-ROM
revision: 0001
serial: 43423531314D42573144
WWN:
detachable: 1
can spindown: 0
rotational media: Yes, unknown rate
write-cache: unknown
ejectable: 1
adapter: Unknown
ports:
similar devices:
media:
compat: optical_cd optical_mrw optical_mrw_w
interface: usb
if speed: 480000000 bits/s
ATA SMART: not available
========================================================================
But running udisks has the side effect that udisks-daemon is started,
and that will trigger these interesting events:
KERNEL[13123.172428] change /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host11/target11:0:0/11:0:0:0/block/sdb (block)
KERNEL[13123.187854] change /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host11/target11:0:0/11:0:0:0/block/sdb (block)
KERNEL[13123.190016] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host11/target11:0:0/11:0:0:0/block/sdb/sdb1 (block)
UDEV [13123.286163] change /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host11/target11:0:0/11:0:0:0/block/sdb (block)
UDEV [13123.355741] change /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host11/target11:0:0/11:0:0:0/block/sdb (block)
UDEV [13123.501462] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host11/target11:0:0/11:0:0:0/block/sdb/sdb1 (block)
bjorn at nemi:~$ ps aux|grep udisk
root 13167 0.0 0.0 127444 3828 ? Sl 12:13 0:00 /usr/lib/udisks/udisks-daemon
root 13168 0.0 0.0 45108 764 ? S 12:13 0:00 udisks-daemon: polling /dev/sdb
And now the partition device is of course also there, as expected from
the above udev output:
bjorn at nemi:~$ ls -l /dev/sdb*
brw-rw---- 1 root floppy 8, 16 Nov 15 12:13 /dev/sdb
brw-rw---- 1 root floppy 8, 17 Nov 15 12:13 /dev/sdb1
And running udisks --dump a second time shows it as well:
========================================================================
Showing information for /org/freedesktop/UDisks/devices/dm_2d0
native-path: /sys/devices/virtual/block/dm-0
device: 254:0
device-file: /dev/dm-0
presentation: /dev/dm-0
detected at: Tue 15 Nov 2011 12:13:05 PM CET
system internal: 1
removable: 0
has media: 1 (detected at Tue 15 Nov 2011 12:13:05 PM CET)
detects change: 0
detection by polling: 0
detection inhibitable: 0
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 1
presentation name:
presentation icon:
automount hint:
size: 127901655040
block size: 512
job underway: no
usage:
type:
version:
uuid:
label:
drive:
vendor:
model:
revision:
serial:
WWN:
detachable: 0
can spindown: 0
rotational media: Yes, unknown rate
write-cache: unknown
ejectable: 0
adapter: Unknown
ports:
similar devices:
media:
compat:
interface: (unknown)
if speed: (unknown)
ATA SMART: not available
========================================================================
Showing information for /org/freedesktop/UDisks/devices/dm_2d1
native-path: /sys/devices/virtual/block/dm-1
device: 254:1
device-file: /dev/dm-1
presentation: /dev/dm-1
detected at: Tue 15 Nov 2011 12:13:05 PM CET
system internal: 1
removable: 0
has media: 1 (detected at Tue 15 Nov 2011 12:13:05 PM CET)
detects change: 0
detection by polling: 0
detection inhibitable: 0
detection inhibited: 0
is read only: 0
is mounted: 1
mount paths: /
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 1
presentation name:
presentation icon:
automount hint:
size: 122540785664
block size: 512
job underway: no
usage:
type:
version:
uuid:
label:
drive:
vendor:
model:
revision:
serial:
WWN:
detachable: 0
can spindown: 0
rotational media: Yes, unknown rate
write-cache: unknown
ejectable: 0
adapter: Unknown
ports:
similar devices:
media:
compat:
interface: (unknown)
if speed: (unknown)
ATA SMART: not available
========================================================================
Showing information for /org/freedesktop/UDisks/devices/dm_2d2
native-path: /sys/devices/virtual/block/dm-2
device: 254:2
device-file: /dev/dm-2
presentation: /dev/dm-2
detected at: Tue 15 Nov 2011 12:13:05 PM CET
system internal: 1
removable: 0
has media: 1 (detected at Tue 15 Nov 2011 12:13:05 PM CET)
detects change: 0
detection by polling: 0
detection inhibitable: 0
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 1
presentation name:
presentation icon:
automount hint:
size: 5360320512
block size: 512
job underway: no
usage:
type:
version:
uuid:
label:
drive:
vendor:
model:
revision:
serial:
WWN:
detachable: 0
can spindown: 0
rotational media: Yes, unknown rate
write-cache: unknown
ejectable: 0
adapter: Unknown
ports:
similar devices:
media:
compat:
interface: (unknown)
if speed: (unknown)
ATA SMART: not available
========================================================================
Showing information for /org/freedesktop/UDisks/devices/sda
native-path: /sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda
device: 8:0
device-file: /dev/sda
presentation: /dev/sda
by-id: /dev/disk/by-id/ata-SAMSUNG_MMCQE28G8MUP-0VA_SE838B4464
by-id: /dev/disk/by-id/scsi-SATA_SAMSUNG_MMCQE28SE838B4464
by-path: /dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0
detected at: Tue 15 Nov 2011 12:13:05 PM CET
system internal: 1
removable: 0
has media: 1 (detected at Tue 15 Nov 2011 12:13:05 PM CET)
detects change: 0
detection by polling: 0
detection inhibitable: 0
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 0
presentation name:
presentation icon:
automount hint:
size: 128035676160
block size: 512
job underway: no
usage:
type:
version:
uuid:
label:
partition table:
scheme: mbr
count: 2
drive:
vendor: ATA
model: SAMSUNG MMCQE28G8MUP-0VA
revision: VAM0DLQ1
serial: SE838B4464
WWN:
detachable: 0
can spindown: 1
rotational media: No
write-cache: enabled
ejectable: 0
adapter: /org/freedesktop/UDisks/adapters/0000_3a00_3a1f_2e2
ports:
/org/freedesktop/UDisks/adapters/0000_3a00_3a1f_2e2/host0
similar devices:
media:
compat:
interface: ata
if speed: (unknown)
ATA SMART: Updated at Tue 15 Nov 2011 12:13:35 PM CET
overall assessment: Good
===============================================================================
Attribute Current|Worst|Threshold Status Value Type Updates
===============================================================================
power-on-hours 98| 98| 0 n/a 319.5 days Old-age Online
power-cycle-count 96| 96| 0 n/a 3435 Old-age Online
attribute-175 99| 99| 11 good 0 Old-age Online
attribute-176 100|100| 11 good 0 Old-age Online
attribute-177 99| 99| 23 good 0 Pre-fail Online
attribute-178 68| 68| 11 good 0 Pre-fail Online
attribute-179 97| 97| 10 good 0 Pre-fail Online
attribute-180 97| 97| 10 good 0 Pre-fail Online
attribute-181 99| 99| 10 good 0 Old-age Online
attribute-182 100|100| 10 good 0 Old-age Online
attribute-183 99| 99| 10 good 0 Pre-fail Online
reported-uncorrect 100|100| 0 n/a 0 sectors Pre-fail Online
hardware-ecc-recovered 200|200| 0 n/a 0 Old-age Online
offline-uncorrectable 100|100| 0 n/a 0 sectors Old-age Offline
udma-crc-error-count 253|253| 0 n/a 0 Old-age Online
power-on-seconds-2 199|199| 0 n/a 0 Old-age Online
uncorrectable-ecc-count 100|100| 0 n/a 0 sectors Old-age Online
good-block-rate 100|100| 0 n/a 0 Old-age Online
attribute-236 99| 99| 0 n/a 0 Old-age Online
attribute-237 99| 99| 0 n/a 0 Old-age Online
attribute-238 100|100| 0 n/a 0 Old-age Online
========================================================================
Showing information for /org/freedesktop/UDisks/devices/sda1
native-path: /sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1
device: 8:1
device-file: /dev/sda1
presentation: /dev/sda1
by-id: /dev/disk/by-id/ata-SAMSUNG_MMCQE28G8MUP-0VA_SE838B4464-part1
by-id: /dev/disk/by-id/scsi-SATA_SAMSUNG_MMCQE28SE838B4464-part1
by-id: /dev/disk/by-uuid/0b7e7b52-e5cd-49b8-a304-2bc5f9b7f2b5
by-path: /dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0-part1
detected at: Tue 15 Nov 2011 12:13:05 PM CET
system internal: 1
removable: 0
has media: 1 (detected at Tue 15 Nov 2011 12:13:05 PM CET)
detects change: 0
detection by polling: 0
detection inhibitable: 0
detection inhibited: 0
is read only: 0
is mounted: 1
mount paths: /boot
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 0
presentation name:
presentation icon:
automount hint:
size: 132837376
block size: 512
job underway: no
usage: filesystem
type: ext2
version: 1.0
uuid: 0b7e7b52-e5cd-49b8-a304-2bc5f9b7f2b5
label:
partition:
part of: /org/freedesktop/UDisks/devices/sda
scheme: mbr
number: 1
type: 0x83
flags: boot
offset: 131072
alignment offset: 0
size: 132837376
label:
uuid:
========================================================================
Showing information for /org/freedesktop/UDisks/devices/sda2
native-path: /sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda2
device: 8:2
device-file: /dev/sda2
presentation: /dev/sda2
by-id: /dev/disk/by-id/ata-SAMSUNG_MMCQE28G8MUP-0VA_SE838B4464-part2
by-id: /dev/disk/by-id/scsi-SATA_SAMSUNG_MMCQE28SE838B4464-part2
by-id: /dev/disk/by-uuid/11bdb12d-56cf-4fd1-af2a-e0432b55a8e3
by-path: /dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0-part2
detected at: Tue 15 Nov 2011 12:13:05 PM CET
system internal: 1
removable: 0
has media: 1 (detected at Tue 15 Nov 2011 12:13:05 PM CET)
detects change: 0
detection by polling: 0
detection inhibitable: 0
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 0
presentation name:
presentation icon:
automount hint:
size: 127902707712
block size: 512
job underway: no
usage: crypto
type: crypto_LUKS
version: 1
uuid: 11bdb12d-56cf-4fd1-af2a-e0432b55a8e3
label:
luks device:
holder: /org/freedesktop/UDisks/devices/dm_2d0
partition:
part of: /org/freedesktop/UDisks/devices/sda
scheme: mbr
number: 2
type: 0x83
flags:
offset: 132968448
alignment offset: 0
size: 127902707712
label:
uuid:
========================================================================
Showing information for /org/freedesktop/UDisks/devices/sdb
native-path: /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host11/target11:0:0/11:0:0:0/block/sdb
device: 8:16
device-file: /dev/sdb
presentation: /dev/sdb
by-id: /dev/disk/by-id/usb-SEMC_Mass_Storage_43423531314D42573144-0:0
by-path: /dev/disk/by-path/pci-0000:00:1d.7-usb-0:1:1.0-scsi-0:0:0:0
detected at: Tue 15 Nov 2011 12:13:05 PM CET
system internal: 0
removable: 1
has media: 1 (detected at Tue 15 Nov 2011 12:13:05 PM CET)
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: 0
presentation nopolicy: 0
presentation name:
presentation icon:
automount hint:
size: 15931539456
block size: 512
job underway: no
usage:
type:
version:
uuid:
label:
partition table:
scheme: mbr
count: 1
drive:
vendor: SEMC
model: Mass Storage
revision: 0001
serial: 43423531314D42573144
WWN:
detachable: 1
can spindown: 0
rotational media: Yes, unknown rate
write-cache: unknown
ejectable: 0
adapter: Unknown
ports:
similar devices:
media:
compat:
interface: usb
if speed: 480000000 bits/s
ATA SMART: not available
========================================================================
Showing information for /org/freedesktop/UDisks/devices/sdb1
native-path: /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host11/target11:0:0/11:0:0:0/block/sdb/sdb1
device: 8:17
device-file: /dev/sdb1
presentation: /dev/sdb1
by-id: /dev/disk/by-id/usb-SEMC_Mass_Storage_43423531314D42573144-0:0-part1
by-id: /dev/disk/by-uuid/6536-6661
by-path: /dev/disk/by-path/pci-0000:00:1d.7-usb-0:1:1.0-scsi-0:0:0:0-part1
detected at: Tue 15 Nov 2011 12:13:06 PM CET
system internal: 0
removable: 0
has media: 1 (detected at Tue 15 Nov 2011 12:13:06 PM CET)
detects change: 0
detection by polling: 0
detection inhibitable: 0
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 0
presentation name:
presentation icon:
automount hint:
size: 15927345152
block size: 512
job underway: no
usage: filesystem
type: vfat
version: FAT32
uuid: 6536-6661
label:
partition:
part of: /org/freedesktop/UDisks/devices/sdb
scheme: mbr
number: 1
type: 0x0c
flags:
offset: 4194304
alignment offset: 0
size: 15927345152
label:
uuid:
========================================================================
Showing information for /org/freedesktop/UDisks/devices/sr0
native-path: /sys/devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0/block/sr0
device: 11:0
device-file: /dev/sr0
presentation: /dev/sr0
by-id: /dev/disk/by-id/ata-MATSHITADVD-RAM_UJ-844
by-path: /dev/disk/by-path/pci-0000:00:1f.2-scsi-1:0:0:0
detected at: Tue 15 Nov 2011 12:13:05 PM CET
system internal: 0
removable: 1
has media: 0
detects change: 1
detection by polling: 0
detection inhibitable: 1
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 0
presentation name:
presentation icon:
automount hint:
size: 0
block size: 0
job underway: no
usage:
type:
version:
uuid:
label:
drive:
vendor: MATSHITA
model: MATSHITADVD-RAM UJ-844
revision: RC02
serial:
WWN:
detachable: 0
can spindown: 0
rotational media: Yes, unknown rate
write-cache: unknown
ejectable: 1
adapter: /org/freedesktop/UDisks/adapters/0000_3a00_3a1f_2e2
ports:
/org/freedesktop/UDisks/adapters/0000_3a00_3a1f_2e2/host1
similar devices:
media:
compat: optical_cd optical_cd_r optical_cd_rw optical_dvd optical_dvd_plus_r optical_dvd_plus_rw optical_dvd_r optical_dvd_ram optical_dvd_rw optical_mrw optical_mrw_w
interface: scsi
if speed: (unknown)
ATA SMART: not available
========================================================================
Showing information for /org/freedesktop/UDisks/devices/sr1
native-path: /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host11/target11:0:0/11:0:0:1/block/sr1
device: 11:1
device-file: /dev/sr1
presentation: /dev/sr1
by-id: /dev/disk/by-id/usb-SEMC_CD-ROM_43423531314D42573144-0:1
by-path: /dev/disk/by-path/pci-0000:00:1d.7-usb-0:1:1.0-scsi-0:0:0:1
detected at: Tue 15 Nov 2011 12:13:05 PM CET
system internal: 0
removable: 1
has media: 0
detects change: 1
detection by polling: 0
detection inhibitable: 1
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 0
presentation name:
presentation icon:
automount hint:
size: 0
block size: 0
job underway: no
usage:
type:
version:
uuid:
label:
drive:
vendor: SEMC
model: CD-ROM
revision: 0001
serial: 43423531314D42573144
WWN:
detachable: 1
can spindown: 0
rotational media: Yes, unknown rate
write-cache: unknown
ejectable: 1
adapter: Unknown
ports:
similar devices:
media:
compat: optical_cd optical_mrw optical_mrw_w
interface: usb
if speed: 480000000 bits/s
ATA SMART: not available
========================================================================
More information about the Pkg-utopia-maintainers
mailing list