Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-18-2010, 10:57 AM   #1
LQ Newbie
Registered: Jan 2009
Posts: 27

Rep: Reputation: 15
Problem with HAL automounting SD card

I have been trying to mount my SD card which has got 2 partitions; an Ext3 one and a FAT32 one.
I have created 2 files for each of the partitions in /etc/hal/fdi/policy/ as per the wiki on HAL.
As soon as I mount my SD card from my phone, the Ext3 partition shows up immediately in Dolphin( File manager in KDE). But the Fat32 one does not. HAL has created a folder for my Fat32 in /media. And when I open the folder, then it shows up in Dolphin And I can copy stuff across to it via Dolphin.
The problem is that when I use the CLI to copy stuff across, I get the message that the partition is not a directory.
Not sure what I have done wrong.

Here is a copy of the the policy file for the Fat32 partition

[sam@sony ~]$ cat /etc/hal/fdi/policy/20-Hero_SD_Fat32.fdi
<?xml version="1.0" encoding="UTF-8"?>
 <deviceinfo version="0.2">
        <match key="volume.uuid" string="4B17-EF32">
            <merge key="volume.label" type="string">Hero_SD_FAT32</merge>
Any suggestions, please?

Last edited by samsom; 01-18-2010 at 10:59 AM.
Old 01-18-2010, 01:08 PM   #2
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
I have never had to do anything with HAL. I just use /etc/fstab and make entries for the partitions so they are mounted to a suitable mountpoint either by LABEL or UUID when they are detected.

See here:

(Maybe best to undo your HAL modifications if you are going to do this).

Please come back here if you have problems, or just post "This ..... worked".

Have fun.


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
KDE automounting problem (or HAL problem?) brixtoncalling Slackware 28 01-10-2009 12:41 AM
HAL and fmask dmask in automounting ntfs-3g drives duryodhan Slackware 2 09-23-2008 03:42 PM
Hal automounting not working prol Linux - General 27 05-26-2008 04:17 PM
KDE & hal/dbus/udev problem with USB card... mlaverdiere Debian 7 02-23-2006 09:00 PM
Automounting CF Card Reader JC404 Linux - General 0 07-25-2003 11:09 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:00 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
Open Source Consulting | Domain Registration