sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: Casey Harkins <charkins AT upl.cs.wisc.edu>
- To: Mads Laursen <dossen+sgl AT daimi.au.dk>
- Cc: sm-discuss <sm-discuss AT lists.ibiblio.org>
- Subject: Re: [SM-Discuss] /etc/localtime
- Date: Fri, 7 Nov 2003 21:56:19 -0600 (CST)
On Fri, 7 Nov 2003, Mads Laursen wrote:
> > NEEDS="+local_fs" will work as long as /usr can be mounted. Another option
> > suggested on the Yellow Dog Linux mailing list, was to copy -R
> > /usr/share/zoneinfo onto / without /usr mounted. This way the symlink will
> > work with or without /usr mounted. I don't see how this could be done
> > automatically from within the glibc spell safely though.
>
> How about something like:
>
> mkdir -p SOME_DIR/root
> mount --bind / SOME_DIR/root
> if ! [ -d SOME_DIR/root/usr/share/zoneinfo ]; then
> mkdir -p SOME_DIR/root/usr/share/zoneinfo
> cp -rv /usr/share/zoneinfo/* SOME_DIR/root/usr/share/zoneinfo/
> fi
> umount SOME_DIR/root
>
> AFAIK mount --bind binds the actual directory tree pointed to, without
> regard for anything mounted ontop of it.
Just checked, that will work perfectly. Anyone see any reason not to do
this? If not, I'll bug it with this fix.
-casey
-
Re: [SM-Discuss] /etc/localtime
, (continued)
-
Re: [SM-Discuss] /etc/localtime,
Hamish Greig, 11/05/2003
- Re: [SM-Discuss] /etc/localtime, Eric Sandall, 11/05/2003
-
Re: [SM-Discuss] /etc/localtime,
Robin Cook, 11/05/2003
-
Re: [SM-Discuss] /etc/localtime,
Hamish Greig, 11/05/2003
- Re: [SM-Discuss] /etc/localtime, Eric Sandall, 11/06/2003
- Re: [SM-Discuss] /etc/localtime, Robin Cook, 11/06/2003
-
Re: [SM-Discuss] /etc/localtime,
Hamish Greig, 11/05/2003
-
Re: [SM-Discuss] /etc/localtime,
Casey Harkins, 11/06/2003
-
Re: [SM-Discuss] /etc/localtime,
Eric Sandall, 11/06/2003
-
Re: [SM-Discuss] /etc/localtime,
Casey Harkins, 11/06/2003
-
Re: [SM-Discuss] /etc/localtime,
Mads Laursen, 11/07/2003
-
Re: [SM-Discuss] /etc/localtime,
Casey Harkins, 11/07/2003
- Re: [SM-Discuss] /etc/localtime, Paul Mahon, 11/08/2003
-
Re: [SM-Discuss] /etc/localtime,
Hamish Greig, 11/08/2003
- Re: [SM-Discuss] /etc/localtime, Casey Harkins, 11/08/2003
- Re: [SM-Discuss] /etc/localtime, Seth Alan Woolley, 11/08/2003
-
Re: [SM-Discuss] /etc/localtime,
Casey Harkins, 11/07/2003
-
Re: [SM-Discuss] /etc/localtime,
Mads Laursen, 11/07/2003
-
Re: [SM-Discuss] /etc/localtime,
Casey Harkins, 11/06/2003
-
Re: [SM-Discuss] /etc/localtime,
Eric Sandall, 11/06/2003
-
Re: [SM-Discuss] /etc/localtime,
Hamish Greig, 11/05/2003
Archive powered by MHonArc 2.6.24.