On Thu, 16 Jan 2003 [EMAIL PROTECTED] wrote: > nate <mailto:[EMAIL PROTECTED]> wrote on Thursday, 16 January 2003 07:37: > > > Ryan Babchishin said: > > > >> That's the best suggestion I've heard yet... Do you know of any risks > >> involved in repairing something that you know is in error, while the > >> fs is mounted? > > > > worst case is you damage/destroy data on that particular inode. I > > think multiple files/directories can exist in a single inode. The > > only way I can think of off the top of my head is use ls -i to find > > what files are on what inodes, so something like > > > > ls -Rli >/tmp/files.list > > > > > > nate > > Would you mind expanding on that please - my understanding from > older unix filesystems was that two files with the same inode > were the same file just linked to two names.
yup. > On the other hand, if a directory and a regular file was using > the same inode then chaos would ensue. this situation would be physically impossible since any two names that refer to the same inode *must* share the information in that inode and therefore would appear with all the same attributes. it's therefore not possible for two names to refer to the same inode, and one look like a file while the other looks like a directory. rday -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list