Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] /etc/localtime

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Paul Mahon <dufflebunk AT dufflebunk.homeip.net>
  • To: Casey Harkins <charkins AT upl.cs.wisc.edu>
  • Cc: sm-discuss <sm-discuss AT lists.ibiblio.org>, Mads Laursen <dossen+sgl AT daimi.au.dk>
  • Subject: Re: [SM-Discuss] /etc/localtime
  • Date: Sat, 08 Nov 2003 00:18:21 -0500

Some prople have very little room on their / partition. This will fail
if there is much data being put there at all. I would suggest making
this optional with a very clear message.

On Fri, 2003-11-07 at 22:56, Casey Harkins wrote:
> 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
>
>
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
--
De mortuis nihil nisi bonum.

What is that funny looking stuff in the attachment?
http://www.technomom.com/cynthia/pgp/

Attachment: signature.asc
Description: This is a digitally signed message part




Archive powered by MHonArc 2.6.24.

Top of Page