HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- differnece and scenarions where we use soft and ha...
Operating System - Linux
1830081
Members
2482
Online
109998
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
- 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
- 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
- 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
- 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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP