When using path names in programs, you have a choice of using a hard link or a symbolic link (see Link). Each type of link has advantages and disadvantages. The conditions under which one type of link has an advantage over the other type is as follows:
Table 1. Comparison of Hard Link and Symbolic Link
Item Hard Link Symbolic Link
Name resolution | Faster. A hard link contains a direct reference to the object. | Slower. A symbolic link contains a path name to the object, which must be resolved to find the object. |
Object existence | Required. An object must exist in order to create a hard link to it. | Optional. A symbolic link can be created when the object it refers to does not exist. |
Object deletion | Restricted. All hard links to an object must be unlinked (removed) to delete the object. | Unrestricted. An object can be deleted even if there are symbolic links referring to it. |
Dynamic objects (attributes change) | Slower. Many of the attributes of an object are stored in each hard link. Changes to a dynamic object, therefore, are slower as the number of hard links to the object increases. | Faster. Changes to a dynamic object are not affected by symbolic links. |
Static objects (attributes do not change) | Faster. For a static object, name resolution is the primary performance concern. Name resolution is faster when hard links are used. | Slower. Name resolution is slower when symbolic links are used. |
Scope | Restricted. Hard links cannot cross file systems. | Unrestricted. Symbolic links can cross file systems. |
nwtgz:/opt/orahome/app/oracle92/product/9.2.0.1.0$ ls -li wwg
total 2
511459 drwxr-xr-x 30 oracle oinstall 1024 Jan 21 2005 admin
nwtgz:/opt/orahome/app/oracle92/product/9.2.0.1.0$ find . -inum 511459
./wwg/admin
分享到:
相关推荐
Security Comparison: BluetoothTM Communications vs. 802.11
A practitioner's comparison: The 1972 Stanford-Binet and the WISC-R A PRACTITIONER’S COMPARISON : THE 1972 STANFORD-BINET AND THE WISC-R PAUL L. EVANS AND BERT 0. RICHMOND Professional ...
二元分类模型比较 在本笔记本中,我使用生成的二进制分类数据比较了Scikit-Learn算法 , , , , , 和简单的ANN在Keras和PyTorch中构建的预测精度。
Comparison between Genetic Algorithms and Particle Swarm Optimization,主要介绍了遗传算法和粒子群算法的异同。
比较地理编码器这是一个测试项目,用于为的演示生成数据。 随意借用您在此处找到的任何代码。 如果您正在考虑从 Google Maps 中移除,到目前为止最难复制的堆栈部分是它的地理编码器。 谷歌可能拥有最全面的数据库和...
bbc_news_classification_comparison:BBC新闻分类算法比较
Comparison of VHDL Verilog and SystemVerilog VHDL Verilog and SystemVerilog的比较
Metaheuristics in Combinatorial Optimization: Overview and Conceptual Comparison
rust-web-framework-comparison:比较一些用Rust编写的Web框架和库
price-comparison:阿姆斯特丹公寓价格比较网站。 React,Chart.js,Flask
docker run -it -v $(pwd):/image_compression_comparison image_compression_comparison 运行脚本: python3 script_compress_parallel.py 执行针对某些度量标准值的编码,并将结果存储在相应的数据库文件中,...
Comparison of the three CPU schedulers in Xen Xen调度
Comparison::Presenter#dom_classes Comparison::Presenter#classes已重命名为Comparison::Presenter#dom_classes ,而Comparison::Presenter#dom_classes Comparison::Presenter#css已重命名为Comparison::...
外文文献。net.。
严格比较严格的数字比较。... Settings: duration: 1.0 s## StrictComparisonBench[02:40:05] 1/8: strict guard float[02:40:08] 2/8: strict guard[02:40:10] 3/8: strict comparison float[02:40:1
2sum leetcode Leetcode + geeksforgeeks 主意 对于 ...上的每个问题,该项目建议在 geeksforgeeks.org 上阅读三篇文章。...它通过获得相似度得分来工作,更具体地说,是两个标题的余弦相似度。...2sum、3sum)往往很短,因此...
Linux assemblers: A comparison of GAS and NASM A side-by-side look at GNU Assembler (GAS) and Netwide Assembler (NASM).
Comparison: Compare with alternatives. Learn: Tutorials, examples and manual. Forum: Submit questions and ideas. Discord: Chat with the community. Roadmap: Discover our plans for the future. ...
composer require znframework/package-comparison 文献资料 单击以获取您的库的。 用法示例 基本级别用法如下所示。 <?php require 'vendor/autoload.php' ; ZN \ ZN :: run (); $ bench = Benchmark :: cycle...