انت هنا الان : شبكة جامعة بابل > موقع الكلية > نظام التعليم الالكتروني > مشاهدة المحاضرة

Lec. 14 Filesystem Links

Share |
الكلية كلية تكنولوجيا المعلومات     القسم قسم شبكات المعلومات     المرحلة 4
أستاذ المادة احمد مهدي محمد سعيد الصالح       02/01/2019 09:02:18
Introduction to links
• A link is a way to make a file s data accessible via more than one filename • Two types of links are available: - Soft links - Hard links
Soft links
• Also called Symbolic Links • A file type designed to point to another file • Example: /etc/mtab points to /proc/mounts
Soft links
• The /boot/grub/grub.conf file is a regular file that stores text data • When /etc/grub.conf is accessed, the link is followed • Example: more /etc/grub.conf would really display /boot/grub/grub.conf
Why Soft links?
• Soft links are excellent for creating "shortcuts" • The icons on a Windows desktop are often soft links (shortcuts) • When a system file is moved to another location by the developers, soft links are created to make it easier for administrators and users to find the new location
Soft link details
• Soft links identified with ls -l
lrwxrwxrwx. 1 root root 22 Nov 6 2012 /etc/grub.conf -> ../boot/grub/grub.co
- File type is "l" - Pointer shows file that link points to - Permissions on the soft link file are almost always rwxrwxrwx • Permissions on the "linked to" file still apply

المادة المعروضة اعلاه هي مدخل الى المحاضرة المرفوعة بواسطة استاذ(ة) المادة . وقد تبدو لك غير متكاملة . حيث يضع استاذ المادة في بعض الاحيان فقط الجزء الاول من المحاضرة من اجل الاطلاع على ما ستقوم بتحميله لاحقا . في نظام التعليم الالكتروني نوفر هذه الخدمة لكي نبقيك على اطلاع حول محتوى الملف الذي ستقوم بتحميله .
الرجوع الى لوحة التحكم