View previous topic :: View next topic |
Author |
Message |
senzacionale Guru


Joined: 29 Jun 2004 Posts: 532 Location: Slovenia
|
Posted: Tue Nov 15, 2005 5:27 pm Post subject: automount [SOLVED] |
|
|
I hope you undesrtand what i want. How to make that when useb key and cdrom are plugged they are automaticaly mount and icons are shown in desktop (kde or gnome)
What i must do for that?
Thnx _________________ Spletno narocanje hrane in dostava hrane na dom na portalu DostavaHrane.si
Last edited by senzacionale on Mon Nov 21, 2005 8:54 pm; edited 1 time in total |
|
Back to top |
|
 |
cokey Advocate


Joined: 23 Apr 2004 Posts: 3355
|
|
Back to top |
|
 |
Ctrl+Alt+Del Guru


Joined: 04 Jul 2004 Posts: 326 Location: .de
|
Posted: Tue Nov 15, 2005 5:50 pm Post subject: |
|
|
edit: damnit Cokehabit beat me to it  |
|
Back to top |
|
 |
StaraDama Apprentice

Joined: 01 Sep 2004 Posts: 253
|
|
Back to top |
|
 |
StaraDama Apprentice

Joined: 01 Sep 2004 Posts: 253
|
Posted: Wed Nov 16, 2005 12:42 pm Post subject: |
|
|
General setup --->
[*] Support for hot-pluggable devices
i don'thave this options to use. I have --- infornt of Support for hot-pluggable devices
what i can do now?
I use 2.6.12-rc6-love1 sources kernel
What about /etc/fstab
i don't need to add anything in it that this automount will work? |
|
Back to top |
|
 |
lbrtuk l33t


Joined: 08 May 2003 Posts: 910
|
Posted: Wed Nov 16, 2005 6:49 pm Post subject: |
|
|
This shouldn't need much manual configuration at all. You should really not have to write any udev rules.
You should be able to get this working by simply having the and hal USE flag set when emerging kde (or gnome) and make sure dbus and hald are running. |
|
Back to top |
|
 |
StaraDama Apprentice

Joined: 01 Sep 2004 Posts: 253
|
Posted: Thu Nov 17, 2005 9:42 am Post subject: |
|
|
dbus and hald are running and this is my make.conf
Code: |
CFLAGS="-O2 -march=pentium3 -msse2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="-gnome gtk gtk2 qt kde dvd alsa cups pam python xml xml2 acl X java mpeg cdr bcmath berkdb bzlib calendar
cpdflib crypt ctype curl curlwrappers dba dbase dbx dio exif fam flatfile ftp gd gdbm gmp iconv imap inifile jpeg kerberos ldap mcve memlimit mhash mime mssql mysql
ncurses nls odbc pcntl pcre png posix postgres readline sasl session sharedext simplexml soap sockets spell spl ssl
sysvipc tidy tiff tokenizer truetype xml2 xmlrpc xpm xsl zlib apache2 ssl threads oav readline oggvorbis perl png spell truetype xvid xmms wxwindows yahoo msn usb tcltk sd$quicktime opengl artsmakesuid flac alsawrappersuid network nas mmx mmx2 mmxext samba live fbcon dvdread divx4linux
tga sse sse2 ggi rtc libcaca bigger-fonts screenshot bash-completion mozsvg cscope ncurses win32codecs xanim xvmc
cap maildir pcre commercial pcmcia server svg mng mono gd dba libgd pic server aac aalib custom-cflags berkdb innodb
readline tcpd hal"
LINGUAS="sl"
# SYNC="rsync://rsync16.de.gentoo.org/gentoo-merged"
PORTDIR_OVERLAY="/usr/local/portage"
|
is it ok now that i just reemerge gnome with emerge gnome. Will then this works?
Thnx |
|
Back to top |
|
 |
StaraDama Apprentice

Joined: 01 Sep 2004 Posts: 253
|
Posted: Fri Nov 18, 2005 9:34 am Post subject: |
|
|
is ok like this? |
|
Back to top |
|
 |
senzacionale Guru


Joined: 29 Jun 2004 Posts: 532 Location: Slovenia
|
Posted: Mon Nov 21, 2005 7:21 pm Post subject: |
|
|
doesn't want to aoutomount usb stick or cd/dvd rom
Can someone hel me with this? _________________ Spletno narocanje hrane in dostava hrane na dom na portalu DostavaHrane.si |
|
Back to top |
|
 |
senzacionale Guru


Joined: 29 Jun 2004 Posts: 532 Location: Slovenia
|
|
Back to top |
|
 |
senzacionale Guru


Joined: 29 Jun 2004 Posts: 532 Location: Slovenia
|
Posted: Mon Nov 21, 2005 8:52 pm Post subject: |
|
|
solved
this is my fstab that works now!
Code: |
# This file is edited by fstab-sync - see 'man fstab-sync' for details
# /etc/fstab: static file system information.
# $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.18.4.1 2005/01/31 23:05:14 vapier Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# See the manpage fstab(5) for more information.
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda5 /boot ext2 defaults,noatime 1 2
/dev/hda7 / ext3 noatime 0 1
/dev/hda6 none swap sw 0 0
#/dev/hdc /mnt/cdrom subfs fs=auto,ro,noatime,sync,users 0 0
#/dev/sda /mnt/usbstick subfs fs=auto,rw,noatime,sync,users 0 0
/dev/hdc /mnt/cdrom udf,iso9660 user,noauto 0 0
#/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
# NOTE: The next line is critical for boot!
proc /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
#Windows particije
/dev/hda1 /mnt/Windows ntfs ro,defaults,umask=0222 0 0
|
_________________ Spletno narocanje hrane in dostava hrane na dom na portalu DostavaHrane.si |
|
Back to top |
|
 |
|