LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-02-2008, 11:32 PM   #1
STARHARVEST
Member
 
Registered: Nov 2005
Location: Russia, republic of Bashkiria
Distribution: Slackware 12.1
Posts: 294

Rep: Reputation: 31
Cannot open /media/.hal-mtab


I'm getting "Cannot open /media/.hal-mtab" while trying to "safely remove" flash drive. Any solution?
 
Old 03-03-2008, 10:03 AM   #2
STARHARVEST
Member
 
Registered: Nov 2005
Location: Russia, republic of Bashkiria
Distribution: Slackware 12.1
Posts: 294

Original Poster
Rep: Reputation: 31
Well, after some research, googling, walking here and there I've got the result. Flash drives are u/mounting properly, but I don't know exactly what did the trick.
All my moves were semi chaotic - At 1st, I've uninstalled autofs package (can anybody tell me what is it actually for?). 2nd - I've commented flash mount point in fstab. And 3rd - I've installed a package named pmount (also interested what is it for? Is it necessary to have been installed?)
 
Old 03-03-2008, 09:41 PM   #3
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
I think the problem was the uncommented fstab entry (which you said you now commented). If you have an uncommented fstab entry, it is ignoring HAL and is being manually mounted and not automounted. pmount is another automounting tool used via the command-line. It works with WMs/DEs that do not natively support automounting via HAL. You can safely get rid of pmount if you're using KDE, but you should probably reinstall autofs (not entirely sure what this does, but I have it on my system [it's installed by default I believe] and it looks like it's involved in automounting).
 
Old 03-03-2008, 10:02 PM   #4
STARHARVEST
Member
 
Registered: Nov 2005
Location: Russia, republic of Bashkiria
Distribution: Slackware 12.1
Posts: 294

Original Poster
Rep: Reputation: 31
now I have cdrom and flash UNcommented. All works fine. One detail - flash must be mounted to /media/sda1 but not to /mnt/flash that was before it.

/dev/sda1 /media/sda1 vfat rw,dmask=0000,fmask=0111,users 1 0
/dev/cdrom /mnt/cdrom auto noauto,user,ro 0 0
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
/media/.hal-mtab and /media/.hal-mtab-lock SlowCoder Linux - General 2 05-13-2008 04:17 PM
automount[10761]: failed to mount /media/.hal-mtab kevkim55 Linux - General 0 06-23-2007 12:29 PM
KDE, HAL, Pmount, media:/ -- floppy won't display contents DaneM Linux - Desktop 0 11-23-2006 02:01 PM
KDE 3.5.2, hal, pmount: can't access floppy from media:/ in konqueror DaneM Linux - Software 2 06-04-2006 08:18 PM
Debian kernels: "warning: can't open /etc/mtab: No such file or directory" brurien Debian 1 10-22-2003 06:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:04 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