Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] procfs pseudo-file without a module load?
- Date: Mon, 20 Jul 2015 19:23:05 +0200
- From: Jens Oliver John <lists@example.com>
- Subject: Re: [tlug] procfs pseudo-file without a module load?
- References: <CAJMSLH7CPOJjdbwYVgE_n=XgDLa7ijxNa0Qj9L5TJ8EQx0-_ow@mail.gmail.com> <CAJMSLH5-qkDV_jVGzPZgNkuXC1G-K+txYyZC5OUAdfqt9+a4dQ@mail.gmail.com>
- User-agent: Mutt/1.5.23+102 (2ca89bed6448) (2014-03-12)
On Mon, Jul 20, 2015 at 12:43:11PM +1000, Akira Kurogane wrote: > As can so often happen writing an email helped me think of a new way to > investigate the issue. And it turns out the answer must be no, you can't fiddle > with the entries under /proc/<pid> directories. I have used POSIX shared memory /dev/shm for things like this in the past. The main inconvenience is that the memory objects cannot be created in a hierarchy "/foo/bar" so I had to use prefices like in "/Foo_bar". Exposing and handling the data is quite convenient since for example you can simply use ftruncate() for managing the file/object size. A drawback could be that POSIX shared memory can be disabled as a kernel option and thus is not guaranteed to always be available. Best regards, Jens.
- Follow-Ups:
- Re: [tlug] procfs pseudo-file without a module load?
- From: Akira Kurogane
- References:
- [tlug] procfs pseudo-file without a module load?
- From: Akira Kurogane
- Re: [tlug] procfs pseudo-file without a module load?
- From: Akira Kurogane
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] procfs pseudo-file without a module load?
- Next by Date: Re: [tlug] procfs pseudo-file without a module load?
- Previous by thread: Re: [tlug] procfs pseudo-file without a module load?
- Next by thread: Re: [tlug] procfs pseudo-file without a module load?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links