From: Michael Zhu <mylinuxk@yahoo.ca>
To: kernelnewbies@nl.linux.org, linux-kernel@vger.kernel.org
Subject: Different dev name in inode structure
Date: Tue, 27 May 2003 12:23:04 -0400 (EDT) [thread overview]
Message-ID: <20030527162304.61687.qmail@web14904.mail.yahoo.com> (raw)
Hi, I have a question about the inode structure. My
kernel version is 2.4.7-10, Red Hat Linux 7.2
In fs.h header file I found the prototype of inode
structure. In this inode structure there are the
following definitions.
kdev_t i_dev;
kdev_t i_rdev;
struct block_device * i_bdev;
struct char_device * i_cdev;
My question is what is the exact difference of i_dev
and i_rdev? Which one I should use?
Another question is what that i_bdev and i_cdev are
used for? They stand for what?
Thanks
______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca
reply other threads:[~2003-05-27 16:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20030527162304.61687.qmail@web14904.mail.yahoo.com \
--to=mylinuxk@yahoo.ca \
--cc=kernelnewbies@nl.linux.org \
--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;
as well as URLs for NNTP newsgroup(s).