Re: I have an inode....

From: Michael Paoli (michael1cat_at_yahoo.com)
Date: 08/01/04

  • Next message: Harry Putnam: "Re: (patch for Bash) try-block and exception"
    Date: 31 Jul 2004 19:34:11 -0700
    
    

    spamtotrash@toomuchfiction.com (Kevin Collins) wrote in message news:<slrncfdt2s.jcn.spamtotrash@doom.unix-guy.com>...
    > In article <QGlJc.23537$TB3.826809@news20.bellglobal.com>, Lew Pitcher wrote:
    > > Faeandar wrote:
    > >> How do I find a file with just an inode number?
    > > /A/ file? Don't you mean "all the /files/"?
    > In a given filesystem (which the OP mentions below), there is only one file
    > with a given inode, unless you are thinking about hard links?

    When an inode has multiple hard links, that inode still uniquely
    identifies one file on the filesystem, however it would have mutliple
    pathnames to the file in such a case.

    > >> I know what
    > >> filesystem it's in but that's as narrow as it gets. I noticed find
    > >> has a -inum option but the syntax is escaping me.


  • Next message: Harry Putnam: "Re: (patch for Bash) try-block and exception"

    Relevant Pages

    • [PATCH 1/2] VFS: update overview document
      ... -The Virtual File System (otherwise known as the Virtual Filesystem ... The pathname argument is used by the VFS to search through the ... -directory entry cache (dentry cache or "dcache"). ... -An individual dentry usually has a pointer to an inode. ...
      (Linux-Kernel)
    • Re: [PATCH 0/7] vfs: notify_changes() error handling
      ... there are more problems than these in the truncate path. ... have filesystems call their truncate sequence ... from ->setattr if filesystem specific operations are required. ... to be used to copy simple attributes into the generic inode. ...
      (Linux-Kernel)
    • Re: hard links to files on other filesystems disallowed: why?
      ... This would have to be a new, special filesystem UUID generated when the ... No. hard links have a dual set of pointers-- from the file names to the ... number) so if you delete A you do not delete the inode. ... the disk became unavailable. ...
      (comp.os.linux.misc)
    • Re: Starting a grad project that may change kernel VFS. Early research
      ... directory of the filesystem after an unclean shutdown. ... No. Updating the size at the same time as the main inode write is far ... You don't need to sync before umount. ... have a file living in src/linux/v2.6.29/README, and it is a hard link ...
      (Linux-Kernel)
    • Re: [PATCH] prune_icache_sb
      ... In Linux a filesystem is a dumb layer which sits between the VFS and the ... inode (that this cluster lock is created for). ...
      (Linux-Kernel)