reiserfs and FAI 3.2.20

Mathieu Alorent malorent at echo.fr
Mon Jan 11 12:35:22 CET 2010


hi,

i don't know if it's a known bug (and maybe already triaged in newer
version than me).

We've encountered problem with a class trying to format a partition as
reiserfs. The system silently waits for a user input ("y" + Enter) on
reiser formatting action.

I've solved the problem by two methods:

- update my class/disk_config:
add createopts="-f" to each reiserfs lines

or

- patch file usr/share/fai/setup-storage/Commands.pm (~ line 72), like
already done with xfs filesystem:

  ($fs eq "xfs") and $create_options = "$create_options -f" unless ($create_options =~ m/-f/);
+ ($fs eq "reiserfs") and $create_options = "$create_options -f" unless ($create_options =~ m/-f/);
  my $pre_encrypt = "exist_$device";

hope this will help someone else.

Regards

-- 
Mathieu Alorent
Shell&Core Sophia-Antipolis
AUSY
Pour France Telecom – OPF/PORTAILS/DOP/HEBEX/SOPHIA

Tél: 04 97 12 6226

malorent.ext at orange-ftgroup.com

La signature de ce mail peut être vérifiée en installant les autorités de certifications CAcert (Class1 et Class3) :
http://www.cacert.org/certs/root.crt
http://www.cacert.org/certs/class3.crt.

http://www.cacert.org/index.php?id=3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4892 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20100111/e787049d/attachment.bin 


More information about the linux-fai mailing list