Re: deprecating /usr as a standalone filesystem?
Em Qua, 2009-05-06 às 00:30 +0200, Stefano Zacchiroli escreveu:
> On Wed, May 06, 2009 at 12:10:54AM +0200, Joerg Jaspert wrote:
> > > So, does anybody still see reasons to continue supporting a standalone
> > > /usr?
> > There had been lots of responses to that.
> Yes, the most repeated argument has been mount /usr via NFS.
> Unfortunately, nobody yet explained how do they update the resulting
> cluster of machines.
You have a single /usr shared-mounted for several instances and a a /
for each machine. Then you run the upgrade in one of those images and do
1 - use a script to extract files not in /usr in that packages and
install it in each root mount
2 - use a script to change the dpkg database in each root mount telling
that the packages were unpacked but not configured.
3 - run dpkg --configure -a in each root mount to get the maint scripts
to be run...
4 - profit