LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 08-20-2003, 07:46 PM   #16
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Cool Help is on it's way


Quote:
Is there anyboby that konws the answer to my problem?
I don't think that's funny, pe2338. There is someone I know who can help, and I have sent him this url so that he can come to your rescue. Hang in there

Linux is wonderful, just different (thank God) from that other OS we've been using. This morning I was extra glad I use Debian, as I checked my email on a web interface, and found over 100 messages from the W32.Sobig.F@mm worm. If I had checked in an email client under that other OS, I may have gotten it. Not so with this method.

Hope your problem is solved soon, and sorry I can't personally help you any better!
 
Old 08-20-2003, 09:34 PM   #17
Corin
Member
 
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 31
If you want to automount your floppy and CD-ROM so that you do not
have to keep typing mount and unmount all the time, then you need
automounted support built into the kernel (preferably the newer
autofs V4) or you build it as a module and have it autoloaded.

You need to install the autofs package

apt-get install autofs

Description: A kernel-based automounter for Linux
The kernel automounter implements an almost complete SunOS style
automounter under Linux. The automounter is supported by Linux kernels
2.0.31 and higher or the 2.1.X series. Automounter support must
be activated while compiling the kernel.


Then in /etc/auto.master you need an entry similar to

/auto/local /etc/auto/auto.local --timeout 60

and then in the file /etc/auto/auto.local you need entries such as

cdrom -fstype=auto,nodev,nosuid,ro :/dev/cdrom
cdrw -fstype=auto,nodev,nosuid :/dev/cdrw
dvd -fstype=auto,nodev,nosuid,ro :/dev/dvd
#
floppy0 -fstype=auto,nodev,nosuid,sync :/dev/floppy0
floppy1 -fstype=auto,nodev,nosuid,sync :/dev/floppy1

appropriate to the devices you actually have on your system.
Note that for convenience the above devices are actually symbolic
links to the actual devices (eg /dev/cdrom is a symbolic linke to /dev/hdc)

Then you also need to have a directory /auto

You will need to ensure that the /etc/init.d/autofs script is started in
run levels 2,3,4,5 and stopped in 0, 1, and 6

Then when you cd /auto/cdrom or try to access something which exists
under /auto/cdrom, your cdrom will be automounted, but if you just do
an ls /auto/cdrom beforehand, you will see nothing.

Note that you need the automount option in the fstab to be turned off.

Of course, you can read about all the details on automount in

/usr/share/doc/HOWTO/en-txt/Automount.gz
 
Old 08-21-2003, 08:31 AM   #18
pe2338
Member
 
Registered: Dec 2002
Location: Bucharest,RO
Distribution: debian etch, sarge and sid
Posts: 407

Original Poster
Rep: Reputation: 30
Thumbs up thank you!

I haven't tried it out, 'cause I'm updating....

But I will..
 
  


Reply



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
Disable KDE Automounter? raid517 Linux - Software 1 03-24-2005 06:35 PM
amd - automounter configuration help PsychoSid Linux - Software 0 12-22-2004 03:39 AM
subfs automounter ronald-be Linux - Hardware 2 08-22-2004 11:46 AM
automounter issue Pico_01 Linux - General 0 05-10-2004 11:42 AM
How to remove automounter in kde and gnome visu Red Hat 1 01-22-2004 02:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:26 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
Open Source Consulting | Domain Registration