cannot write to IMFS at /etc

Wolfram Wadepohl Wolfram.Wadepohl at
Fri Jun 11 05:42:23 UTC 2010


trying to copy a hosts file from /ap4 (mounted root of CF) to /etc 
fopen("/etc/hosts", "w") everytime fails.

I'm using 4.6.99. Tracing down the issue to imfs_eval.c line 440:
    * We have evaluated the path as far as we can.
    * Verify there is not any invalid stuff at the end of the name.

#440  for( ; path[i] != '\0'; i++) {
#441    if ( !IMFS_is_separator( path[ i ] ) )
#442      rtems_set_errno_and_return_minus_one( ENOENT );
The debugger shows: path = 0x001CA531 -> "etc/hosts".

What's my mistake? Thx.

Schöne Grüße aus Reutlingen

Wolfram Wadepohl
Forschung & Entwicklung

Werk Reutlingen

Siemensstraße 3
72766 Reutlingen

Tel.  +49 7121 514-289
Fax   +49 7121 514-299

eMail Wolfram.Wadepohl at
       W.Wadepohl at

Diese Nachricht ist keine geschäftliche Mitteilung i. S. des EHUG.

Bitte senden Sie mir keine Word- oder PowerPoint- (tm Microsoft) oder OOXML 
Senden Sie mir einfachen Text, HTML oder PDF(ISO/IEC 32000).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4755 bytes
Desc: S/MIME Cryptographic Signature
URL: <>

More information about the users mailing list