changing inode of a file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi everyone,

I was kind of wondering if we could change the inode
number of a file in it's inode structure. Is it
possible to do.

What i would like to do is :

file 1 has inode: 12345
file 2 has inode: 67890

I run a program within which I change the file 2 inode
to be 12345 and the file 1 inode to be 67890 . Then
maybe before the program ends i can change back
everything to normal.

Is this possible to do so ??

TIA

Karthik

__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux