tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: altroot



On Wed, Nov 13, 2024 at 08:42:30AM +1100, matthew green wrote:
 > > Whats the point of /altroot? hier(7) says "Alternate root file system, 
 > > in case of disaster." Is there a way to boot such that / is not inode 2, 
 > > but that of altroot?
 > 
 > it's a mountpoint for that file system.
 > 
 > on my main devbox, when i boot -current, /altroot is the -10 install, and
 > when i boot -10, /altroot is the -current install.

If you put / on wd0a, /usr on wd0e, /altroot on wd1a, and /altroot/usr
on wd1e, and make sure both disks have bootblocks, it takes a very
exotic set of failures to force you to go and dig up rescue media.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index