LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   to automount or not.. (http://www.linuxquestions.org/questions/debian-26/to-automount-or-not-337363/)

byte.chaser 06-26-2005 01:59 PM

to automount or not..
 
Hello everyone,

Been lurking here for quite awhile, thought i should rear my ugly head :).

Anyway i just installed debian 3.1 etch, running great. after a few LONG hours i got my ati 9500 pro working WOOHOO. using icewm and rox-filer for when i dont wanna wterm my way around..

My question is that i was looking at automount. I was thinking of using it but had a brain wave. Instead of using automount could someone just make a mout shortcut in icewm menu ie:

Code:

mount /dev/hdc0 /media/cdrom
and a unmount menu item like this..

Code:

umount /dev/hdc0
so you would have two new shiny icons to click on..one to mount cds and one to unmount..


i dont know if this will work, but i am still very new and my brain is a buzzing!!!

husnos 06-26-2005 03:29 PM

i don't remember exactly, but I think i setup automount through 'bastille'

samael26 06-26-2005 03:54 PM

I doubt it :

quote :

description
Security hardening tool Bastille Linux is a security hardening program for GNU/Linux. It increases the security of the system either by disabling services (if they are not necessary) or by altering their configuration. . If run in the (recommended) Interactive mode, Bastille educates the administrator during the hardening process: in each step of the process, extensive descriptions are given of what security issues are involved. Each step is optional. If run in the quicker Automated mode, Bastille hardens the system according the profile chosen. . Bastille Linux works for several Linux distributions. This package has been specifically modified to work for Debian GNU/Linux. . Homepage: http://www.bastille-linux.org/

Automated mode is not automount...

There is a patch for supermount for 2.4 kernels :

nom
kernel-patch-2.4-supermount-ng
version
1.2.11-1
groupe
devel
taille
248000
taille du fichier
173138
description
Automatically mount and unmount removable media With supermount, you can change the disk in the drive whenever you want (with the obvious exception that you shouldn't do it when the filesystem is actively in use). You don't need to "cd" out of the directory first, and you don't need to tell the kernel what you're doing --- supermount will detect the media change automatically. . Supermount will automatically detect whether the media you are mounting is read-write or readonly, and if you mount a write-protected disk, then the subfs will be mounted as a readonly filesystem. . Supermount detects when you have finished activity on the subfs, and will flush all buffers to the disk before completing the operation. So, if you copy a file onto a supermounted floppy disk, the data will all be written to disk before the "cp" command finishes. When the command does complete, it will be safe to remove the disk. . It can be applied to the following Linux kernel sources: 2.4.20, 2.4.21, 2.4.22, 2.4.23, 2.4.24

byte.chaser 06-26-2005 05:06 PM

thanks guys ,

soundes like its easier to just

Code:

mount <device>
and
Code:

umount <device>
as i am using 2.6.8-2-i686 ( i think... it is 2.6, but i'm not at home right now)

it was a thought, i hoped it would work but oh well

husnos 06-26-2005 07:52 PM

sorry about the confusion. bastille checked whether or not to disable automount.
I still don't remember how I configured automount

Dead Parrot 06-27-2005 11:01 AM

The automounting software for GNU/Linux has progressed in huge leaps lately but so far I've still used the old-fashioned way, mounting partitions and removable media with fstab and mountapp (in Window Maker). I think the xvmount utility might be quite handy in IceWM if you are content with the old-fashioned mounting style. You can launch xvmount from the desktop menu (or you can make a shortcut to the IceWM panel) and it checks your /etc/fstab and gives you a GUI where every mountable device has its own button that you can click with mouse to mount it and click it again to unmount it.

byte.chaser 06-27-2005 11:47 AM

Quote:

Originally posted by Dead Parrot
The automounting software for GNU/Linux has progressed in huge leaps lately but so far I've still used the old-fashioned way, mounting partitions and removable media with fstab and mountapp (in Window Maker). I think the xvmount utility might be quite handy in IceWM if you are content with the old-fashioned mounting style. You can launch xvmount from the desktop menu (or you can make a shortcut to the IceWM panel) and it checks your /etc/fstab and gives you a GUI where every mountable device has its own button that you can click with mouse to mount it and click it again to unmount it.

thanks for all the replies. I think i will give xvmount a go. I had thought that mount either from command line or just making a shortcut with the same commands would work as well...

Dead Parrot 06-27-2005 01:09 PM

If you prefer automounting, you can install gnome-volume-manager and then use it to configure the device automounting options. I've never tried this utility myself and so I cannot give any details about its usage but I think it might just be worth a try. :)

husnos 06-27-2005 03:42 PM

manual mounting is not really that bad. it is just one quick command


All times are GMT -5. The time now is 05:17 PM.