Symbolic link:

Created as mklink link_name target_name

-아이콘은 바로가기와 같은 모양 (The icon next to the link is the same like that of a shortcut)

-공간 차지않함. (Occupies zero space in the system)

-화일시스템에서 따로 저장되는 화일이 아님(It is not a separate file in the file system)

-OS레벨에서 해석됨 (Interpreted at the operating system level)

-원본화일이 지워지면 링크는 남아있으나 내용은 지워짐 (If the original file is deleted, the link is useless)

-원본화일을 지우는것은 Symbolic Link 지우는것이 아님 (Removing the original file does not remove the symbolic link)

-Symbolic Link 지우는것은 원본화일을 지우는것이 아님 (Removing the symbolic link does not remove the original file)

 

Hard link:

Created as mklink /H link_name target_name

-원본화일과 같은 공간을 차지하지만 같은 object 가리킨다.(copy랑은 다른 의미) (The space it occupies equals the size of the original file, but refers to the same object in the system (not a copy))

- OS레벨에서 해석됨(Interpreted at the operating system level)

-hard link 아이콘은 다른 object들과 다름. (The icon next to the hard link is different from the other objects)

-원본을 삭제하는것은 hard link 영향을 주지않음 (Removing the original file does not remove the hard link)

-hard link 지워도 원본은 남아있음 (Removing the hard link does not remove the original file)

-원본이 지워져도 내용은 하드링크를 통해서 접근가능 (If the original file is deleted, its content is still available through the hard link)

-hard link 내용이 변경되면 원본에도 변경됨 (Making a change to the hard link propagates all changes to the original file)

 

Shortcut:

Created by right clicking the original file and selecting action from the drop down menu

-원본화일과는 별개의 화일임 (A file in the system that is completely separate from the original file)

-shortcut 내용을 해석할수 있는 프로그램만이 실행할 있음 (Only those programs that know the concept of shortcuts understand them)

-원본이 지워지면 링크는 쓰래기. (If the original file is deleted, the link is useless)

-원본을 지워도 shortcut 남아있음 (Removing the original file does not remove the shortcut)

-shortcut 지워도 원본은 남아있음 (Removing the shortcut does not remove the original file)

Posted by leeyongwan
,