You are not logged in.
Pages: 1
I use HAL and pmount to mount the CD-ROM
But when I am trying tou pumount: media/cd device is busy...
I cannot umount the cdrom without restart the computer thought. . .
EDIT: I can umount it only as root :
umount -l /dev/cdrom
Should I change my fstab ?
Last edited by Dr.Paneas (2010-02-10 14:52:34)
Offline
auto mount is not working using hal . . .
I mean it works if I restart hal daemon. But if I want to insert a second, or third, or another disk after hal being restarted there is no auto mount.
Last edited by Dr.Paneas (2010-02-10 15:17:20)
Offline
yea i used to use sudo to mount and umount... did you try adding optical to your user group?
Linux ArchLinux 3.2.8-1-ARCH
#1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012 x86_64 AMD FX(tm)-8120 Eight-Core Processor AuthenticAMD GNU/Linux
8192MB DDR3 1300MHz | Asus m5a97 | GeForce GTX 550 Ti | 120 GB SSD
Offline
Take a look to my system files:
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/cdrom /media/cd iso9660 ro,user,noauto,unhide 0 0
/dev/dvd /media/dvd udf ro,user,noauto,unhide 0 0
#/dev/fd0 /media/fl auto user,noauto 0 0
/dev/sda1 / ext4 defaults 0 1
/dev/sda2 /var reiserfs defaults 0 2
/dev/sda3 swap swap defaults 0 0
/dev/sda4 /home jfs defaults 0 2
My normarl user is called 'paneas', so take a loot to my /etc/group
root::0:root
bin::1:root,bin,daemon
daemon::2:root,bin,daemon
sys::3:root,bin
adm::4:root,daemon
tty::5:
disk::6:root
lp::7:daemon,paneas
mem::8:
kmem::9:
wheel::10:root,paneas
ftp::11:
mail::12:
uucp::14:
log::19:root
locate::21:
smmsp::25:
http::33:
games::50:
network:x:90:
video:x:91:paneas
audio::92:paneas
optical::93:paneas,hal
floppy:x:94:hal
storage:x:95:paneas,hal
scanner:x:96:
power:x:98:paneas
nobody::99:
users::100:paneas
dbus:x:81:
rfkill:x:24:
paneas:x:1000:
hal:x:82:paneas,optical
The hal daemon's auto hotplugging ISN'T working.
Check it:
[root@arch ~]# ls /media/cd
[root@arch ~]# ls /var/run/daemons/
alsa crond dbus hal netfs net-profiles network syslog-ng
[root@arch ~]# /etc/rc.d/hal restart
:: Stopping Hardware Abstraction Layer [DONE]
:: Starting Hardware Abstraction Layer [DONE]
[root@arch ~]# ls /media/cd
Offline
/dev/cdrom /media/cd iso9660 ro,user,noauto,unhide 0 0
# auto - File system will mount automatically at boot, or when the command 'mount -a' is issued.
# noauto - The filesystem is mounted only when you tell it to.
That might help...
Offline
It didn't actually, but thanks
I read the HAL wiki page so I configured my files again:
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/sda1 / ext4 defaults 0 1
/dev/sda2 /var reiserfs defaults 0 2
/dev/sda3 swap swap defaults 0 0
/dev/sda4 /home jfs defaults 0 2
I added hal and dbus into the modules=() of /etc/rc.conf
Nothing yet. . . .
Offline
Pages: 1