Re: Patch suggestion for sysupgrade

2019-11-15 Thread Raimo Niskanen
On Fri, Nov 15, 2019 at 07:00:05AM +0100, NilsOla Nilsson wrote: > I have upgraded a machine where /home was NFS-mounted, > like this: > - check that the / partition has space for the files > that will populate /home/_sysupgrade > - unmount /home > - comment ut the /home line in /etc/fstab > -

Re: Patch suggestion for sysupgrade

2019-11-15 Thread Raimo Niskanen
On Thu, Nov 14, 2019 at 04:59:23PM +, gil...@poolp.org wrote: > A similar patch for this was sent to tech@ by Renaud Allard, you might want to > go review the "sysupgrade: Allow to use another directory for data sets" > thread > and comment it. Thanks for the pointer! I see in that thread

Re: Patch suggestion for sysupgrade

2019-11-14 Thread NilsOla Nilsson
I have upgraded a machine where /home was NFS-mounted, like this: - check that the / partition has space for the files that will populate /home/_sysupgrade - unmount /home - comment ut the /home line in /etc/fstab - upgrade with sysupgrade - restore the line in /etc/fstab - mount -a All this

Re: Patch suggestion for sysupgrade

2019-11-14 Thread gilles
A similar patch for this was sent to tech@ by Renaud Allard, you might want to go review the "sysupgrade: Allow to use another directory for data sets" thread and comment it. November 14, 2019 3:01 PM, "Raimo Niskanen" wrote: > The use case for this patch is that in our lab network we have

Patch suggestion for sysupgrade

2019-11-14 Thread Raimo Niskanen
The use case for this patch is that in our lab network we have NFS automounted /home/* directories, so using /home/_sysupgrade for sysupgrade does not work. With this patch it is easy to modify /usr/sbin/sysupgrade and change just the line SETSDIR=/home/_sysupgrade to point to some other local