mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* A question about proc file system
@ 2012-11-28  2:55 Yangbin (Robin)
  2012-11-28 12:08 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Yangbin (Robin) @ 2012-11-28  2:55 UTC (permalink / raw)
  To: linux-kernel, linux-fs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 729 bytes --]

Hi all:

	I write a kernel module which make a dir and create a file in proc file system. 
I use proc_mkdir() and create_proc_entry() in init and use remove_proc_entry() in exit.
Now I got a problem during my test:
1. open terminal A, insmod and cd into the dir the module created in proc
2. open terminal B. rmmod and insmod angain.
Then I cannot see the file which should be created by the module, unless terminal A quit the dir.

This will be ok with regale file system like ext3, one teminal's operation will not affert others.
Is this a bug or not?

Regards
Robin
ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-28 12:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-28  2:55 A question about proc file system Yangbin (Robin)
2012-11-28 12:08 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®