>does kernal uses the inode(internaly) for rename a file? or as inode >don't hav any field related to name of file..rename does changes in only �
I guess YES. INODE is a unique entity within a filesystem. Each file has a unique INODE.It is represented by the INODE no. File name is just one of the fields of the INODE. Also, changing the FileName shd not change the File Inode. Rgds, Hemendra Rgds, Hemendra When you change a file name On Mon, 13 Jun 2005 deepak shingan wrote : >hi all >i hav some questions >i m reading a book on UNIX-kernals by Mouris j. Bach but i m not sure abt >these concepts > >does kernal uses the inode(internaly) for rename a file? or as inode >don't hav any field related to name of file..rename does changes in only >parent directory containt? > >does "chmod" command internally opens the file by open function or just >changes the inode containt without opening the file? > >incore inode no and inode no on the disk are same? > >does any file hav more than one incore-inode nos..in any case? > >superblock manupulation i.e. allocation of inode nos..buffres to perticular >files works always works in Critical Section..? > >i know these questions might b funny n so simple for all u Kernal-gurus... >but i really wants my concepts clear > >thanks and regards >deepak >thinks.....deeply! > > > > > >__________________________________________________ >Do You Yahoo!? >Tired of spam? Yahoo! Mail has the best spam protection around >http://mail.yahoo.com >-- >http://mm.ilug-bom.org.in/mailman/listinfo/linuxers -- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

