Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old August 8th, 2002, 10:12 PM
StealthElephant's Avatar
StealthElephant StealthElephant is offline
Shes dancing (obviously)
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2002
Location: the far side
Posts: 526 StealthElephant User rank is Corporal (100 - 500 Reputation Level)StealthElephant User rank is Corporal (100 - 500 Reputation Level)StealthElephant User rank is Corporal (100 - 500 Reputation Level)StealthElephant User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 h 14 m 22 sec
Reputation Power: 8
Hard links and soft links!

whats the difference between hard links and soft ones, i always have wondered about this but havent ever found out what it is?


On a seperate note,
type
"I'ld like to kill bill gates" is MS Word 98 if you have that version, then check what the thesauris says for it, its funny,

it says
"i'll drink to that !"
__________________

microsofts butterfly is their way off telling u their systems have a **** load of buggs
Advocating Linux Guide
Lesbian Linux
Great & Practical Computer Books

like the links?

Reply With Quote
  #2  
Old August 8th, 2002, 10:49 PM
4Life 4Life is offline
Please call me Joe ;)
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: the web
Posts: 244 4Life User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Quote:
On a seperate note,
type
"I'ld like to kill bill gates" is MS Word 98 if you have that version, then check what the thesauris says for it, its funny,

it says
"i'll drink to that !"


Lol, hahaha! In Word 2000 it says "I'd imagine" or something to that effect. Not that Im fond of that.

Cheers,
Joe of 4Life
__________________
Cheers,
Joe of 4Life

Check out 4Life today!

Reply With Quote
  #3  
Old August 9th, 2002, 06:08 AM
telex4's Avatar
telex4 telex4 is offline
Wacky hack
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2001
Location: London, England
Posts: 512 telex4 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 25 m 29 sec
Reputation Power: 8
Quoting from a tutorial on my site:

Quote:
In Windows, if you double click on a shortcut to a file or folder, it will open the file or folder. The shortcut contains only the information to point to the file or folder, and if you delete the file or folder, the shortcut becomes useless. In GNU/Linux, this is called a symbolic, or soft, link. You can also create hard links which in effect make a copy of the file or folder, without taking up any more hard drive space. They work the same as symbolic links, except that you can delete the original file and the link will still work.

Reply With Quote
  #4  
Old August 9th, 2002, 10:36 AM
peejay peejay is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: London
Posts: 42 peejay User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Soft (or symbolic) links will also allow you to link accross different files systems (partions, disks, or networked machines).

Reply With Quote
  #5  
Old August 9th, 2002, 01:42 PM
StealthElephant's Avatar
StealthElephant StealthElephant is offline
Shes dancing (obviously)
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2002
Location: the far side
Posts: 526 StealthElephant User rank is Corporal (100 - 500 Reputation Level)StealthElephant User rank is Corporal (100 - 500 Reputation Level)StealthElephant User rank is Corporal (100 - 500 Reputation Level)StealthElephant User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 h 14 m 22 sec
Reputation Power: 8
hard links dont copy the information but it is still available after the target is deleted? how is this possible?
by saying copying im referring to the bit you said about not taking up any extra space....
what if you shred the target file? or set the file attribute chattr +s so that it gets perm deleted? does hard linking work its way around this?

Reply With Quote
  #6  
Old August 9th, 2002, 02:56 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
what is Word98? i only know of Word97 and the successor was Word2000, no? still very funny
__________________
--
Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more.

Reply With Quote
  #7  
Old August 9th, 2002, 03:52 PM
telex4's Avatar
telex4 telex4 is offline
Wacky hack
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2001
Location: London, England
Posts: 512 telex4 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 25 m 29 sec
Reputation Power: 8
I think of you shred the file it deletes both the file and the hard link. I'm not certain about this, so people correct me if I'm wrong, but I think it works like so: when you create the file, the data is written to the hard drive, and a pointer is put to that data in the filesystem. When you do a hard link, another pointer is put to that data. When you delete, you must just delete the pointer, and the data is overwritten later. Shredding, I assume, will delete the pointer *and* the data.

Reply With Quote
  #8  
Old August 9th, 2002, 04:15 PM
StealthElephant's Avatar
StealthElephant StealthElephant is offline
Shes dancing (obviously)
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2002
Location: the far side
Posts: 526 StealthElephant User rank is Corporal (100 - 500 Reputation Level)StealthElephant User rank is Corporal (100 - 500 Reputation Level)StealthElephant User rank is Corporal (100 - 500 Reputation Level)StealthElephant User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 h 14 m 22 sec
Reputation Power: 8
if its not 98, it might be 97, its been ages since i looked at it.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > Hard links and soft links!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway