FS#19279 - automatic procedure missing extended partitioning

Attached to Project: Release Engineering
Opened by Roman Widmann (archme) - Wednesday, 28 April 2010, 14:54 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Monday, 26 November 2012, 04:46 GMT
Task Type Bug Report
Category AIF
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 2009.08
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hello,

Currently Testing automatic procedure.
It seems extended partitions are not supported.
This means you can maximum have 4 partions with automatic procedure.

This (one line) patch adds an "extended" fstype:

--- src/aif-git-20100404/src/core/libs/lib-blockdevices-filesystems.sh 2010-04-28 16:35:52.932506619 +0200
+++ src1//aif-git-20100404/src/core/libs/lib-blockdevices-filesystems.sh 2010-04-28 16:38:40.665721662 +0200
@@ -367,6 +367,7 @@
fstype=$(echo $fsspec | tr -d ' ' | cut -f2 -d:)
fstype_spec=","
[ "$fstype" = "swap" ] && fstype_spec=",S"
+ [ "$fstype" = "extended" ] && fstype_spec=",E"

bootflag=$(echo $fsspec | tr -d ' ' | cut -f3 -d:)
bootflag_spec=""


One can then eg use following syntax in automatic configs:
PARTITIONS='/dev/sda 200:ext2:+ 4096:swap 20480:xfs :extended 51200:xfs *:xfs'
This task depends upon

Closed by  Gerardo Exequiel Pozzi (djgera)
Monday, 26 November 2012, 04:46 GMT
Reason for closing:  Deferred

Loading...