Re: CF and Disk Writes
[email protected] Fri, 21 Jun 2002 11:07:00 -0700
| Newsgroups | gmane.os.openbsd.embedded |
|---|---|
| Message-ID | <[email protected]> |
Chuck Yerkes <[email protected]> writes: > Quoting [email protected] ([email protected]): >> Along the lines of what a few other people have posted (Chuck Yerkes >> for one), I modified the rc file to not remount the CF read/write at >> boot time, and to extract a tar file of /var into an MFS partition. > > Actually, I have /var/mfs/ mounted. > On startup, after mounting that, I rsync -av /var/mfs.PROTO/ /var/mfs/ > It's got the basics to run (dhcpd.leases, some namedb stuff I want, > structure for /var/run/). Yeah, I think you probably have a slightly more refined setup. I went for a quicker hack to get it in place. The idea came from your posts, though. > I tweaked libutil to use /dev/term/ for ptys. > Must redo that "right" to get wtmp to work, but on login, > there's a chown that happens to the device, so the startup > also does: > mount /dev/term/ #(mfs) > (cd /dev/term && sh /dev/MAKEDEV terms) #(build devices on /dev/term/). > > I'd done those libutil hack a long time ago when I was playing > with readonly root partitions in general. I haven't seen problems (so far) without any libutil or pty changes. Under what circumstances do you run into problems if you don't do it? Steve.