`

Comparison: Hard link and symbolic link

阅读更多

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

    ### 安全性对比:蓝牙通信与802.11标准 #### 一、引言 随着无线技术的发展和普及,人们对数据安全性的关注度日益提高。本文将对蓝牙(Bluetooth)与802.11标准(主要指802.11b)在安全性方面的差异进行详细探讨。...

    Binary-classification-model-comparison:几种模拟数据集上几种二进制分类器的比较

    "Binary-classification-model-comparison"项目提供了一个全面的分析,通过在多种模拟数据集上对比不同的二进制分类器来帮助我们理解各种算法的性能。在这个实验中,作者使用了Jupyter Notebook作为交互式数据分析和...

    A practitioner's comparison: The 1972 Stanford-Binet and the WISC-R

    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 ...

    geocoder-comparison:对网络上可用的各种地理编码器的测试

    比较地理编码器这是一个测试项目,用于为的演示生成数据。 随意借用您在此处找到的任何代码。 如果您正在考虑从 Google Maps 中移除,到目前为止最难复制的堆栈部分是它的地理编码器。 谷歌可能拥有最全面的数据库和...

    魔兽触发器的英文翻译.pdf

    - Destructible Comparison:可破坏物体判断,检查对象是否可破坏。 - Item Comparison:物品判断,检查玩家是否拥有特定物品。 - Player Comparison:玩家判断,比较玩家的状态,如等级、资源等。 - Race ...

    COMPARISON OF SOAP BASED TECHNOLOGIES: .NET REMOTING AND ASP.NET WEB SERVICES

    COMPARISON OF SOAP BASED TECHNOLOGIES: .NET REMOTING AND ASP.NET WEB SERVICES. Journal of Aeronautics and Space Technologies, 2(4), 23-28. 2. Fielding, R., et al. (2007). Architecture of the World ...

    image_compression_comparison:图像压缩比较框架

    docker run -it -v $(pwd):/image_compression_comparison image_compression_comparison 运行脚本: python3 script_compress_parallel.py 执行针对某些度量标准值的编码,并将结果存储在相应的数据库文件中,...

    Comparison between Genetic Algorithms and Particle Swarm Optimization

    遗传算法(Genetic Algorithms,GA)和粒子群优化(Particle Swarm Optimization,PSO)是两种流行的群体智能优化算法,它们都受到自然进化理论的启发,但它们之间存在本质上的差异。这两种算法都是解决优化问题的...

    比较:表示两个数字比较的辅助方法

    Comparison::Presenter#dom_classes Comparison::Presenter#classes已重命名为Comparison::Presenter#dom_classes ,而Comparison::Presenter#dom_classes Comparison::Presenter#css已重命名为Comparison::...

    Comparison of the three CPU schedulers in Xen

    Xen虚拟机监控器(Hypervisor)支持多种CPU调度器,这些调度器为虚拟机(VM)的CPU资源分配和管理提供不同的策略。本文主要比较了Xen中的三种不同的CPU调度器,分析了调度器选择及其参数对应用程序性能的影响,并...

    JUnit Report Comparison:比较JUnit XML报告的工具-开源

    《JUnit Report Comparison:开源工具解析与应用》 JUnit Report Comparison是一款专为测试人员设计的开源工具,主要用于比较JUnit XML报告之间的差异。在敏捷开发和持续集成的环境中,测试报告是评估代码质量、...

    database-comparison:比较浏览器数据库中的DOM阻止

    标题"database-comparison:比较浏览器数据库中的DOM阻止"提示我们关注的重点是浏览器的本地存储机制对DOM操作的影响。 首先,我们来了解几种常见的浏览器数据库: 1. **内存数据库**:这种数据库通常是非持久性的...

    strict_comparison:Elixir的严格数值比较

    严格比较严格的数字比较。... 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

    2sumleetcode-comparison:比较

    2sum leetcode Leetcode + geeksforgeeks 主意 对于 ...上的每个问题,该项目建议在 geeksforgeeks.org 上阅读三篇文章。...它通过获得相似度得分来工作,更具体地说,是两个标题的余弦相似度。...2sum、3sum)往往很短,因此...

    Linux assemblers: A comparison of GAS and NASM

    Linux assemblers: A comparison of GAS and NASM A side-by-side look at GNU Assembler (GAS) and Netwide Assembler (NASM).

    Bolt_2_0_0a5.unitypackage

    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. ...

    package-comparison:ZN框架比较包

    composer require znframework/package-comparison 文献资料 单击以获取您的库的。 用法示例 基本级别用法如下所示。 <?php require 'vendor/autoload.php' ; ZN \ ZN :: run (); $ bench = Benchmark :: cycle...

    planned-feature-comparison:发布的指标摘要

    #Planned 功能比较(进行中)此应用程序正在进行中,并且会随着客户的数据和部署过程的发展而不断变化以满足客户的需求。 此应用程序提供了截至特定日期的部署计划功能与截至当前日期与部署相关联的功能的视图。...

    product-comparison:产品比较工具

    产品比较工具作者: 创建日期:19/01/2015演示网址 可用的 URL 参数: 盒子(整数) 类别(字符串)设置项目安装所有必需的库/组件/模块 cd [project folder]npm installbower install如果节点显示“路径中未安装 ...

Global site tag (gtag.js) - Google Analytics