From: "dave" <davekern@ihug.co.nz>
To: <linux-kernel@vger.kernel.org>
Subject: Help writing FS and proc
Date: Tue, 8 Apr 2003 00:57:48 -0700 [thread overview]
Message-ID: <000201c2fda7$727744e0$0b721cac@stacy> (raw)
I am writing a 2.4.x device driver LNVRM I was going to use proc for debug
and interface
But proc dose not support report files because it dose not have OPEN and
RELASE functions
My report files work like this
1. OPEN
Memory is allocated and status information is loaded into the memory
2. READ
Normal read of the memory (report)
5. REALISE
The report memory is freed
so now I want my driver when is starts to make an mount point in /proc/lnvrm
and then
auto mount my FS also my FS will have whatever status info and a fixed file
in it called
device witch will be a char device node witch will point to my auto assigned
mayor / minor
number I do not want to use 2.4.x vdev as this way just dose it all in one
I have done proc code before but run into lots of brick wills I guest I need
to know
1. how do you make a mount point in /proc ?
2. how do you auto mount that point ?
3 how do you make a device node in proc ? (I wont use this but it is
interesting to me)
also I have written a read / write FS before but this was mainly by locking
at outer peoples work
is there some relay good info on writing a linux FS for free download ? (no
I don't have any CC's)
thank you
next reply other threads:[~2003-04-07 11:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-08 7:57 dave [this message]
2003-04-07 21:02 ` Help writing FS and proc Tomas Szepe
2003-04-09 5:21 ` dave
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000201c2fda7$727744e0$0b721cac@stacy' \
--to=davekern@ihug.co.nz \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox