[opensuse-autoinstall] How to set filesystem type
I'm using
Le 2010-08-04 09:06, Henrik Schmidt a écrit :
I'm using
and<fstab> with my autoinstall for 11.3, Is it possible to force the filesystem for partitions declared to be formated ? I want them to be ext4 instead of ext3.
This seems to be working:
<partition>
<create config:type="boolean">true</create>
<fstab> <!-- Read data from existing fstab. If multiple root partitions are found, use the one specified below. Otherwise the first root partition is taken --> /dev/sda2 true <!-- all partitions found in fstab will be formatted and mounted by default unless a partition is listed below with different settings --> <partitions config:type="list"> <partition> <format config:type="boolean">true</format> <mount>swap</mount> <mountby config:type="symbol">id</mountby> </partition> <partition> <format config:type="boolean">true</format> <mount>/</mount> <mountby config:type="symbol">id</mountby> </partition> <partition> <format config:type="boolean">false</format> <mount>/export/opt</mount> <mountby config:type="symbol">id</mountby> </partition> <partition> <format config:type="boolean">false</format> <mount>/export/home</mount> <mountby config:type="symbol">id</mountby> </partition> </partitions> </fstab>
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Hi,
On Wednesday, 04 August, 2010 at 06:36 PM, Henrik Schmidt
wrote: I'm using and <fstab> with my autoinstall for 11.3, Is it possible to force the filesystem for partitions declared to be formated ? I want them to be ext4 instead of ext3.
Yes you can. Look at "<filesystem>" tag in http://www.suse.de/~ug/autoyast_doc/CreateProfile.Partitioning.html#id335846 HTH, Srinidhi.
<fstab> <!-- Read data from existing fstab. If multiple root partitions are found, use the one specified below. Otherwise the first root partition is taken --> /dev/sda2 true <!-- all partitions found in fstab will be formatted and mounted by default unless a partition is listed below with different settings --> <partitions config:type="list"> <partition> <format config:type="boolean">true</format> <mount>swap</mount> <mountby config:type="symbol">id</mountby> </partition> <partition> <format config:type="boolean">true</format> <mount>/</mount> <mountby config:type="symbol">id</mountby> </partition> <partition> <format config:type="boolean">false</format> <mount>/export/opt</mount> <mountby config:type="symbol">id</mountby> </partition> <partition> <format config:type="boolean">false</format> <mount>/export/home</mount> <mountby config:type="symbol">id</mountby> </partition> </partitions> </fstab>
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
on Wednesday 04 August 2010 Henrik Schmidt wrote:
I'm using
and <fstab> with my autoinstall for 11.3, Is it possible to force the filesystem for partitions declared to be formated ? I want them to be ext4 instead of ext3.
I did a quick look at the code and indeed, that's not possible in partitioning_advanced yet. I put that on my TODO for openSUSE 11.4 -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug listening to: "See You In Hell" by Suicide Commando -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (4)
-
Henrik Schmidt
-
Pierre Girard
-
Srinidhi B
-
Uwe Gansert