Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HALD mounts cd's but not my hard drives...[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
bejayel
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2007
Posts: 104

PostPosted: Sun Dec 21, 2008 2:55 am    Post subject: HALD mounts cd's but not my hard drives...[solved] Reply with quote

I am not quite understanding this one. I have 3 other hard drives and 4 partitions across them that i would like mounted by HAL, but they dont mount at boot in gnome. I have tried putting the entires in FSTAB and leaving them out of FSTAB.

A helping hand please! Thanks everyone.


Last edited by bejayel on Tue Dec 23, 2008 3:22 am; edited 1 time in total
Back to top
View user's profile Send private message
bejayel
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2007
Posts: 104

PostPosted: Mon Dec 22, 2008 4:12 am    Post subject: Reply with quote

I am still in desperate need of help.

dmesg show nothing. there is nothing horrible in the logs that i have noticed. My HALD version is 0.5.11-r4
Back to top
View user's profile Send private message
scary
n00b
n00b


Joined: 17 Apr 2004
Posts: 47

PostPosted: Mon Dec 22, 2008 10:16 pm    Post subject: Reply with quote

In order to get my disks mounted I added the partitions to fstab and edited (or created from scratch, I can't remember) the
/usr/share/hal/fdi/policy/10osvendor/99-storage-policy-fixed-drives.fdi
file, right now mine is:

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

<deviceinfo version="0.2">
<device>
<match key="@block.storage_device:storage.hotpluggable" bool="false">
<match key="@block.storage_device:storage.removable" bool="false">
<merge key="volume.ignore" type="bool">true</merge>
</match>
</match>
</device>
</deviceinfo>
Back to top
View user's profile Send private message
bejayel
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2007
Posts: 104

PostPosted: Tue Dec 23, 2008 2:40 am    Post subject: Reply with quote

would this not kind of defeat part of the purpose of hal working with gnome volume manager. Especially for things like say usb keys?
Back to top
View user's profile Send private message
bejayel
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2007
Posts: 104

PostPosted: Tue Dec 23, 2008 3:13 am    Post subject: Reply with quote

Ok, so all that is already set up like that :( It is still not mounting. I can mount CD's AND USB sticks i just found out, but my hard drives are a no go. Maybe this will help

# ps ax | grep hald
Code:

 2193 ?        Ss     0:00 /usr/sbin/hald --use-syslog --verbose=no
 2194 ?        S      0:00 hald-runner
 2197 ?        S      0:00 hald-addon-input: Listening on /dev/input/event1 /dev/input/event0 /dev/input/event4 /dev/input/event5 /dev/input/event6 /dev/input/event3
 2200 ?        S      0:00 hald-addon-storage: polling /dev/hda (every 2 sec)
 2202 ?        S      0:00 /usr/libexec/hald-addon-cpufreq
 2203 ?        S      0:00 hald-addon-storage: polling /dev/hdb (every 2 sec)
13179 pts/1    R+     0:00 grep --colour=auto hald


Why isnt HALD polling SDB SDC and SDD? It is only polling my CD drives...

my fstab
Code:

/dev/sda1      /boot      ext2      noauto,noatime   1 2
/dev/sda3      /      ext3      noatime      0 1
/dev/sda2      none      swap      sw      0 0
#/dev/sdb1         #vista 1
#/dev/sdb2         #vista 2
/dev/sdc1               /mnt/REMOVEABLE auto            user            0 0
/dev/sdd1               /mnt/DATA       ntfs3g          user            0 0
#/dev/cdrom      /mnt/cdrom   auto      noauto,ro   0 0
#/dev/fd0      /mnt/floppy   auto      noauto      0 0


I am so confused right now... Note that REMOVEABLE is a FAT32 hard drive that is on hot plugable SATA (That i never actually take out since the hot plugging only works in linux anyway)
Back to top
View user's profile Send private message
bejayel
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2007
Posts: 104

PostPosted: Tue Dec 23, 2008 3:25 am    Post subject: solution Reply with quote

i renamed /usr/share/hal/fdi/policy/10osvendor/99-storage-policy-fixed-drives.fdi. For whatever reason, the newest HAL comes with rules that tell it to ignore fixed drives.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum