Re: disregard mod/access time

From: Green, Simon (Simon.Green_at_EU.ALTRIA.COM)
Date: 04/28/05

  • Next message: Renison, Rick: "Re: SEGSZ Column Units in ipcs -a command output"
    Date:         Thu, 28 Apr 2005 10:49:22 +0200
    To: aix-l@Princeton.EDU
    
    

    It doesn't make any sense to change the inode-number of a file. It's
    managed by the filesystem and it is not intended - or supported! - that
    anyone should mess with it directly.

    In order to change it you'd need to modify one or more new inodes to point
    to the same data, clear the old one(s) and also update whatever the
    filesystem uses to record which inodes are in use and which are available.
    All of that sounds a bit complicated and has significant potential for
    corrupting the entire filesystem.

    Why on earth would you want to do it in the first place?

    --
    Simon Green
    Altria ITSC Europe s.a.r.l.
    AIX-L Archive at https://new-lists.princeton.edu/listserv/aix-l.html
    New to AIX? http://publib-b.boulder.ibm.com/redbooks.nsf/portals/UNIX
    N.B. Unsolicited email from vendors will not be appreciated.
    Please post all follow-ups to the list.
    -----Original Message-----
    From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
    Jason de la Fuente
    Sent: 27 April 2005 05:17
    To: aix-l@Princeton.EDU
    Subject: Re: disregard mod/access time
    I found the command 'fsdb' which does show an example that appears to be
    changing the inode number for a directory.  I haven't had a chance to play
    with it and I wasn't sure if there was a "simple" way of accomplishing the
    same thing.
    Has anyone on the list used fsdb before?
    >From: Justin Bleistein <justin.bleistein@TOWERSPERRIN.COM>
    >Reply-To: IBM AIX Discussion List <aix-l@Princeton.EDU>
    >To: aix-l@Princeton.EDU
    >Subject: Re: disregard mod/access time
    >Date: Tue, 26 Apr 2005 16:52:38 -0400
    >
    >I doubt if you're going to be able to change the inode. Especially, on non
    >open sourced Unix systems.
    >That's a kernel thing.
    >Thanks.
    >
    >--Justin Richard Bleistein
    >  AIX Systems Administrator
    >
    >
    >
    >
    >
    >
    >
    >Jason de la Fuente <delalist@HOTMAIL.COM>
    >Sent by: IBM AIX Discussion List <aix-l@Princeton.EDU>
    >04/26/2005 04:34 PM
    >Please respond to
    >IBM AIX Discussion List <aix-l@Princeton.EDU>
    >
    >
    >To
    >aix-l@Princeton.EDU
    >cc
    >
    >Subject
    >disregard mod/access time
    >
    >
    >
    >
    >
    >
    >found it, touch -ma.
    >
    >Still trying to find a way to change the inode # though.
    >
    

  • Next message: Renison, Rick: "Re: SEGSZ Column Units in ipcs -a command output"

    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: 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)
    • [RFC][0/21]extend file size and filesystem size
      ... I have tried to extend the filesystem size and file size in ext2/3 ... A summary of my reform to extend the specs in ext2/3 is as below. ... type of variables in relation to block and inode, ... Change the type of 4byte variables manipulating a block or ...
      (Linux-Kernel)
    • [UPDATE][0/24]extend file size and filesystem size
      ... i_blocks of VFS inode is sector unit. ... There is not really a reason to make a filesystem ... filesystem-block unit. ... Change the type of 4byte variables manipulating a block or ...
      (Linux-Kernel)