?????? Linux ????????У?????????? 3 ?????????????????????????????????????????????? inode ??????????????????????????????????飬???????????????????????????????????????????????????洢???????? inode ????????У?inode ????? inode ??????? inode ??????????????? inode ???е?λ?á?
????Linux ???????????????????Hard Link???????????Soft Link???????????????????????Symbolic Link????
?????????
??????????????????????????????????????????????????????????????????? inode???? inode ????????????????????????????????????????????????????μ? inode??
huey@huey-K42JE:~/huey/linux/cmdline$ touch f1
huey@huey-K42JE:~/huey/linux/cmdline$ ln f1 f1-hard
huey@huey-K42JE:~/huey/linux/cmdline$ ls -li
total 0
10272788 -rw-rw-r-- 2 ng ng 0 Apr 20 15:28 f1
10272788 -rw-rw-r-- 2 ng ng 0 Apr 20 15:28 f1-hard
???????????? f1-hard ?????μ? inode??f1-hard ?? inode ?? f1 ??£?????????????????????????????????????????f1 ?? f1-hard ??????????? 1 ????? 2?????????? rm ?????????
huey@huey-K42JE:~/huey/linux/cmdline$ ls -li
total 0
10272788 -rw-rw-r-- 2 ng ng 0 Apr 20 15:33 f1
10272788 -rw-rw-r-- 2 ng ng 0 Apr 20 15:33 f1-hard
huey@huey-K42JE:~/huey/linux/cmdline$ rm f1
huey@huey-K42JE:~/huey/linux/cmdline$ ls -li
total 0
10272788 -rw-rw-r-- 1 ng ng 0 Apr 20 15:33 f1-hard
huey@huey-K42JE:~/huey/linux/cmdline$ rm f1-hard
huey@huey-K42JE:~/huey/linux/cmdline$ ls -li
total 0
?????????????????????????????????????????????????????? 0 ?????????????????????????
?????????????????????????
????1) ?????????????????????????????????????????????????????????????????????
????2) ??????????????????Щ Linux ?汾????????????? -d ????????????????????
????????????
?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? Windows ??????????????????????????????????????????????????????磬???Щ????д?????????????????Щ????????д????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????κ???????????????????????????ls ?????????ò???????????????????????????
???????????????????и?????????????????????????????????·????????????????????????????????????????????????????
????ln ??????
????ln [OPTION]... [-T] TARGET LINK_NAME (1st form)
????ln [OPTION]... TARGET (2nd form)
????ln [OPTION]... TARGET... DIRECTORY (3rd form)
????ln [OPTION]... -t DIRECTORY TARGET... (4th form)