Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-30-2009, 10:22 AM   #1
Registered: Aug 2009
Posts: 311

Rep: Reputation: 36
Small Question on links

Hello all,

This is a noob question on Links,I usually make hardlinks of all the important files i have ,so that if the source is deleted i can still access it from the other file,i have a situation where i need to do the same with a directory,which is not possible through hardlinks and using softlinks doesnt make any sense,since if the source directory is gone,the target is rendered useless.

Does any one a solution for this,so as to if source directory is deleted i can still access the data from the other directory.
Old 08-30-2009, 10:54 AM   #2
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,074

Rep: Reputation: 386Reputation: 386Reputation: 386Reputation: 386
The only solution is a backup. You shouldn't rely on hardlinks either as a security measure, hardlinks are not backups. Some day you will discover that you thought that there was one left but you also erased it and didn't remember that while deleting the last one.

I remember a discussion about hardlinks to directories some time ago on other forum, in case you want to take a look (it won't provide you with a solution).
Old 08-30-2009, 02:40 PM   #3
Registered: Nov 2007
Location: Kentucky
Distribution: Slackware13.1
Posts: 214

Rep: Reputation: 38
I agree with i92.
Afaik, there is only hardlinking and softlinking [symlinking].
I dunno of anything resembling what you're looking for beyond making sure you have a backup of whatever.
And backing up is pretty much one of the most important things to do if you depend on your system.
To many find that out after it's to late though.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
I got gentoo :)->Using links question Four Linux - Newbie 1 06-23-2007 01:16 PM
technical question about hard links v soft links 7stud Linux - Newbie 2 02-23-2007 06:57 PM
Small question about /etc/rc.local - Symbolic link question Arodef Linux - General 4 05-13-2006 02:29 AM
question about symbolic links supersucker Linux - Newbie 3 01-06-2006 08:27 AM
Quick Question About Links gauge73 Linux - Newbie 2 02-13-2003 10:32 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration