LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   auto mount multiple windows on boot (https://www.linuxquestions.org/questions/linux-software-2/auto-mount-multiple-windows-on-boot-44706/)

bax 02-09-2003 02:10 PM

auto mount multiple windows on boot-caused by K3B
 
Hi all. I searched yet I could not find anything on this subject. Every time I install K3B, afterwards, on boot, at least 3 windows pop up showing the contents of my CD drives. Here's my /etc/fstab. What am I missing here?

LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda7 swap swap defaults 0 0
/dev/hdb6 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hdb7 /G vfat auto,defaults,umask=000
/dev/hdd /cdrom auto ro,noauto,user,exec 0 0
/dev/scd0 /cdrecorder auto ro,noauto,user,exec 0 0
/dev/hda1 /C ntfs auto,defaults,umask=022

acid_kewpie 02-09-2003 04:16 PM

what are you actually trying to achieve???

bax 02-09-2003 06:29 PM

I am trying to get rid of 3 blank windows popping up showing the content of my CD drives everytime I boot up and I am trying to get rid of the same thing happening everytime a CD or DVD is inserted.

bax 02-11-2003 04:08 PM

This post has been viewed 26 times today. Looks like I found a good problem here.

Tinkster 02-11-2003 07:19 PM

Quote:

Originally posted by bax
This post has been viewed 26 times today. Looks like I found a good problem here.
Nuh ... you just managed to "hide" your
actual request behind a topic that makes
no sense and thus makes one curious :)

Cheers,
Tink

MasterC 02-11-2003 08:38 PM

Actually I tend to lean towards the title of the thread being somewhat.... curious.

Anyway, this depends on your window manager. Close the windows down, close down all apps you don't want to start up next boot, then when you logout of your window manager/desktop environment, click the box that says "save settings" or something similar. Now, next time you boot up, you shouldn't get those boxes.

If this doesn't solve your problem, could you address it more specifically. I am having a rough time understanding exactly what's going on. For example, "everytime I install k3b" I don't know about you, but once I install a program, I don't have to continually install it again and again...

Cool

bax 02-11-2003 08:44 PM

Maybe you could suggest a better topic then? This has happened after installing K3B on two different boxes. I'm guessing it has something to do w/ auto mount since it happens AUTOmatically. By multiple windows I mean that multiple windows pop up whenever the box is booted w/ a cd in the drive or when a cd or dvd is inserted. I don't see what is so misleading about my topic but maybe I don't have your perspective.

Tinkster 02-11-2003 08:57 PM

After K3B installation 3 CD-ROM windows pop-up on KDE start
 
Your just confusing a few basic Linux-terms :)

As said in one of the famous, fabulous Linux-Cookies
from the wonderful fortunes porgram ...

Quote:

'Mounting' is used for three things: climbing on a horse, linking in a
hard disk unit in data systems, and, well, mounting during sex.
-- Christa Keil
She had the part about "linking" *almost* right :)
It's "linking a file-system into a directory tree", guess
she didn't think about nfs, samba or loop-back interfaces

However, one doesn't mount three windows...

A more specific (or precise) topic would have been
"After K3B installation 3 CD-ROM windows pop-up on KDE start" :)

Cheers,
Tink

MasterC 02-11-2003 09:01 PM

Which wm are you using? Is this KDE, Gnome or does it happen regardless? Bring up your Control Center if this is KDE. Find the section on CDROMS (I'm doing this from Memory, so please, try to see through my words to my meaning ;) ) and see if you can find a box for "auto start" or "insert notification" or anything referring to opening a window upon cd mount. I am on w2k right now at work, so I unfortunately cannot find the exact location of this. However, poke around the Control Center, a button like that does exist.

Cool

bax 02-11-2003 10:56 PM

I'm using KDE 3.1 and I should have mentioned it earlier. I couldn't find anything related opening a windows upon cd mount. I went through every bit of that Control Center and I am looking forward to editing my start menu using KMenu but no dice otherwise.
MasterC, thanks for taking the time to help me w/ this problem. I'm passing the favor back to others on this forum :)

MasterC 02-12-2003 01:10 AM

Well now don't I feel like an ass... It's in Gnome where that option exists. :) I recently have been taking some online courses for linux and one of them was turning this function off, the coarse is always centered on KDE so I assumed (where the mistake was) that this was where this function was. I went back through my course just now, and this tiny section was on GNOME. Sorry dude :)

However... I do think we can still get this fixed. First thing I'd give a shot at is removing kudzu from my entries in /etc/fstab up there. I don't have a huge grasp on what kudzu does, however, removing it is more than likely not going to cause a melt down (there wasn't even any nuclear material in there - Simpsons ;) ). You don't have auto enabled in your options section, that's good, but I think maybe kudzu is working it's magic on it and causing it to be mounted anyway. Give that a shot, and let us know how things turn out.

Cool

Tinkster 02-12-2003 03:12 PM

Just jumping to conclusions without knowing K3B
(or the way it works) ... maybe it has a setting that
tells it to only monitor ONE cdrom device, and by
default it checks your fstab for cdroms and pops
up a window for each of them?

Or, if you have heaps of symlinks in /dev that point
to the same physical device? I assume you don't really
have 4 cdrom devices in your box?

Cheers,
Tink

P.S.: I may be a pedantic asshole in some peoples eyes, but I am pedantic by choice,
and I believe that being pedantic is beneficiary...
Others, however, are stupid by nature ;)

carlywarly 02-23-2003 11:10 AM

Quote:

Originally posted by Tinkster
Just jumping to conclusions without knowing K3B
(or the way it works) ... maybe it has a setting that
tells it to only monitor ONE cdrom device, and by
default it checks your fstab for cdroms and pops
up a window for each of them?

Or, if you have heaps of symlinks in /dev that point
to the same physical device? I assume you don't really
have 4 cdrom devices in your box?

Cheers,
Tink

P.S.: I may be a pedantic asshole in some peoples eyes, but I am pedantic by choice,
and I believe that being pedantic is beneficiary...
Others, however, are stupid by nature ;)

:tisk: I think you'll find that it should be "being pedantic is beneficial..." :p

bax 02-23-2003 02:53 PM

So in your world, there's two types of people: pedantic or stupid.


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