What is the main advantage of creating links to a file
instead of copies of the file?
Answers were Sorted based on User's Feedback
Answer / daniel
The main advantage is not really that it saves disk space
(though it does that too) but, rather, that a change of
permissions on the file is applied to all the link access
points. The link will show permissions of lrwxrwxrwx but
that is for the link itself and not the access to the file
to which the link points. Thus if you want to change the
permissions for a command, such as su, you only have to do
it on the original. With copies you have to find all of the
copies and change permission on each of the copies.
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / bkoh
It is a way to allow one common copy. Most commonly used
for linking to a common configuration or library file where
the file owner or administrator will just need to make the
updates and all the users will have the same updates.
This is in contrast to every user having their own copies
and when there is a major change, every user will have to
ensure that their copies is the most updated.
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / praveen
actually, if u have one version of dll and u dont want end
user to know abt that and when second version comes u r
changing the original file and now use the link to point
the latest version, so end user dont know abt the original
dll file.
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / v s
File is a resource. It can be needed by n no of processes at the same time. So to avoid inconsistency, to save memory and for the ease of checking/changing the access permissions, its better to keep files linked and not to make copies.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / tyquan
it allows you to return to the web page without remembering
the URLs
| Is This Answer Correct ? | 0 Yes | 1 No |
virtual terminal protocol is an example of which layer and works with which layer?
in unix how to change old name to new name
how to raise a suncase?pls explain step by step?
If your linux machine shows a ~(tilde) in most filenames on your dos or windows partition,what is the mistake you have made?How do you get back the long filenames?
Could you tell something about the Unix System Kernel?
Name key files or directories on a UNIX system that should always be backed up?
Am using Mac OS 10.4.11 on an Imac (PPC) Internal hard disk got named disk0s3 and will not mount. What commands can be used in TERMINAL to rename the internal hard disk to C96?
What is a level 0 backup?
What does mknod do? What?s a named pipe?
How do you create special files like named pipes and device files?
How are devices represented in UNIX?
How many VI editor modes do you know?