Newsgroups: sol.lists.freebsd.hackers
From: tlambe...@mindspring.com
Date: 11 May 2002 07:58:03 +0000
Local: Sat, May 11 2002 3:58 am
Subject: Re: nextboot loader diff
Gordon Tetlow wrote: [ ... ] You *did* ask for comments... > > There should be a list, so that in a brown-out or whatever, you I don't understand what it does, then. The original Whistle code > > don't end up toggling back to the previous version accidently. > This is not something that is meant for you to massage which root was intended to attempt to boot 3 times from one partition, and then 3 times from another. If a boot was successful, then in the last rc file before the getty's That way, on each success, the counter was reset, so in general, a When the failure occurred, then the alternate root was the one whose Worst case, you could power cycle a box three times quickly to force The general failure case is not an indefinite hang, but a reset before Note that images are tested before they are shipped, so the worst I've personally had to solve this same problem several times now. > > You should only ever rewrite the contents of a single file, and I don't understand the "YES"/"NO" thing, then. There is one byte > > it shouldn't be an important file. > Yes, that's exactly what my patch does. difference in the file length, which I don't think can be properly accounted, if you do the "YES"/"NO" thing. > > The existance/non-existance of the single file should be enough The file is the nextboot.conf file. And unlinking it is not something > > to trigger/suppress the nextboot behaviour. > I can't unlink files in the loader, so the presence of such a file which you want to do, actually. I think we are misunderstanding each other's intent here. > > Don't assume that the nextboot file will be on the same disk and/or Not really. Consider that if I switch root partitions, then, by > > partition as the boot and other config file code. > Well, I'm assuming it's on the root partition. It would be kinda silly for definition, I switch nextboot files. Basically, the InterJet was laid out: boot code (including nextboot list) The fstab's on #1 and #2 were opposite, so that you could mount and An upgrade was: mount opposite "root" Each revision had data management upgrade/downgrade scripts; these > > Together, these things will allow the new code to solve the same I do. He committed some, but not all, of the code that Jon Mini > > problem that the old code solved on the InterJet. > I've never heard nor seen the old code. I don't know what it did, and I and James wrote (Jon says some of it was based on code I wrote). The design I did at ClickArray was based on the Whistle design from when I worked at Whistle with Julian and Archie. The ClickArray code, if it was intended to solve the problem that The code you are talking about seems limited to replacing only the This isn't really sufficient for any embedded system that needs to I'm not trying to dump on your code; I'm just saying that it's You asked for comments ...those are mine. -- Terry To Unsubscribe: send mail to majord...@FreeBSD.org You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||