cannot write to IMFS at /etc
Wolfram Wadepohl
Wolfram.Wadepohl at ek-automation.com
Fri Jun 11 05:42:23 UTC 2010
Hello,
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
E&K AUTOMATION GMBH
Werk Reutlingen
Siemensstraße 3
72766 Reutlingen
Deutschland
Tel. +49 7121 514-289
Fax +49 7121 514-299
eMail Wolfram.Wadepohl at ek-automation.com
W.Wadepohl at ieee.org
WWW http://www.ek-automation.com
Diese Nachricht ist keine geschäftliche Mitteilung i. S. des EHUG.
Bitte senden Sie mir keine Word- oder PowerPoint- (tm Microsoft) oder OOXML
Anhänge.
Senden Sie mir einfachen Text, HTML oder PDF(ISO/IEC 32000).
Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html
-------------- 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: <http://lists.rtems.org/pipermail/users/attachments/20100611/85451714/attachment.bin>
More information about the users
mailing list