[Gllug] Which files link to an inode?

Richard Jones rich at annexia.org
Wed Apr 23 14:18:35 UTC 2003


On Wed, Apr 23, 2003 at 02:00:07PM +0100, Simon Morris wrote:
>  352655799 drwxrwxrwx    5 root     sys           78 Apr 15 15:47 BAT.2723.1
> 
> <snip rest of directory listing>
> 
> server 23# find /psd1 -xdev -inum 352655799
> -xdev: bad option
> Usage: find path-list predicate-list
> 
> server 24# find /psd1 -inum 352655799
> 
> /psd1/server/archive/BAT.2723.1
> 
> So according to the server the only link to inode 352655799 is the
> original directory I was on about.
> 
> You can't hard link over disk partitions, so where are the other 4 hard
> links to that data?????

Oh dear. Corrupt nlinks field. Take the disk offline & run fsck!

Rich.

-- 
Richard Jones, Red Hat Inc. (London) and Merjis Ltd. http://www.merjis.com/
http://www.annexia.org/ Freshmeat projects: http://freshmeat.net/users/rwmj
MONOLITH is an advanced framework for writing web applications in C, easier
than using Perl & Java, much faster and smaller, reusable widget-based arch,
database-backed, discussion, chat, calendaring:
http://www.annexia.org/freeware/monolith/


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list