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

Joined: 04 Aug 2005 Posts: 485
|
Posted: Fri Aug 12, 2005 7:02 pm Post subject: [SOLVED] Removable media automatic mounting |
|
|
Is it possible to have my dvdrom drives (one is actualy a dvdrw but that doesn't really matter I guess) and also my usbkey to automatically mount when I insert a cd/dvd in the drive or plug the usb key? How can I do that? I guess it's not the noauto option in the fstab cause I beleive that is about mounting at boot right?
However, here's my /etc/fstab file in case you need it:
Code: | # /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/sda2 /boot ext2 defaults,noatime 1 2
/dev/sda5 / ext3 noatime 0 1
/dev/sda6 /home ext3 noatime 0 2
/dev/sda3 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/dvdrom auto noauto,user 0 0
/dev/cdroms/cdrom1 /mnt/dvdrw auto noauto,user 0 0
/dev/sdb /mnt/flash auto noauto,user 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
# NOTE: The next line is critical for boot!
none /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)
none /dev/shm tmpfs nodev,nosuid,noexec 0 0 |
Last edited by Nazgulled on Tue Aug 30, 2005 1:16 am; edited 1 time in total |
|
Back to top |
|
 |
yabbadabbadont Advocate


Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
|
Back to top |
|
 |
Nazgulled Guru

Joined: 04 Aug 2005 Posts: 485
|
Posted: Fri Aug 12, 2005 10:57 pm Post subject: |
|
|
I've read that and other things I searched and now I'm confused...
ivman, supermount or submount? which one to choose?  |
|
Back to top |
|
 |
Nazgulled Guru

Joined: 04 Aug 2005 Posts: 485
|
Posted: Sat Aug 13, 2005 2:16 pm Post subject: |
|
|
or even autofs? |
|
Back to top |
|
 |
a2gentoo n00b

Joined: 17 Nov 2004 Posts: 66 Location: Derry, NH
|
Posted: Sat Aug 13, 2005 2:32 pm Post subject: i got it partially working |
|
|
I used udev dbus and ivman to get most of it working.
But I too would like something like they have in Mandrake where you plug in a USB device and it automatically mounts it and places an icon on the desktop.
I know it is possible. I just dont have the education to pull it off.
<edit>
I found the key to this HERE. Look about 1/2 way down the first post and you can see how to do it.
https://forums.gentoo.org/viewtopic-t-314633-highlight-removing+kde.html
</edit> _________________ BSD for my servers
Linux for my Laptop
Windows for my Spyware
------------- |
|
Back to top |
|
 |
|