-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> The situation:
> If you use the compt. mode there is no /proc/ide/hda dir. So "if (-e 
> $settings)" is false. An print in the else tree proves this. So no entry 
> in the $settings is written.
> 
> If you use AHCI "my $hda = readlink ('/dev/dsk') points to /dev/sda and 
> "my $settings_file" points to an non existent directory. So in this case 
> the else tree is used. A print also proves this.
> 
> So in both cases you are in the else tree where nothing is written in 
> $settings_file.
> 
So this means that we have to find an other way to tell parted the
right settings. Like Patrick stated here
  http://lists.gnu.org/archive/html/bug-parted/2004-07/msg00034.html
this will do only on blank drives, and according to this
  http://lists.gnu.org/archive/html/bug-parted/2004-07/msg00030.html
we have to make sure, that parted gets called twice, one time to
blank the partition table and second time to partition the drive
new. Sometimes we do this manually by dd or just by stopping
unattended after formating the drives and booting again.

I think, we should ask Patrick if there should be something adapted
if the newer BIOS/SATA things are used.

Falko
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iQEVAwUBRJA8aYkcY98goEs/AQJC5AgAodNYr37F+UMwfnmj08YqHeYoaWmurZ/o
thqnBtXaxUj0AR4HR8iIYIYsXL7oPCVvh0shYppjC+2/RycFbcj5mz1dRPeziBph
aFVyhGX0ggRqiFdBgdJFaydDmafUD07tGrYE0XcAXz/pvt/TtgTQQJJf1dmrR058
6flwh+qWvIWKQdj2AlkCo+8+451bUaxJ2tOQigj7yR6WrM0+ndVEKs1DbuH8TIQH
RM9k5s6i/NE6RziPJoM+OOZ7R6sJYJoWqc/TYRR9jbu3mjfmSnNKJP4EIE4SOPwz
t7klrVkIgXjjBp/kwoyClWnJpjaSKnH/WnVTlsomNtSXN1+8QwlhXw==
=qe5p
-----END PGP SIGNATURE-----


_______________________________________________
unattended-devel mailing list
unattended-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to