Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262310AbTEFDrV (ORCPT ); Mon, 5 May 2003 23:47:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262312AbTEFDrV (ORCPT ); Mon, 5 May 2003 23:47:21 -0400 Received: from 12-226-168-214.client.attbi.com ([12.226.168.214]:46277 "EHLO marta.kurtwerks.com") by vger.kernel.org with ESMTP id S262310AbTEFDrP (ORCPT ); Mon, 5 May 2003 23:47:15 -0400 Date: Mon, 5 May 2003 23:54:50 -0400 From: Kurt Wall To: Sumit Narayan Cc: linux-kernel@vger.kernel.org Subject: Re: inode number Message-ID: <20030506035450.GU21898@kurtwerks.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Operating-System: Linux 2.4.20-xfs X-Woot: Woot! Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 629 Lines: 15 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/