Skip to ContentSkip to Footer
Start of content
- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- General
- >
- differnece and scenarions where we use soft and ha...
General
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-16-2010 04:32 AM
06-16-2010 04:32 AM
differnece and scenarions where we use soft and hard link?
could anybody explain in easy and a bit detail that what is difference between soft and hard link.
mainly thier purposes of using and in what cases they are used . some examples
mainly thier purposes of using and in what cases they are used . some examples
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-16-2010 06:43 AM
06-16-2010 06:43 AM
Re: differnece and scenarions where we use soft and hard link?
Hard links can be used in the same filesystem. A hard link simply shares the inode number of a file and gives it two names.
Soft links are used across filesystems. it is a pointer. Soft links can also be used in the same filesystem for readability. link_name -> real_file.
Most backup software and/or the find command will not traverse soft links, stopping them from backing up the same object multiple times.
Soft links are used across filesystems. it is a pointer. Soft links can also be used in the same filesystem for readability. link_name -> real_file.
Most backup software and/or the find command will not traverse soft links, stopping them from backing up the same object multiple times.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-16-2010 12:27 PM
06-16-2010 12:27 PM
Re: differnece and scenarions where we use soft and hard link?
A soft link (symlink) is like a shortcut in Windows. A hard link is more like a copy of the file whithout actually being duplicated. All hard links of a file share the same inodes, as mentioned. If you delete the original file, all hard links remain operational - you can still access the file. In case of soft links - delete the original file and the soft link no longer works.
This link has a bit more on the topic:
http://www.linuxclues.com/articles/17.htm
This link has a bit more on the topic:
http://www.linuxclues.com/articles/17.htm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-16-2010 01:34 PM
06-16-2010 01:34 PM
Re: differnece and scenarions where we use soft and hard link?
> A hard link is more like a copy of the file
> whithout actually being duplicated.
So it's not really like a copy.
> This link has a bit more on the topic:
> [...]
As do many, many others. Is Google broken,
or was there some other reason to ask this
here instead of doing even a basic Web
search? (Or buying a book?)
> whithout actually being duplicated.
So it's not really like a copy.
> This link has a bit more on the topic:
> [...]
As do many, many others. Is Google broken,
or was there some other reason to ask this
here instead of doing even a basic Web
search? (Or buying a book?)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
End of content
United States
Hewlett Packard Enterprise International
Communities
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP