FS#15455 - No swap mount in fstab

Attached to Project: Release Engineering
Opened by Gerhard Brauer (GerBra) - Thursday, 09 July 2009, 09:02 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Sunday, 19 July 2009, 12:00 GMT
Task Type Bug Report
Category AIF
Status Closed
Assigned To Gerhard Brauer (GerBra)
Dieter Plaetinck (Dieter_be)
Architecture All
Severity High
Priority Normal
Reported Version 2009.08-alpha
Due in Version 2009.08-RC
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Only blockdevices for which user set a mountpoint are filled into the generated fstab file. Swap (also if defined) is missing. So system is installed without active swap.

Will send a patch later.
This task depends upon

Closed by  Dieter Plaetinck (Dieter_be)
Sunday, 19 July 2009, 12:00 GMT
Reason for closing:  Fixed
Additional comments about closing:  thanks G for testing/confirming
Comment by Gerhard Brauer (GerBra) - Thursday, 09 July 2009, 12:22 GMT
Patch attached
Comment by Gerhard Brauer (GerBra) - Thursday, 09 July 2009, 12:27 GMT
We should also check if aif handle other pseudo filesystems which normally appear in fstab, like:
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
Comment by Dieter Plaetinck (Dieter_be) - Sunday, 12 July 2009, 13:48 GMT
I applied the patch but didn't test myself yet.
Comment by Dieter Plaetinck (Dieter_be) - Sunday, 19 July 2009, 11:33 GMT
devpts and tmpfs both are in /etc/fstab and are mounted on the new system.
the swap however, doesn't seem to work (for autoprepare at least), I'll have a look to see why
Comment by Gerhard Brauer (GerBra) - Sunday, 19 July 2009, 11:50 GMT
With above patch swap worked fine (tested with/whithout one and more swpa partitions).
Comment by Dieter Plaetinck (Dieter_be) - Sunday, 19 July 2009, 11:59 GMT
My mistake. I tested with an older aif version.

Loading...