Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
a few questions about automount
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
waldauf
Tux's lil' helper
Tux's lil' helper


Joined: 20 Sep 2006
Posts: 129
Location: Czech Republic

PostPosted: Wed Aug 20, 2008 11:38 pm    Post subject: a few questions about automount Reply with quote

hi,

i have two PC - desktop and laptop. on laptop i have gentoo for one year and some months. on desktop i installed gentoo recently. on laptop works automount according my vision but on desktop no.

on both computers i have installed this:
Code:

utilities                 LAPTOP                 DESKTOP
---------------------------------------------------------
ivman                     0.6.14                 0.6.14
hal                       0.5.11-r1              0.5.11-r1 
dbus                      1.1.20                 1.1.20
udev                      124-r1                 124-r1
pmount                    0.9.16                 0.9.16


HOW IT WORK ON LAPTOP
Code:

$ uname -a
Linux mrnous.sh.cvut.cz 2.6.27-rc3 #1 SMP Fri Aug 15 23:22:08 CEST 2008 i686 Intel(R) Core(TM) Duo CPU T2250 @ 1.73GHz GenuineIntel GNU/Linux

if i plug USB stick, ivman mounts it according /etc/fstab. i can RWE and umount it like user too.

list of group where is user waldauf:
Code:

$ cat /etc/group | grep -i waldauf
wheel:x:10:root,waldauf
audio:x:18:waldauf
cdrom:x:19:waldauf,haldaemon
video:x:27:root,waldauf
cdrw:x:80:haldaemon,waldauf
usb:x:85:waldauf,haldaemon
portage:x:250:portage,waldauf
cron:x:16:waldauf
waldauf:x:1000:
plugdev:x:1003:haldaemon,waldauf
vmware:x:1005:waldauf
games:x:35:waldauf
ftp:x:21:waldauf
syslog:x:1009:waldauf


HOW IT WORK ON DESKTOP
Code:

Linux medussa 2.6.25-gentoo-r6 #2 SMP Wed Jul 23 11:37:23 CEST 2008 x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux

if i plug USB stick, ivman mounts it in /media/<somename>. i can RWE but i can't umount it like user. i can't have this line in fstab because it won't work (this line is from fstab from laptop where it works fine):
Code:

/dev/sdb1                                       /mnt/flash_1    vfat            rw,auto,users,codepage=852                                            0 0


list of group where is user waldauf:
Code:

$ cat /etc/group | grep -i waldauf
disk::6:root,adm,haldaemon,waldauf
wheel:!:10:root,waldauf
audio::18:waldauf
cdrom::19:haldaemon,waldauf
video::27:root,waldauf
cdrw::80:haldaemon,waldauf
usb::85:haldaemon,waldauf
users::100:games,waldauf
portage::250:portage,waldauf
cron:!:16:waldauf
crontab:x:440:waldauf
plugdev:x:443:haldaemon,waldauf
waldauf:x:1000:



MY QUESTIONS
1] how to mount according to fstab on desktop?
2] how mounting to /mnt/?
3] if i pluge USB stick on desktop --> ivman create /media/usb-1
if i remove USB stick and plug it again --> ivman create /media/usb-2
i want to have only one dir to mount USB stick and i don't know how set up it.
4] how unmounting like user?


i hope that there is all important. if not write me and i will complete my information.
thank you for your help and ideas ;]
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1917

PostPosted: Thu Aug 21, 2008 7:56 am    Post subject: Reply with quote

Which DE are you using? AFAIK ivman and pmount are not necessary with KDE. For me & automounting it' s sometimes working absolutely great (without ivman and pmount) and sometimes not working at all. I still couldn' t find out on what exactly this depends... hal, dbus, udev or kernel version.
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
waldauf
Tux's lil' helper
Tux's lil' helper


Joined: 20 Sep 2006
Posts: 129
Location: Czech Republic

PostPosted: Thu Aug 21, 2008 7:09 pm    Post subject: Reply with quote

Martux wrote:
Which DE are you using? AFAIK ivman and pmount are not necessary with KDE.


on laptop i had at first KDE but now i have fluxbox.
on desktop i have basic kde but i run under fluxbox too.

as you write. i have installed all programs at first on laptop and it works works and works ;]. but desktop is alchemy/mystery. i don't understand why it wouldn't work.

i set up sudo on desktop according laptop but still no success.
i don't think that version of kernel is important. on laptop i have vanilla kernel and on desktop gentoo kernel.
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