Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Nov 2006 21:56:23 -0500
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        Yuri Pankov <y.pankov@irbis.net.ru>
Cc:        FreeBSD GNOME Users <gnome@FreeBSD.org>
Subject:   Re: HEADS UP: More HAL testers needed
Message-ID:  <1162522583.8125.0.camel@shumai.marcuscom.com>
In-Reply-To: <1162521743.7660.5.camel@localhost>
References:  <1162508657.22424.57.camel@shumai.marcuscom.com> <1162521743.7660.5.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-k5xxXBQBo6rfJTtId0/Y
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2006-11-03 at 05:42 +0300, Yuri Pankov wrote:
> 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 an=
y
> > difference is using lshal.  The old output looked something like:
> >=20
> > volume.partition.number =3D 3 (0x3) (int)
> > volume.msdos_part_table_type =3D 165 (0xa5) (int)
> >=20
> > The new style looks like this:
> >=20
> > volume.partition.start =3D 18268346880  (0x440e0da00)  (uint64)
> > volume.partition.media_size =3D 61730726400  (0xe5f702200)  (uint64)
> > volume.partition.type =3D '0xa5'  (string)
> > volume.partition.scheme =3D 'mbr'  (string)
> > volume.partition.number =3D 3  (0x3)  (int)
> >=20
> > I'd be particularly interested with feedback from those that have gpt o=
r
> > 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.
> >=20
> > http://www.marcuscom.com/downloads/patch-hal_volume
> >=20
> > Joe
> >=20
>=20
> After the patch, objects that have volume.is_partition =3D true:
>=20
> udi =3D '/org/freedesktop/Hal/devices/volume_uuid_3A404E42404E04DB'
>   volume.mount.valid_options =3D {'ro', 'noexec'} (string list)
>   org.freedesktop.Hal.Device.Volume.method_execpaths =3D
> {'hal-storage-mount', 'hal-system-storage-unmount',
> 'hal-system-storage-eject'} (string list)
>   org.freedesktop.Hal.Device.Volume.method_signatures =3D {'ssas', 'as',
> 'as'} (string list)
>   org.freedesktop.Hal.Device.Volume.method_names =3D {'Mount', 'Unmount',
> 'Eject'} (string list)
>   info.interfaces =3D {'org.freedesktop.Hal.Device.Volume'} (string list)
>   block.storage_device =3D
> '/org/freedesktop/Hal/devices/storage_serial_3HSBR7H1'  (string)
>   info.product =3D 'system'  (string)
>   info.udi =3D '/org/freedesktop/Hal/devices/volume_uuid_3A404E42404E04DB=
'
> (string)
>   block.is_volume =3D true  (bool)
>   volume.mount_point =3D ''  (string)
>   volume.is_mounted_read_only =3D false  (bool)
>   volume.is_mounted =3D false  (bool)
>   volume.num_blocks =3D 78140097  (0x4a852c1)  (uint64)
>   volume.size =3D 40007729664  (0x950a58200)  (uint64)
>   volume.block_size =3D 512  (0x200)  (uint64)
>   volume.uuid =3D '3A404E42404E04DB'  (string)
>   volume.label =3D 'system'  (string)
>   volume.fsversion =3D '3.1'  (string)
>   volume.fstype =3D 'ntfs'  (string)
>   volume.fsusage =3D 'filesystem'  (string)
>   volume.ignore =3D false  (bool)
>   volume.is_partition =3D true  (bool)
>   volume.is_disc =3D false  (bool)
>   volume.partition.start =3D 32256  (0x7e00)  (uint64)
>   volume.partition.media_size =3D 40007729664  (0x950a58200)  (uint64)
>   volume.partition.type =3D '0x7'  (string)
>   volume.partition.scheme =3D 'mbr'  (string)
>   volume.partition.number =3D 1  (0x1)  (int)
>   block.minor =3D 93  (0x5d)  (int)
>   block.major =3D 0  (0x0)  (int)
>   block.device =3D '/dev/ad0s1'  (string)
>   info.category =3D 'volume'  (string)
>   info.bus =3D 'block'  (string)
>   info.capabilities =3D {'block', 'volume'} (string list)
>   info.parent =3D '/org/freedesktop/Hal/devices/storage_serial_3HSBR7H1'
> (string)
>=20
> udi =3D '/org/freedesktop/Hal/devices/volume_part1_size_250056705024'
>   block.storage_device =3D
> '/org/freedesktop/Hal/devices/storage_serial_3ND1LZMQ'  (string)
>   info.product =3D 'Volume'  (string)
>   info.udi =3D
> '/org/freedesktop/Hal/devices/volume_part1_size_250056705024'  (string)
>   block.is_volume =3D true  (bool)
>   volume.mount_point =3D ''  (string)
>   volume.is_mounted_read_only =3D false  (bool)
>   volume.is_mounted =3D false  (bool)
>   volume.num_blocks =3D 488392002  (0x1d1c4542)  (uint64)
>   volume.size =3D 250056705024  (0x3a388a8400)  (uint64)
>   volume.block_size =3D 512  (0x200)  (uint64)
>   volume.uuid =3D ''  (string)
>   volume.label =3D ''  (string)
>   volume.fstype =3D ''  (string)
>   volume.fsusage =3D 'partitiontable'  (string)
>   volume.ignore =3D true  (bool)
>   volume.is_partition =3D true  (bool)
>   volume.is_disc =3D false  (bool)
>   volume.partition.start =3D 32256  (0x7e00)  (uint64)
>   volume.partition.media_size =3D 250056705024  (0x3a388a8400)  (uint64)
>   volume.partition.type =3D '0xa5'  (string)
>   volume.partition.scheme =3D 'mbr'  (string)
>   volume.partition.number =3D 1  (0x1)  (int)
>   block.minor =3D 95  (0x5f)  (int)
>   block.major =3D 0  (0x0)  (int)
>   block.device =3D '/dev/ad4s1'  (string)
>   info.category =3D 'volume'  (string)
>   info.bus =3D 'block'  (string)
>   info.capabilities =3D {'block', 'volume'} (string list)
>   info.parent =3D '/org/freedesktop/Hal/devices/storage_serial_3ND1LZMQ'
> (string)
>=20
> Everything seems to be correct.

Yes, it does.  According to this you have one NTFS and one FreeBSD
partition.

Joe

--=20
Joe Marcus Clarke
FreeBSD GNOME Team      ::      gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome

--=-k5xxXBQBo6rfJTtId0/Y
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQBFSq/Xb2iPiv4Uz4cRAq0tAJ9ew77fN4VcjpHCjIz2My1suiZKegCgj4q7
mnqCexKz6ogNdHw8YCKmgyM=
=/zPQ
-----END PGP SIGNATURE-----

--=-k5xxXBQBo6rfJTtId0/Y--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1162522583.8125.0.camel>