Re: disregard mod/access time
From: Green, Simon (Simon.Green_at_EU.ALTRIA.COM)
Date: 04/28/05
- Previous message: Cahyadi, Edi: "Re: Change Inode and modification time"
- Maybe in reply to: Jason de la Fuente: "disregard mod/access time"
- Next in thread: Renison, Rick: "Re: SEGSZ Column Units in ipcs -a command output"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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. >
- Previous message: Cahyadi, Edi: "Re: Change Inode and modification time"
- Maybe in reply to: Jason de la Fuente: "disregard mod/access time"
- Next in thread: Renison, Rick: "Re: SEGSZ Column Units in ipcs -a command output"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|