From owner-freebsd-gnome@FreeBSD.ORG Fri Nov 3 02:42:22 2006 Return-Path: X-Original-To: gnome@FreeBSD.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9066916A403; Fri, 3 Nov 2006 02:42:22 +0000 (UTC) (envelope-from y.pankov@irbis.net.ru) Received: from mail.irbis.net.ru (mail.irbis.net.ru [85.118.141.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC15E43D46; Fri, 3 Nov 2006 02:42:21 +0000 (GMT) (envelope-from y.pankov@irbis.net.ru) Received: from [192.168.0.64] (dial01.irbis.net.ru [192.168.0.64]) by mail.irbis.net.ru (Postfix) with ESMTP id B5BB8627878; Fri, 3 Nov 2006 05:42:18 +0300 (MSK) From: Yuri Pankov To: Joe Marcus Clarke In-Reply-To: <1162508657.22424.57.camel@shumai.marcuscom.com> References: <1162508657.22424.57.camel@shumai.marcuscom.com> Content-Type: text/plain Organization: Irbis Telecommunications, JSC Date: Fri, 03 Nov 2006 05:42:23 +0300 Message-Id: <1162521743.7660.5.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.5/2153/Fri Nov 3 05:10:00 2006 on mail.irbis.net.ru X-Virus-Status: Clean Cc: FreeBSD GNOME Users Subject: Re: HEADS UP: More HAL testers needed X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2006 02:42:22 -0000 On Thu, 2006-11-02 at 18:04 -0500, Joe Marcus Clarke wrote: > I am working to sync our HAL backend up with the latest HAL spec. To > that end, I have added support for displaying more volume.partition > properties. This patch will only affect HAL objects that have the > volume.is_partition property set to TRUE. The only way you'd notice any > difference is using lshal. The old output looked something like: > > volume.partition.number = 3 (0x3) (int) > volume.msdos_part_table_type = 165 (0xa5) (int) > > The new style looks like this: > > volume.partition.start = 18268346880 (0x440e0da00) (uint64) > volume.partition.media_size = 61730726400 (0xe5f702200) (uint64) > volume.partition.type = '0xa5' (string) > volume.partition.scheme = 'mbr' (string) > volume.partition.number = 3 (0x3) (int) > > I'd be particularly interested with feedback from those that have gpt or > apple schemes, but feedback from mbr users is just as good (i.e. to let > me know it works on more that just my system). Thanks. > > http://www.marcuscom.com/downloads/patch-hal_volume > > Joe > After the patch, objects that have volume.is_partition = true: udi = '/org/freedesktop/Hal/devices/volume_uuid_3A404E42404E04DB' volume.mount.valid_options = {'ro', 'noexec'} (string list) org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-storage-mount', 'hal-system-storage-unmount', 'hal-system-storage-eject'} (string list) org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as', 'as'} (string list) org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount', 'Eject'} (string list) info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list) block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_3HSBR7H1' (string) info.product = 'system' (string) info.udi = '/org/freedesktop/Hal/devices/volume_uuid_3A404E42404E04DB' (string) block.is_volume = true (bool) volume.mount_point = '' (string) volume.is_mounted_read_only = false (bool) volume.is_mounted = false (bool) volume.num_blocks = 78140097 (0x4a852c1) (uint64) volume.size = 40007729664 (0x950a58200) (uint64) volume.block_size = 512 (0x200) (uint64) volume.uuid = '3A404E42404E04DB' (string) volume.label = 'system' (string) volume.fsversion = '3.1' (string) volume.fstype = 'ntfs' (string) volume.fsusage = 'filesystem' (string) volume.ignore = false (bool) volume.is_partition = true (bool) volume.is_disc = false (bool) volume.partition.start = 32256 (0x7e00) (uint64) volume.partition.media_size = 40007729664 (0x950a58200) (uint64) volume.partition.type = '0x7' (string) volume.partition.scheme = 'mbr' (string) volume.partition.number = 1 (0x1) (int) block.minor = 93 (0x5d) (int) block.major = 0 (0x0) (int) block.device = '/dev/ad0s1' (string) info.category = 'volume' (string) info.bus = 'block' (string) info.capabilities = {'block', 'volume'} (string list) info.parent = '/org/freedesktop/Hal/devices/storage_serial_3HSBR7H1' (string) udi = '/org/freedesktop/Hal/devices/volume_part1_size_250056705024' block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_3ND1LZMQ' (string) info.product = 'Volume' (string) info.udi = '/org/freedesktop/Hal/devices/volume_part1_size_250056705024' (string) block.is_volume = true (bool) volume.mount_point = '' (string) volume.is_mounted_read_only = false (bool) volume.is_mounted = false (bool) volume.num_blocks = 488392002 (0x1d1c4542) (uint64) volume.size = 250056705024 (0x3a388a8400) (uint64) volume.block_size = 512 (0x200) (uint64) volume.uuid = '' (string) volume.label = '' (string) volume.fstype = '' (string) volume.fsusage = 'partitiontable' (string) volume.ignore = true (bool) volume.is_partition = true (bool) volume.is_disc = false (bool) volume.partition.start = 32256 (0x7e00) (uint64) volume.partition.media_size = 250056705024 (0x3a388a8400) (uint64) volume.partition.type = '0xa5' (string) volume.partition.scheme = 'mbr' (string) volume.partition.number = 1 (0x1) (int) block.minor = 95 (0x5f) (int) block.major = 0 (0x0) (int) block.device = '/dev/ad4s1' (string) info.category = 'volume' (string) info.bus = 'block' (string) info.capabilities = {'block', 'volume'} (string list) info.parent = '/org/freedesktop/Hal/devices/storage_serial_3ND1LZMQ' (string) Everything seems to be correct. Yuri