Shaw, Marco said:
> Need to do a "proof of concept" with hard-link preservation.  I want to do
> it with manually created files, but was also hoping RedHat (7.2
> preferably) would have several files setup as hardlinks.  I can't seem to
> find any easily and was wondering if anyone knew of some...


often hardlinks can be found in /sbin, usually fsck tools etc..

1648510 -rwxr-xr-x    3 root     root        22568 Mar  7  2002 mkdosfs
1648510 -rwxr-xr-x    3 root     root        22568 Mar  7  2002 mkfs.msdos
1648510 -rwxr-xr-x    3 root     root        22568 Mar  7  2002 mkfs.vfat

1648511 -rwxr-xr-x    3 root     root        40328 Mar  7  2002 dosfsck
1648511 -rwxr-xr-x    3 root     root        40328 Mar  7  2002 fsck.msdos
1648511 -rwxr-xr-x    3 root     root        40328 Mar  7  2002 fsck.vfat

1648518 -rwxr-xr-x    3 root     root        30728 Apr  9  2002 mke2fs
1648518 -rwxr-xr-x    3 root     root        30728 Apr  9  2002 mkfs.ext2
1648518 -rwxr-xr-x    3 root     root        30728 Apr  9  2002 mkfs.ext3

1648519 -rwxr-xr-x    2 root     root        24072 Apr  9  2002 e2label
1648519 -rwxr-xr-x    2 root     root        24072 Apr  9  2002 tune2fs

1648520 -rwxr-xr-x    3 root     root       566068 Apr  9  2002 e2fsck
1648520 -rwxr-xr-x    3 root     root       566068 Apr  9  2002 fsck.ext2
1648520 -rwxr-xr-x    3 root     root       566068 Apr  9  2002 fsck.ext3


those are a few of the hardlinks in /sbin on redhat 7.3. the number on
the far left is the inode the file is located at, multiple files on the
same inode would usually mean a hard link(in bad cases it could mean
filesystem curroption I suppose).

ls -li /sbin | sort | more

nate





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to