public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Kurt Wall <kwall@kurtwerks.com>
To: Sumit Narayan <sumit_uconn@lycos.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: inode number
Date: Mon, 5 May 2003 23:54:50 -0400	[thread overview]
Message-ID: <20030506035450.GU21898@kurtwerks.com> (raw)
In-Reply-To: <MHCBNPOFCDJPBDAA@mailcity.com>

An unnamed Administration source, Sumit Narayan, wrote:
% Hi,
% 
% Actually, what I meant with this was, suppose I have a file name, how do I get the inode for that? And also suppose I have the inode number, how do I get the complete object of that inode for use and manipulation?

If you have a filename, stat(2); see also lstat(2) and fstat(2).

Kurt
-- 
Error in operator: add beer

  reply	other threads:[~2003-05-06  3:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-06  3:52 inode number Sumit Narayan
2003-05-06  3:54 ` Kurt Wall [this message]
2003-05-06  6:43 ` Lucas Correia Villa Real
2003-05-06  6:51   ` Lucas Correia Villa Real
  -- strict thread matches above, loose matches on Subject: below --
2003-05-06  3:27 Sumit Narayan
2003-05-06  4:09 ` Valdis.Kletnieks

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=20030506035450.GU21898@kurtwerks.com \
    --to=kwall@kurtwerks.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sumit_uconn@lycos.com \
    /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