Re: disklabel template: percentage of disk optional?

2016-10-06 Thread Otto Moerbeek
On Thu, Oct 06, 2016 at 09:15:50AM +0200, Theo Buehler wrote: > On Thu, Oct 06, 2016 at 08:57:44AM +0200, Otto Moerbeek wrote: > > On Tue, Oct 04, 2016 at 01:26:06PM +0200, Otto Moerbeek wrote: > > > > > On Tue, Oct 04, 2016 at 04:00:50AM -0700, Claus Assmann wrote: > > > > > > > On Tue, Oct

Re: disklabel template: percentage of disk optional?

2016-10-06 Thread Theo Buehler
On Thu, Oct 06, 2016 at 08:57:44AM +0200, Otto Moerbeek wrote: > On Tue, Oct 04, 2016 at 01:26:06PM +0200, Otto Moerbeek wrote: > > > On Tue, Oct 04, 2016 at 04:00:50AM -0700, Claus Assmann wrote: > > > > > On Tue, Oct 04, 2016, Dmitrij D. Czarkoff wrote: > > > > > > [please do not Cc me] > > >

Re: disklabel template: percentage of disk optional?

2016-10-06 Thread Otto Moerbeek
On Tue, Oct 04, 2016 at 01:26:06PM +0200, Otto Moerbeek wrote: > On Tue, Oct 04, 2016 at 04:00:50AM -0700, Claus Assmann wrote: > > > On Tue, Oct 04, 2016, Dmitrij D. Czarkoff wrote: > > > > [please do not Cc me] > > > > > I shouldn't have started on sending patches at 3AM. This one should do

Re: disklabel template: percentage of disk optional?

2016-10-04 Thread Claus Assmann
On Tue, Oct 04, 2016, Otto Moerbeek wrote: > On Tue, Oct 04, 2016 at 04:00:50AM -0700, Claus Assmann wrote: > > This doesn't seem to resolve the problem that sa->rate is > > not initialized, so a simple file like this still triggers > Likely, this is better. > RCS file:

Re: disklabel template: percentage of disk optional?

2016-10-04 Thread Otto Moerbeek
On Tue, Oct 04, 2016 at 04:00:50AM -0700, Claus Assmann wrote: > On Tue, Oct 04, 2016, Dmitrij D. Czarkoff wrote: > > [please do not Cc me] > > > I shouldn't have started on sending patches at 3AM. This one should do > > what I intended it to do. Sorry for noise. > > > + else if (t

Re: disklabel template: percentage of disk optional?

2016-10-04 Thread Claus Assmann
On Tue, Oct 04, 2016, Dmitrij D. Czarkoff wrote: [please do not Cc me] > I shouldn't have started on sending patches at 3AM. This one should do > what I intended it to do. Sorry for noise. > + else if (t == NULL && sa->minsz != sa->maxsz) > + errx(1, "%s: parse

Re: disklabel template: percentage of disk optional?

2016-10-03 Thread Dmitrij D. Czarkoff
"Dmitrij D. Czarkoff" wrote: >"Dmitrij D. Czarkoff" wrote: > >>"Dmitrij D. Czarkoff" wrote: >> >>>Claus Assmann wrote: >>> AFAICT the "percentage of disk" is optional >>> >>>disklabel(8) says: >>> >>>|

Re: disklabel template: percentage of disk optional?

2016-10-03 Thread Dmitrij D. Czarkoff
"Dmitrij D. Czarkoff" wrote: >"Dmitrij D. Czarkoff" wrote: > >>Claus Assmann wrote: >> >>>AFAICT the "percentage of disk" is optional >> >>disklabel(8) says: >> >>| A template for the automatic allocation can be passed \ >>| to

Re: disklabel template: percentage of disk optional?

2016-10-03 Thread Dmitrij D. Czarkoff
"Dmitrij D. Czarkoff" wrote: >Claus Assmann wrote: > >>AFAICT the "percentage of disk" is optional > >disklabel(8) says: > >| A template for the automatic allocation can be passed \ >| to disklabel using >| the -T option. The template consists of

Re: disklabel template: percentage of disk optional?

2016-10-03 Thread Dmitrij D. Czarkoff
Claus Assmann wrote: >AFAICT the "percentage of disk" is optional disklabel(8) says: | A template for the automatic allocation can be passed to disklabel using | the -T option. The template consists of one line per partition, with | each line giving mountpoint,

disklabel template: percentage of disk optional?

2016-10-03 Thread Claus Assmann
While playing around with the autoinstaller and autodisklayout I ran into several problems, some of which I worked around and for one I created a possible patch, but I'm not sure if that's the right thing to do. I have a disklayout template like this: / 500M swap1G /tmp1G-2G /var