public inbox for gentoo-installer@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-installer] partition mounting
@ 2006-09-11 18:38 Devils-Hawk
  2006-09-12 11:49 ` Benjamin Urban
  0 siblings, 1 reply; 4+ messages in thread
From: Devils-Hawk @ 2006-09-11 18:38 UTC (permalink / raw
  To: gentoo-installer

[-- Attachment #1: Type: text/plain, Size: 733 bytes --]

There are IMHO currently 2 small problems with the way the partition
mounting is handled:

1.) It is not possible to mount a partition the installer recognizes as
unknown because it tries to call "mount -t unknown" which of course will
always fail. The attached fix does not really break something because if
mount recognizes the partition type it will succeed if it doesn't well
it will fail the same way it did before.

2.) It is possible to define Other partition types in the ncurses based
version and safe it to an installprofile.xml but it is not possible to
load such a profile because the self defined type is not a known type,
which results in the installer deleting the partition regardless of the
format or resize flags.


[-- Attachment #2: unknown_partition.patch --]
[-- Type: text/plain, Size: 697 bytes --]

diff -r -puN installer/src/GLIArchitectureTemplate.py installer_bkup/src/GLIArchitectureTemplate.py
--- installer/src/GLIArchitectureTemplate.py	2006-09-11 18:57:26.000000000 +0200
+++ installer_bkup/src/GLIArchitectureTemplate.py	2006-09-11 16:09:11.000000000 +0200
@@ -407,8 +407,6 @@ class ArchitectureTemplate:
 					if partition_type:
 						if partition_type == "fat32" or partition_type == "fat16": partition_type = "vfat"
 						partition_type = "-t " + partition_type + " "
-						if partition_type == "-t unknown ": partition_type = ""
-
 					parts_to_mount[mountpoint] = (mountopts, partition_type, tmp_partitions[partition]['devnode'])
 					
 				if partition_type == "linux-swap":


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-09-12 13:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-11 18:38 [gentoo-installer] partition mounting Devils-Hawk
2006-09-12 11:49 ` Benjamin Urban
2006-09-12 12:49   ` Devils-Hawk
2006-09-12 13:08     ` Andrew Gaffney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox