Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
home_server:home_server_setup:other_services:symlinks [2024-12-01 Sun wk48 10:30] – [Simlinks] baumkp | home_server:home_server_setup:other_services:symlinks [2025-01-10 Fri wk02 11:55] (current) – [References] baumkp | ||
---|---|---|---|
Line 2: | Line 2: | ||
=====Simlinks===== | =====Simlinks===== | ||
- | A symlink is a soft or hard link to a directory location to another directory location or file. I am only interested in the soft link. It effectivily | + | A symlink is a soft or hard link to a directory location to another directory location or file. It effectively |
- | Simple use is: '' | + | Simple use is: |
+ | *'' | ||
+ | *'' | ||
+ | Where: | ||
*To remove symlink '' | *To remove symlink '' | ||
*To list symlink '' | *To list symlink '' | ||
*To list symlink directory contents '' | *To list symlink directory contents '' | ||
*Use '' | *Use '' | ||
+ | *Use '' | ||
*Use '' | *Use '' | ||
Line 21: | Line 25: | ||
Notes: | Notes: | ||
*Inode number – Index node number is a unique number assigned to all files in a Linux/Unix system. | *Inode number – Index node number is a unique number assigned to all files in a Linux/Unix system. | ||
- | *Hard links on directories can cause fundamental problems. | + | *Hard links on directories can cause fundamental problems. |
Soft symlink ownership is not particularly important as it has full permissions (777) and file access is determined by real file permissions. | Soft symlink ownership is not particularly important as it has full permissions (777) and file access is determined by real file permissions. | ||
+ | |||
+ | In general soft links are more flexible, however hard links on files do have specific use cases. | ||
+ | *Incremental back-ups, use of hard links saves duplicating file data | ||
+ | *Virtual File systems where source soft link directions do not resolve. | ||
+ | |||
+ | ---- | ||
+ | ====Link Tools==== | ||
+ | *Use the '' | ||
+ | *'' | ||
+ | |||
---- | ---- | ||
====References==== | ====References==== | ||
- | *[[http:// | + | *[[http:// |
- | *[[https:// | + | *[[https:// |
+ | *Linux Handbook [[https:// | ||
+ | *[[https:// | ||
+ | *[[https:// | ||
+ | *[[https:// | ||
+ | *[[https:// | ||
+ | *[[https:// | ||
+ | *[[https:// | ||
+ | *[[https:// | ||
---- | ---- | ||
<- home_server: | <- home_server: |