sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: Nick Jennings <nkj AT namodn.com>
- To: nealbirch <nealbirch AT attbi.com>
- Cc: sm-discuss AT lists.ibiblio.org, Arwed von Merkatz <v.merkatz AT gmx.net>, tgarland AT email.com, robin AT kallisti.2y.net, evraire AT tuwg.com
- Subject: Re: [SM-Discuss] problems with mtab
- Date: Mon, 9 Dec 2002 12:09:38 -0800
On Sun, Dec 08, 2002 at 05:30:30PM -0500, nealbirch wrote:
> Nick Jennings wrote:
> > Seems like this isn't in the scope of the init.d spell. Or am I mistaken?
> >
> > Is the init.d spell supposed to control all base system files in /etc/ ?
> > I think perhaps there should be a baseconfig spell or something which
> > does
> > this. It can track all the misc. files that reside in /etc/ and are not
> > currently tracked by any spell.
>
>
> The init.d spell is becoming a catch-all for things, at the moment, by
> default. There are some loose cannon's in this, it appears. I have
> gotten reports from many people on this who have the symlinks, and it
> may be from a particular iso, at the moment, my thought is how to
> correct it.
Hmm. I think it may be a better move to keep init.d's purpose very
specific to init organization, and make another spell which keeps
track of the very basic files needed in a sourcemage system.
> A quick and dirty way would be to check for the existance of a link
> rather than file in the mount.sh file, if /etc/mtab is a symlink, then
> remove it before the script resets the mtab so that it can be set up
> properly by mount. Something like the following would do it:
Why not just inform people of this and let them decide if they want to
change it. I think trying to control peoples filesystem layout is
A Bad Thing (tm). We can say something like:
It appears your mtab is a symlink. It really *should* be a normal file
for mount to behave correctly. Please perform the following commands if
you do not want to receive this message again:
# ...<commands>...
The more we take over peoples setup, the more we take on the bad parts
of debian. :)
>
> # from mount.sh
> # Addition to the mount.sh
> # for mtab symlink detection
> mount -n -o remount,rw /
> # added to detect and remove symlink
> if [ -L /etc/mtab ]; then
> rm /etc/mtab
> touch /etc/mtab
> fi
> # end of addition
> echo > /etc/mtab
> mount -f -o remount,rw /
> echo "Mounting local filesystems..."
> # end change
>
> This is probably a one shot deal, and since it's done at boot, it
> shouldn't cause any problems. I suppose I could setup init.d to detect
> the symlink and install a special mount.sh with the added code if
> necessary, to be replaced the next time init.d is called.
>
> Any comments? anything I miss?
>
> Neal
> --
> "You can fool some of the people all of the time
> --and those are the ones you have to concentrate on!"
> GW Bush-- from the N.Y. Times
>
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>
-
[SM-Discuss] how to allow users to mount/umount cdroms correctly,
Arwed von Merkatz, 12/08/2002
-
Re: [SM-Discuss] how to allow users to mount/umount cdroms correctly,
nealbirch, 12/08/2002
-
[SM-Discuss] problems with mtab,
nealbirch, 12/08/2002
-
Re: [SM-Discuss] problems with mtab,
Jonathan Evraire, 12/08/2002
-
Re: [SM-Discuss] problems with mtab,
Jack Bertram, 12/09/2002
- Re: [SM-Discuss] problems with mtab, nealbirch, 12/09/2002
-
Re: [SM-Discuss] problems with mtab,
Jack Bertram, 12/09/2002
-
Re: [SM-Discuss] problems with mtab,
Nick Jennings, 12/08/2002
-
Re: [SM-Discuss] problems with mtab,
nealbirch, 12/08/2002
-
Re: [SM-Discuss] problems with mtab,
Nick Jennings, 12/09/2002
- Re: [SM-Discuss] problems with mtab, nealbirch, 12/09/2002
- Re: [SM-Discuss] problems with mtab, Dufflebunk, 12/10/2002
-
Re: [SM-Discuss] problems with mtab,
Casey Harkins, 12/10/2002
- Re: [SM-Discuss] problems with mtab, nealbirch, 12/10/2002
- Re: [SM-Discuss] problems with mtab, Dufflebunk, 12/10/2002
-
Re: [SM-Discuss] problems with mtab,
Nick Jennings, 12/09/2002
-
Re: [SM-Discuss] problems with mtab,
nealbirch, 12/08/2002
- Re: [SM-Discuss] problems with mtab, Tom Garland, 12/08/2002
-
Re: [SM-Discuss] problems with mtab,
Jonathan Evraire, 12/08/2002
-
[SM-Discuss] problems with mtab,
nealbirch, 12/08/2002
-
Re: [SM-Discuss] how to allow users to mount/umount cdroms correctly,
nealbirch, 12/08/2002
Archive powered by MHonArc 2.6.24.