<HTML >
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</HEAD>
<BODY lang=EN-US link=blue vlink=blue>
<DIV>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Jim has most of it.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Just wanted to mention the initial “ln”
without a “-s” would have failed completely because hard links can
only exist within a filesystem as they reference the same inode. One of the
reasons for symbolic links (the “-s” option) was to get around this
limitation. It is unlikely your first ln command caused any issue. What Jim
writes about the second command is more likely the cause.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
ale-bounces@ale.org [mailto:ale-bounces@ale.org] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Jim Kinney<br>
<b><span style='font-weight:bold'>Sent:</span></b> Sunday, December 21, 2008
8:39 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">ale@ale.org</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [ale] Can LN Erase
Data?</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
Fresh install of F10 creates a download, documents and Music folder. So if you
linked some other folder to the existing Documents, the existing contents are
now hidden but not deleted. <br>
So you now have /media/DATA/Documents obscuring your view of the original
/home/marc/Documents.<br>
<br>
But a third read (before coffee) suggests you were trying to link FROM the
/hom/marc TO /media/DATA<br>
<br>
you got the ln command params backwards. It should be ln <source>
<link dest>.<br>
<br>
So unlink the mess you have (man unlink) and ln ~/Documents /media/DATA/
, etc.<br>
<br>
<br>
<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>2008/12/20 Marc Ferguson <<a href="mailto:marcferguson@gmail.com">marcferguson@gmail.com</a>><o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Hi,<br>
<br>
I would like to know if the "ln" command can erase data? I did
a fresh install of Fedora 10 and I wanted to link my "download",
"documents", "music", etc folders in my /home directory to
my second partition. I forgot about symbolic links and I did this first:<br>
<br>
<i><span style='font-style:italic'>$ ln /media/DATA/Documents /home/marc/</span></i><br>
<br>
It gave me a particular message, I forget what it was... it didn't seem
threatening at the time. I saw that it didn't work so I did the symbolic
link and that worked fine.<br>
<br>
<i><span style='font-style:italic'>$ ln -s /media/DATA/Documents /home/marc</span></i><br>
<br>
So; that worked, but when I opened the documents folder all the files in there
were gone. Did I do something wrong?<br clear=all>
<font color="#888888"><span style='color:#888888'><br>
-- <br>
Marc F.<br>
<br>
"..Grace to you and peace from Him who is and who was and who is to
come.." -Rev1:4<br>
"When life gives me lemons... I make Linuxaide!" -Marc F.<br>
</span></font><br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
<br clear=all>
<br>
-- <br>
-- <br>
James P. Kinney III <o:p></o:p></span></font></p>
</div>
</DIV>
<DIV STYLE="FONT-SIZE: 9pt; FONT-FAMILY: Courier New">
<FONT FACE="Arial" SIZE="2">----------------------------------<BR>CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.<BR>----------------------------------<BR></FONT>
</DIV></BODY></HTML>