LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 15
Problem with HAL automounting SD card


Hi
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

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

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

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: http://wiki.linuxquestions.org/wiki/Fstab

(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.
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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