Summary: | Handle more complicated partitioning schemes | ||
---|---|---|---|
Product: | udisks | Reporter: | cz172638 |
Component: | detection | Assignee: | David Zeuthen (not reading bugmail) <zeuthen> |
Status: | NEW --- | QA Contact: | |
Severity: | major | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
palimpsest screenshot
gvfs mount udevadm export udisks dump |
Created attachment 36162 [details]
gvfs mount
Created attachment 36163 [details]
udevadm export
Created attachment 36164 [details]
udisks dump
Updating title to be more precise. The first step to making this work properly in udisks is to check if blkid(8) nicely supports it as this is what we use for partition table detection in udisks 2.0. |
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.
Created attachment 36161 [details] palimpsest screenshot slices and partitions not detected according to fdisk, parted or dmesg output. extended partition shows three partitons more in gnome disk utility (see attachment) should be like this: +-------+---------------+------+--------------+ | sda1 | sda2 | sda3 | sda4 | | +---------------+ +--------------+ | |sda8|sda9|sda10| |sda5|sda6|sda7| +-------+---------------+------+--------------+ outputs: ############## DMESG ###################################### scsi 0:0:0:0: Direct-Access ATA HITACHI HTS72321 FC2Z PQ: 0 ANSI: 5 sd 0:0:0:0: [sda] 312581808 512-byte logical blocks: (160 GB/149 GiB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 > sda2: <solaris: [s0] sda8 [s2] sda9 [s8] sda10 > sd 0:0:0:0: [sda] Attached SCSI disk ############## PARTED ###################################### parted -l /dev/sda Model: ATA HITACHI HTS72321 (scsi) Disk /dev/sda: 160GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 32.3kB 16.1GB 16.1GB primary ntfs boot 2 16.1GB 37.6GB 21.5GB primary 3 37.6GB 59.1GB 21.5GB primary 4 59.1GB 160GB 101GB extended 5 59.1GB 59.6GB 534MB logical ext2 6 59.6GB 68.2GB 8601MB logical linux-swap(v1) 7 68.2GB 160GB 91.8GB logical ext4 ############## FDISK ###################################### fdisk -l /dev/sda [sudo] password for jkastner: Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000869b5 Device Boot Start End Blocks Id System /dev/sda1 * 1 1959 15732328+ 7 HPFS/NTFS /dev/sda2 1959 4571 20979000 bf Solaris /dev/sda3 4571 7183 20979000 af HFS / HFS+ /dev/sda4 7183 19457 98597520 5 Extended /dev/sda5 7183 7248 521608+ 83 Linux /dev/sda6 7248 8293 8399128+ 82 Linux swap / Solaris /dev/sda7 8293 19457 89676688+ 83 Linux ######################## RPM ###################### rpm -q udisks gvfs libatasmart udisks-1.0.1-1.el6.x86_64 gvfs-1.4.3-9.el6.x86_64 libatasmart-0.17-3.el6.x86_64 ########### MOUNTINFO ####################### cat /proc/self/mountinfo 17 22 0:3 / /proc rw,relatime - proc /proc rw 18 22 0:0 / /sys rw,relatime - sysfs /sys rw,seclabel 19 22 0:5 / /dev rw,relatime - devtmpfs udev rw,seclabel,size=1901548k,nr_inodes=475387,mode=755 20 19 0:11 / /dev/pts rw,relatime - devpts devpts rw,seclabel,gid=5,mode=620,ptmxmode=000 21 19 0:17 / /dev/shm rw,relatime - tmpfs tmpfs rw,seclabel 22 1 8:7 / / rw,relatime - ext4 /dev/sda7 rw,seclabel,barrier=1,data=ordered 23 22 0:14 / /selinux rw,relatime - selinuxfs none rw 24 17 0:15 / /proc/bus/usb rw,relatime - usbfs /proc/bus/usb rw 25 22 8:5 / /boot rw,relatime - ext2 /dev/sda5 rw,seclabel,errors=continue 26 17 0:18 / /proc/sys/fs/binfmt_misc rw,relatime - binfmt_misc none rw 27 22 0:19 / /var/lib/nfs/rpc_pipefs rw,relatime - rpc_pipefs sunrpc rw 28 22 0:20 / /misc rw,relatime - autofs /etc/auto.misc rw,fd=7,pgrp=1890,timeout=300,minproto=5,maxproto=5,indirect 29 22 0:21 / /net rw,relatime - autofs -hosts rw,fd=13,pgrp=1890,timeout=300,minproto=5,maxproto=5,indirect 30 22 0:22 / /home/username/.gvfs rw,nosuid,nodev,relatime - fuse.gvfs-fuse-daemon gvfs-fuse-daemon rw,user_id=500,group_id=500 ############################### FSTAB ###################################### cat /etc/fstab UUID=ad7edd00-3223-4d5f-82f4-8cb3b99e16e5 / ext4 defaults 1 1 UUID=6d23a269-cf46-4596-8dcf-04bc4082c9ad /boot ext2 defaults 1 2 UUID=bd1bf15f-6ba1-402f-a4d0-4ed4f8250969 swap swap defaults 0 0 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0