Re: setup-storage -D
> On Tue, 27 May 2014 22:11:01 +0200, Thomas Neumann > said: > What do you think about explicitely mentioning quoting in the documentation? I just added a comment on this. Will be included in FAI 4.2. -- regards Thomas
Re: setup-storage -D
Hello On Tuesday 27 May 2014 21:44:22 Thomas Lange wrote: >> /usr/sbin/setup-storage -d -D sda sdb sdc sdd >> setup-storage is running in test-only mode >> disklist: sda >> >> suggested solution: parse given string as comma separated values > My suggested solution: > > Use setup-storage -d -D 'sda sdb sdc sdd' or " instead of '. As with > other Unix commands, the option only takes one argument. If you neeed > to specify more than one argument, put them between quotes. I ~totally~ forgot about quoting. I feel pretty stupid now. What do you think about explicitely mentioning quoting in the documentation? Since setup-storage happily ignores any extra disks if the value is not quoted and the parsed value is only visible in debug mode it might take a bit to spot the mistake. bye thomas
Re: setup-storage -D
> On Tue, 27 May 2014 21:23:35 +0200, Thomas Neumann > said: > /usr/sbin/setup-storage -d -D sda sdb sdc sdd > setup-storage is running in test-only mode > disklist: sda > suggested solution: parse given string as comma separated values My suggested solution: Use setup-storage -d -D 'sda sdb sdc sdd' or " instead of '. As with other Unix commands, the option only takes one argument. If you neeed to specify more than one argument, put them between quotes. -- regards Thomas