HAL doesn't show root partition as mounted?
Paul Betts
paul.betts at gmail.com
Sun Apr 15 17:56:05 PDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
It appears that HAL doesn't show very consistent information for the
partition mounted as the root filesystem; it says that it is mounted
under the linux.fstab section, but unmounted under the volume section
(which my app is using). Here's the relevant parts of lshal -l
udi =
'/org/freedesktop/Hal/devices/volume_uuid_cde76234_4e6e_4954_aa8c_c9ec2a55c2d0'
volume.unmount.valid_options = {'lazy'} (string list)
volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime',
'nodiratime', 'noexec', 'quiet', 'remount', 'exec', 'data='} (string list)
volume.ignore = true (bool)
info.udi =
'/org/freedesktop/Hal/devices/volume_uuid_cde76234_4e6e_4954_aa8c_c9ec2a55c2d0'
(string)
linux.fstab.options = 'defaults,errors=remount-ro,user_xattr' (string)
linux.fstab.mountpoint = '/' (string)
info.capabilities = {'volume', 'block'} (string list)
info.category = 'volume' (string)
volume.is_mounted_read_only = false (bool)
volume.is_mounted = false (bool)
volume.mount_point = '' (string)
block.device = '/dev/hda3' (string)
linux.hotplug_type = 3 (0x3) (int)
Is this intended or is it a glitch? If it's the former, what's the
correct way to go through all the volumes on a drive and see if any of
them are in-use?
- --
Paul Betts <paul.betts at gmail.com>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGIsmWLaH6prIfSccRAioJAJ4ywQhgRUe7eXZtbRDwJFXuCXPGVwCdHUTu
MAWfdew6CM+1pkL21pvDBrs=
=BB/C
-----END PGP SIGNATURE-----
More information about the hal
mailing list