Re: Don't delete a partition, if it doesn't exist...create it.

686f6c6d <[email protected]> Sat, 19 Jul 2014 11:00:09 +0200
Newsgroups gmane.linux.suse.autoinstall
Message-ID <CAMEHyeEzUJ=vT-9xf14K==brB=dqoh9J2KM5aDEBKoDzJ2jWHg@mail.gmail.com>
On Wed, Jun 25, 2014 at 3:42 PM, Daniel Spannbauer <[email protected]> wrote:
> We want a partition on the system to store some settings in it which
> should not be deleted at a new installation.
>
> If the partition is not there it should be created.
> Doesn't matter if the partition is at the beginning or the end of the
> harddisk.

Sorry, been meaning to answer for weeks. It is possible, hope you have
found it yourself in the meantime…
You can just set a partition to be kept with initialize=false for the
drive (http://doc.opensuse.org/projects/autoyast/configuration.html#idm139795988123840)
and create=false, format=false for the partition(s) in question
(http://doc.opensuse.org/projects/autoyast/configuration.html#idm139795988095376).

We use it to keep our /scratch. If you want, I can give you the
snippet of our live (12.3) profile next week.



-- 
Kind regards
    Christopher 'm4z' Holm / 686f6c6d

"We must respect the other fellow's religion, but only in the sense
and to the extent that we respect his theory that his wife is
beautiful and his children smart." --H. L. Mencken
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]