Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Dec 2012 10:42:40 -0700
From:      Ian Lepore <freebsd@damnhippie.dyndns.org>
To:        Garrett Cooper <yanegomi@gmail.com>
Cc:        Bas Smeelen <b.smeelen@ose.nl>, freebsd-current@freebsd.org, CeDeROM <cederom@tlen.pl>
Subject:   Re: 9.1-RC3 LiveCD missing features
Message-ID:  <1354988560.87661.290.camel@revolution.hippie.lan>
In-Reply-To: <CAGH67wTLVNAk3k=Cfg2oHhchOk9cXSZO7ReKy2%2Bbdy6b6XFvnw@mail.gmail.com>
References:  <CAFYkXj=R=V=3pUH9FbKq3pdqtga-EuJuTB1avZxi2bkLhUs5WA@mail.gmail.com> <50C26999.6090802@gmail.com> <50C26EF3.5070300@ose.nl> <1354923273.87661.273.camel@revolution.hippie.lan> <CAFYkXjnto9nnkCopMPRkwGShPZ4GcHzHxD15y4iffUHri1K5Qg@mail.gmail.com> <CAGH67wTLVNAk3k=Cfg2oHhchOk9cXSZO7ReKy2%2Bbdy6b6XFvnw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2012-12-07 at 23:31 -0800, Garrett Cooper wrote:
> On Fri, Dec 7, 2012 at 11:06 PM, CeDeROM <cederom@tlen.pl> wrote:
> > Hello Ian :-)
> >
> > This is the problem - / is read only and /etc/resolv.conf already links to
> > nonexistent file. This way I cannot modify its content nor link other file
> > (i.e. /var/resolv.conf) to /etc/resolv.conf. Creating /var/resolv.conf does
> > not help either.
> >
> > I think /etc/resolv.conf should point to /var/resolv.conf from start so the
> > resolver is functional :-)
> 
>     I generally get around this with mdmfs and unionfs mounts, but
> it's a bit annoying... I'll see if I can file a PR with all of the
> things that need to be fixed/enhanced and maybe fix some of the items
> if I get some time (if the liveCD used rc.initdiskless it would be
> considerably simpler and some key filesystems would be writable after
> boot).
> Thanks,
> -Garrett

It shouldn't require rc.initdiskless; just the fact that rc.d/var
detects it can't write to /var should cause it to automatically create a
memory fileystem for it, and minimally populate it.  As far as I know,
this is automatic unless you use rc.conf knobs to disable it.

-- Ian





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1354988560.87661.290.camel>