LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-05-2006, 10:44 PM   #1
classic
Member
 
Registered: Dec 2004
Posts: 45

Rep: Reputation: 15
hal auto mount


hi ,

i do blfs :

http://www.linuxfromscratch.org/blfs...neral/hal.html

with udev-097,hal-0.5.7,dbus-0.62,xfce-4.4beta2

and all is good but when i insert cdrom i so a cdrom icon in desktop

but not mounted so i should click to icon to mount the cdrom

and when i click it said "can't mount because there is no /media/hdc

in your fstab or mtab"

and when i add hdc in my fstab it mount but blfs said:

Note

HAL will ignore any devices listed in /etc/fstab for the purpose of automounting. You must remove any listings for devices that you would like automounted such as CD-ROMs or USB keys.

so what i can do to auto mount .


thank you .
 
Old 09-06-2006, 04:17 AM   #2
magnus.therning
LQ Newbie
 
Registered: Jul 2006
Location: Gothenburg
Posts: 21

Rep: Reputation: 0
Quote:
Originally Posted by classic
hi ,

i do blfs :

http://www.linuxfromscratch.org/blfs...neral/hal.html

with udev-097,hal-0.5.7,dbus-0.62,xfce-4.4beta2

and all is good but when i insert cdrom i so a cdrom icon in desktop

but not mounted so i should click to icon to mount the cdrom

and when i click it said "can't mount because there is no /media/hdc

in your fstab or mtab"

and when i add hdc in my fstab it mount but blfs said:

Note

HAL will ignore any devices listed in /etc/fstab for the purpose of automounting. You must remove any listings for devices that you would like automounted such as CD-ROMs or USB keys.

so what i can do to auto mount .


thank you .
Do you have ivman installed?
 
Old 09-06-2006, 01:47 PM   #3
classic
Member
 
Registered: Dec 2004
Posts: 45

Original Poster
Rep: Reputation: 15
hi,

no i don,t have ivman .

(but why the blfs said the hal can do auto mount alone)

and i will install ivman.

thanks.
 
Old 09-06-2006, 02:56 PM   #4
classic
Member
 
Registered: Dec 2004
Posts: 45

Original Poster
Rep: Reputation: 15
hi,

i install ivman and run ivman command but it said :
"can't mount because there is no /media/hdc

and when i add hdc in my fstab it mount but blfs said:

Note

HAL will ignore any devices listed in /etc/fstab for the purpose of automounting. You must remove any listings for devices that you would like automounted such as CD-ROMs or USB keys.

and i want to mount with cdrom name not with hdc how i do this.
 
Old 09-07-2006, 02:17 AM   #5
magnus.therning
LQ Newbie
 
Registered: Jul 2006
Location: Gothenburg
Posts: 21

Rep: Reputation: 0
Quote:
Originally Posted by classic
hi,

no i don,t have ivman .

(but why the blfs said the hal can do auto mount alone)

and i will install ivman.

thanks.
hal doesn't do any mounting. hal is short for Hardware Abstraction Layer and it makes it easy to write programs that react to changes in the hardware configuration (e.g. when you plug in a new device).

pmount is the tool that does the actual mounting and ivman ties hal messages to pmount actions.

(I should probably also mention that I'm not an XFCE user, I use GNOME.)
 
Old 09-07-2006, 02:24 AM   #6
magnus.therning
LQ Newbie
 
Registered: Jul 2006
Location: Gothenburg
Posts: 21

Rep: Reputation: 0
Quote:
Originally Posted by classic
hi,

i install ivman and run ivman command but it said :
"can't mount because there is no /media/hdc

and when i add hdc in my fstab it mount but blfs said:

Note

HAL will ignore any devices listed in /etc/fstab for the purpose of automounting. You must remove any listings for devices that you would like automounted such as CD-ROMs or USB keys.

and i want to mount with cdrom name not with hdc how i do this.
This I do not know for sure.

In my experience pmount will mount things based on the type (e.g. CDs will be mounted at /media/cdrom, USB sticks on /media/usbdisk). However, if the device has a label then that will be used instead.

Also, the icon name that appears on my desktop is largely unrelated to the mount point.

However, this is all under GNOME, not XFCE. I would suggest you seek out a more XFCE specific forum or mailing list for your questions. Sorry to not be able to help you more than this.
 
Old 09-07-2006, 02:16 PM   #7
classic
Member
 
Registered: Dec 2004
Posts: 45

Original Poster
Rep: Reputation: 15
hi,

thank you magnus.therning

you help me very good now i know what is hal,ivman,pmount .

thank for your reply.
 
Old 09-12-2006, 06:36 AM   #8
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
You might want to look into udev:
http://ftp.kernel.org/pub/linux/util...tplug/udev-FAQ
http://www.reactivated.net/writing_udev_rules.html
 
Old 09-16-2006, 09:18 PM   #9
Axalon
LQ Newbie
 
Registered: May 2006
Distribution: Archlinux, LFS 6.2
Posts: 20

Rep: Reputation: 0
Read this:

http://www.linuxfromscratch.org/blfs...fs/autofs.html
 
Old 09-18-2006, 03:19 AM   #10
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Umm, this depends from the distribution (s)he is using. In the newer releases autofs became obsolete (AFAIR) and the deveices are managed by HAL and DBUS via the udev-daemon.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DVD (auto)mount problem, gnome-mount, hal, Fedora C 5 lazarion Linux - Hardware 5 01-10-2007 04:45 AM
hal auto mount classic Linux From Scratch 2 09-06-2006 01:44 PM
mount problem after hal udev install itzig Slackware 18 04-28-2006 05:05 AM
Problems auto loading hardware with the HAL daemon. spicyed Linux - Hardware 1 03-07-2006 01:05 PM
autofs enabled in kernel but auto.mount and auto.master are NOT in /etc! Alybyzrp Linux - General 0 11-11-2003 12:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:45 PM.

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