mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Before writing data to the disk, fdasd always checks whether a partition is specified to prevent writing partition tables to a partition. However, this also prevents the user from writing partition tables to loop devices > loop0, even when the force option is specified. Technically, those are not partitions. Therefore, allow writing partition tables to partitions when the force option is specified. Fixes: #4 Reviewed-by: Stefan Haberland <sth@linux.vnet.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.vnet.ibm.com> Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>