hard link

(redirected from Hard links)

hard link

(file system)
One of several directory entries which refer to the same Unix file. A hard link is created with the "ln" (link) command:

ln <old name> <new name>

where <old name> and <new name> are pathnames within the same file system. Hard links to the same file are indistinguishable from each other except that they have different pathnames. They all refer to the same inode and the inode contains all the information about a file.

The standard ln command does not usually allow you to create a hard link to a directory, chiefly because the standard rm and rmdir commands do not allow you to delete such a link. Some systems provide link and unlink commands which give direct access to the system calls of the same name, for which no such restrictions apply.

Normally all hard links to a file must be in the same file system because a directory entry just relates a pathname to an inode within the same file system. The only exception is a mount point.

The restrictions on hard links to directories and between file systems are very common but are not mandated by POSIX. Symbolic links are often used instead of hard links because they do not suffer from these restrictions.

The space associated with a file is not freed until all the hard links to the file are deleted. This explains why the system call to delete a file is called "unlink".

Microsoft Windows NTFS supports hard links via the fsutil command.

Unix manual page: ln(1).

References in periodicals archive ?
Hoylake is a bone hard links course and the ideal preparation would be to play on a similar-style course the week before.
The sole of the 60 degree wedge has been ground down to almost 0 bounce so this is the ideal club for hard links fairways.
But he managed just one birdie in a shabby round that showed just how hard links golf can be to visiting Americans.
Visualization and production capabilities, such as edge highlighting, a whole new shading mode that is said to quickly reveal where a shape abruptly dips below the surface, thus helping users manage shapes with indentations that were previously difficult to detect without rotating the shape or interrupting work flow; a new modeling capability that extends multiple face edges in one command for quicker design development; a new shaded echoing capability that displays a shaded Gaussian view of the geometry throughout the process; a new Clone command, which is said to duplicate multiple inter-related components and automatically provide hard links (whereby parts to be cloned can be sourced from different files, multiple models, and multiple CAM plans, VX Corp.
1 enhancements, in addition to S/390 Linux Rescuer, add support for file-level backup/restore of FIFO and device files, expanding the capability of UPSTREAM to protect all existing Linux file types including hard links, symbolic links, owners, single file systems, Reiser file systems as well as ext2, ext3, XFS and remote NFS attachments.
Since the trading desks of banks are likely to be more adept at estimating risks of various trades, it seems inefficient to impose hard links.
Advanced file handling - In addition to rich include and exclude filters, Aspera Sync offers full support for soft and hard links, options for the preservation of access time, user and group IDs, and support for configurable user and group ID for the target system.
On a hard links course, in the wind, with enormous aeroplanes screaming at you in their take-off paces, it occurs to you that golf was invented by lunatics as a means of torturing optimists.
Now supported on Windows in addition to Linux, Aspera's latest synchronization and replication software delivers even higher performance with enhancements to the quick file scanning on source and target servers, rich include and exclude filters, and full support for soft and hard links.
FDR/UPSTREAM provides extensive support for Linux including advanced UNIX file system specific features include hard links, symbolic links, owners, single file system support, support for Reiser file system as well as ext2, ext3, GFS, MAPFS, GPFS and remote NFS attachments.
The HPKS will be able to navigate between objects using dynamic, conceptual structures, rather than hard links.
FDR/UPSTREAM provides extensive support for all existing Linux file types including hard links, symbolic links, owners, single file systems, Resier file systems as well as ext2, ext3, XFS, GFS, and remote NFS attachments.