kanotix.com

General Support - Partitions auto-mounting against my wishes

shame - 07.06.2006, 02:22 Uhr
Titel: Partitions auto-mounting against my wishes
As well as kanotix I have several other partitions on 2 drives, 1 for suse, 1 for ubuntu,
1 for slackware, 2 spare ones and a shared partition.
All partitions except the shared one are set to noauto in fstab but all partitions are automatically mounted when I start up kanotix.
I can't work out why. It has only recently being doing this.
schnorrer - 07.06.2006, 09:39 Uhr
Titel: Partitions auto-mounting against my wishes
As long as /etc/fstab contains the unwanted Partitions, they will always be mounted.
Just comment them in /etc/fstab out.
Neuer_User - 07.06.2006, 09:42 Uhr
Titel: RE: Partitions auto-mounting against my wishes
Are you sure that the partitions with the "noauto" option are really mounted? Or are they just shown on the desktop because kde is set to also show unmounted harddisks? Check with "mount" command on the console.
severin - 07.06.2006, 10:01 Uhr
Titel: RE: Partitions auto-mounting against my wishes
@shame: I agree in that partitions set to noauto shouldn't get mounted (schnorrer was wrong on that bit). Maybe some udev weirdness? (unless Neuer_User's hint works out, that is)
shame - 07.06.2006, 15:40 Uhr
Titel:
@ schnorrer
The partitions are wanted, I just don't want them automounted so I want them in fstab.

@ Neuer_User
This is how I first noticed the problem, when mounting partitions I was told they are already mounted then I checked all the partitions and they are all mounted every boot.

@ severin
udev may be the cause but I'm not sure what to do about it. I've never touched udev config so I don't know what would have caused the problem.
I've also noticed on boot that there are errors about usbfs and sysfs already being mounted.
kilgoretrout - 07.06.2006, 21:11 Uhr
Titel:
Post your fstab; maybe someone will see something you've overlooked.
shame - 07.06.2006, 23:44 Uhr
Titel:
Well I solved the problem, some time ago I had some problems with partitions ot mounting at all and had copied entries from suse's fstab.
I've restored my original fstab from a backup and it's now partitons are no longer auto-mounting.
What I don't understand though, is that with the same entries on suse, partitions are not auto-mounting but they were in kanotix.
Also the the errors on boot about sysfs are still there, I tried changing that to noauto but I get errors about /dev not being able to mount without /sys
Just out of interest, this is one of the lines from a suse's fstab, that doesn't automount on suse but does on kanotix -
Code:
/dev/hda4       /media/ubuntu   ext3    noauto,user,noatime,data=writeback

And this is the entry from my kanotix backup, which is now working -
Code:
/dev/hda4       /media/ubuntu   ext3    defaults,noauto,noatime,data=writeback

schnorrer - 08.06.2006, 02:26 Uhr
Titel:
The first thing after FFormat is who can mount the dev than how/who can mount last but not least the other options.

Why the suse mount only works with suse, is how suse handles the script, i.o.w. suse uses an other automaounter from te beginning.
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007