Mailinglist Archive: opensuse-autoinstall (51 mails)

< Previous Next >
[opensuse-autoinstall] Mounting SWAP by UUID?
I'm not using LVM and I would like all my entries in /etc/fstab to use
UUID including swap.

On SLES11 or SL11.1 when I use the following:

<partition>
<create config:type="boolean">true</create>
<crypt_fs config:type="boolean">false</crypt_fs>
<filesystem config:type="symbol">swap</filesystem>
<format config:type="boolean">true</format>
<loop_fs config:type="boolean">false</loop_fs>
<mount>swap</mount>
<mountby config:type="symbol">uuid</mountby>
<partition_id config:type="integer">130</partition_id>
<partition_nr config:type="integer">7</partition_nr>
<resize config:type="boolean">false</resize>
<size>500M</size>
</partition>

It results in the following line in /etc/fstab

UUID= swap swap defaults 0 0

Thanks,

Dax Kelson
Guru Labs

--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups