Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-27-2007, 12:29 PM   #1
LQ Newbie
Registered: Jul 2007
Posts: 2

Rep: Reputation: 0
HAL daemon does not recognize a mounted partition as mounted

In Slackware 12, the hal daemon fails to recognize that my root partition (/dev/hda1) is, in fact, mounted. If I type in lshal to get a listing of the hal database, it reports that the block device /dev/hda1 has the following properties: volume.is_mounted = false and volume.mount_point = ''.

I have searched fairly extensively for an answer to this question and haven't found one, so I thought I'd share my research results in case anyone else is facing a similar issue. I've also been using Linux only a month, so please forgive me if I'm breaching etiquette by starting this thread.

One way to partially fix this problem is to write a fdi file and place it in the /usr/share/hal/fdi/policy directory. This is an example of the file I wrote to force the hal daemon to recognize that my root partition is mounted:

<?xml version="1.0" encoding="UTF-8"?>

<!-- To fix hal not seeing hda1 as mounted -->

<deviceinfo version="0.2">
<match key="info.udi" string="/org/freedesktop/Hal/devices/volume_uuid_542ade2e_9b89_43c8_a32e_cd750850075f">
<merge key="volume.is_mounted" type ="bool">true</merge>
<merge key="volume.mount_point" type ="string">/</merge>

If you wish to use this file, of course, you'd need to change the match and merge key values so they are relevant to your system. For example, change the info.udi key to match the device you are trying to get the hal daemon to recognize. Also, make sure root is the owner of the file.

While this has solved my immediate problem, it is not a complete solution. For example, if I su to another user, the hal daemon once again sees hda1 as unmounted. Nonetheless, this is a partial fix and you can always force the hal daemon to see the partition as mounted by using the program hal-set-property. You'll need to set both the volume.is_mounted and volume.mount_point properties.

Anyway, I hope this may help someone. Thanks for the great operating system.



Last edited by 888m; 07-30-2007 at 12:41 PM.
Old 07-28-2007, 08:30 AM   #2
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 872

Rep: Reputation: 107Reputation: 107
Does the /dev/hda1 show in KDE's media:/ ?
Old 07-28-2007, 09:04 AM   #3
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,549
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943

I would check the '/etc/fstab' to confirm the mount point. You can also get some good information from rworkman's sticky '12.0 and HAL - READ THIS!'.

What does 'mount' show from the cli?
Old 07-30-2007, 10:25 AM   #4
LQ Newbie
Registered: Jul 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you both for your replies.

SCerovec: /dev/hda1 does show in KDE's media:/ In fact, after I wrote the fdi file it would actually show as mounted. I think there is a problem with kde, though, because if I plug in an USB memory stick and then "Safely Remove" the memory stick, then kde once again thinks hda1 is unmounted (although the icon still appears). I tried to fix this over the weekend but nothing worked. For example, even if I manually reset the hald database to show that hda1 was mounted, kde would never again show it as mounted until I rebooted the computer.

onebuck: I confirmed the mount point in /etc/fstab and I read the sticky before I posted (which I agree is quite helpful but didn't seem to fix this problem). 'mount' shows that hda1 is mounted.

After spending some more time this weekend, I'm tempted to conclude this is a bug in kde. Someone reported a similar bug to the kde site, but they claimed it was a problem with HAL.

Thanks again for your help.


Old 07-30-2007, 01:58 PM   #5
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 872

Rep: Reputation: 107Reputation: 107
I actually didn't pay attention if my Slack12 did this(?)
I must see for it today


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to unmount HAL-mounted device dunric Slackware 4 08-24-2006 09:21 AM
root partition cant be mounted Ashish Meena Linux - Newbie 5 08-23-2005 08:49 AM
samba: linux mounted share = choppy playback, windows mounted share = smooth kleptophobiac Linux - Software 2 04-10-2005 09:23 AM
NFS: a mounted to b, b mounted to c, c can't read a? Steve Cronje Linux - Networking 9 10-25-2004 10:51 AM
swap partition not being mounted jclark00001 Linux - Newbie 28 02-15-2003 04:07 AM

All times are GMT -5. The time now is 10:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration