Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jan 2002 21:31:55 -0500
From:      "Louis A. Mamakos" <louie@TransSys.COM>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   what slice did I boot from?
Message-ID:  <200201050231.g052Vt791486@whizzo.transsys.com>

next in thread | raw e-mail | index | archive | help

I dunno if this has come up before or not, but thought I would ask.

I've got one of the litle soekris net4501 boards that I use as a
router/firewall/NAT box, and it works really good.  I have a stripped
down FreeBSD system that I run in a 16MB partition on an 32MB Compact
Flash card plugged into the net4501.  Actually, I have two 16MB 
slices, and my goal is to be running from one, and installing
the "next" version into the second slice.  That way, if the new one
distribution screws up, I can back-out to the older on on the other
partition.

That problem is that I have to generate a distribution with the
right /etc/fstab to reflect which of the two slices it will
be installed into, which is ugly.  What would be Really Nice is
a version of the "compatibility" disk devices which would be
associated with the "active" slice that was booted from, rather
than the first FreeBSD slice found on the disk.  This seems like
one mechanism to get what I want.  Unfortunately, this information
doesn't seem to get propagated up to the slice code from what I can
tell.

Any suggestions on alternative mechanisms?

louie


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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