CRAMFS: Possible problem with named pipes
From: Michael KÃnig
Date: Wed Jun 13 2007 - 03:57:57 EST
Hello there,
I'm using Linux on a device with an ETRAX100LX utilizing SDK 2.10 fom Axis,
which includes Linux 2.6.19.
I tried to use the latest CRAMFS code from the GIT repository, but I get
the following error:
fs/cramfs/inode.c: In function `cramfs_readdir':
fs/cramfs/inode.c:342: structure has no member named `f_path'
I hope the behaviour is also reproducable with the latest code.
Unfortunately I'm not sure which revision the code in the Axis distribution
has, since there is no information in the source files.
To reproduce the problem follow these steps:
1. Create two named pipes on a CRAMFS image (in my case "fifo1" and
"fifo2").
2. Output the pipes on separate terminals with "cat fifo1" and "cat fifo2".
3. Pipe a large text file (around 1MiB) into one of the pipes "cat
large.txt > fifo1"
The result of these steps should be that some parts of the text file are
piped to fifo1 while other parts are piped to fifo2.
I'm no kernel nor file system expert, but since pipes should be handled in
the VFS but the inodes are provided by the file system (as far as I
understand), this could be an inode mixup regarding named pipes in the
CRAMFS.
Thanks in advance for any hints that might clear up this issue.
--
Mit freundlichen GrÃÃen
Best regards
Michael KÃnig
ipcas GmbH
Wetterkreuz 17
91058 Erlangen, Germany
Tel.: +49 9131 7677-31
Fax: +49 9131 7677-78
mailto:Michael.Koenig@xxxxxxxx
GeschÃftsfÃhrer: Dipl.-Ing. S. Sutiono
Sitz der Gesellschaft: Erlangen
Registergericht: FÃrth, HBR 3676
WEEE-Reg.-Nr. DE 77202473
Hinweis: Diese E-Mail und etwaige Anlagen kÃnnen Betriebs- oder
GeschÃftsgeheimnisse, dem Anwaltsgeheimnis unterliegen oder sonstige
vertrauliche Informationen enthalten. Sollten Sie diese E-Mail
irrtÃmlich erhalten haben, ist Ihnen der Status dieser E-Mail bekannt.
Bitte benachrichtigen Sie uns in diesem Fall sofort durch Antwort-Mail
und lÃschen Sie diese E-Mail nebst etwaigen Anlagen von Ihrem System.
Ebenso dÃrfen Sie diese E-Mail oder seine Anlagen
nicht kopieren oder an Dritte weitergeben. Vielen Dank.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/