CRAMFS: Possible problem with named pipes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:[email protected]

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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux