LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 06-26-2005, 02:59 PM   #1
byte.chaser
Member
 
Registered: Jun 2004
Distribution: debian 3.1 etch
Posts: 76

Rep: Reputation: 15
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!!!

Last edited by byte.chaser; 06-26-2005 at 04:24 PM.
 
Old 06-26-2005, 04:29 PM   #2
husnos
Member
 
Registered: Jun 2005
Distribution: debian sarge
Posts: 49

Rep: Reputation: 15
i don't remember exactly, but I think i setup automount through 'bastille'
 
Old 06-26-2005, 04:54 PM   #3
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30
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

Last edited by samael26; 06-26-2005 at 04:57 PM.
 
Old 06-26-2005, 06:06 PM   #4
byte.chaser
Member
 
Registered: Jun 2004
Distribution: debian 3.1 etch
Posts: 76

Original Poster
Rep: Reputation: 15
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

Last edited by byte.chaser; 06-26-2005 at 06:07 PM.
 
Old 06-26-2005, 08:52 PM   #5
husnos
Member
 
Registered: Jun 2005
Distribution: debian sarge
Posts: 49

Rep: Reputation: 15
sorry about the confusion. bastille checked whether or not to disable automount.
I still don't remember how I configured automount
 
Old 06-27-2005, 12:01 PM   #6
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
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.
 
Old 06-27-2005, 12:47 PM   #7
byte.chaser
Member
 
Registered: Jun 2004
Distribution: debian 3.1 etch
Posts: 76

Original Poster
Rep: Reputation: 15
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...
 
Old 06-27-2005, 02:09 PM   #8
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
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.
 
Old 06-27-2005, 04:42 PM   #9
husnos
Member
 
Registered: Jun 2005
Distribution: debian sarge
Posts: 49

Rep: Reputation: 15
manual mounting is not really that bad. it is just one quick command
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automount: no more in LE LinxNew Mandriva 2 05-07-2005 10:21 AM
Automount help short101 Linux - Newbie 2 07-17-2004 09:23 PM
automount thematrimix Linux - General 5 05-07-2004 11:56 PM
automount alaios Linux - Hardware 1 11-16-2003 12:47 PM
Automount jailbait Linux - Software 2 07-16-2003 05:19 PM


All times are GMT -5. The time now is 04:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration