From: Erik Mouw <erik@harddisk-recovery.com>
To: KC <kcc1967@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: proc_mknod() replacement
Date: Mon, 9 May 2005 17:41:47 +0200 [thread overview]
Message-ID: <20050509154147.GC5799@harddisk-recovery.com> (raw)
In-Reply-To: <5eb4b06505050904172655477c@mail.gmail.com>
On Mon, May 09, 2005 at 07:17:44PM +0800, KC wrote:
> I found that proc_mknod() had been removed from kernel 2.6.x.
> Any replacement ?
>
> Or how can I create file, device node or dir from device driver ?
You don't do that from a device driver in the first place. Have a look
at udev, it will do what you want from userspace.
Erik
--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
next prev parent reply other threads:[~2005-05-09 15:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-09 11:17 proc_mknod() replacement KC
2005-05-09 15:41 ` Erik Mouw [this message]
2005-05-09 17:06 ` KC
2005-05-09 21:07 ` Valdis.Kletnieks
2005-05-10 2:05 ` KC
2005-05-09 22:04 ` Jim Crilly
2005-05-10 2:43 ` KC
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=20050509154147.GC5799@harddisk-recovery.com \
--to=erik@harddisk-recovery.com \
--cc=kcc1967@gmail.com \
--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