You are not logged in.

#1 2010-01-17 17:36:21

samsom
Member
Registered: 2009-07-17
Posts: 88

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


Samsom

Offline

#2 2010-01-17 20:41:52

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Problem with HAL automounting SD card

Display the CLI command you use....


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#3 2010-01-18 10:43:11

samsom
Member
Registered: 2009-07-17
Posts: 88

Re: Problem with HAL automounting SD card

lilsirecho wrote:

Display the CLI command you use....

[sam@sony ~]$ cp googlebits-hero-signed.zip aosp_community_hero-jnwhiteh-r4.zip /media/Hero_SD_Fat/

Samsom

Offline

#4 2010-01-18 21:18:17

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Problem with HAL automounting SD card

Perhaps you should try a change after .zip...

Add a slash (/*)


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#5 2010-01-20 19:09:26

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Problem with HAL automounting SD card

Opened in error

Last edited by lilsirecho (2010-01-20 19:10:24)


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#6 2010-01-21 05:29:42

samsom
Member
Registered: 2009-07-17
Posts: 88

Re: Problem with HAL automounting SD card

Basically Arch does not recognise my Fat32 partition as a directory. I have been advised that I am better off setting it up in /etc/fstab rather than HAL. Is that the only way to sort this out?
Samsom


Samsom

Offline

Board footer

Powered by FluxBB