Re: 9.1-RC3 LiveCD missing features

From: Ian Lepore <freebsd_at_damnhippie.dyndns.org>
Date: Sat, 08 Dec 2012 10:42:40 -0700
On Fri, 2012-12-07 at 23:31 -0800, Garrett Cooper wrote:
> On Fri, Dec 7, 2012 at 11:06 PM, CeDeROM <cederom_at_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
Received on Sat Dec 08 2012 - 16:43:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:33 UTC