|
| ||||||||||
| Tags: driver, gnu tools, hard link, linux, root, symbolic link |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Creating hard link to directory
|
|
#2
| ||||
| ||||
| Re: Creating hard link to directory
You are only able to have hard link files (and I would consider that it also moves for the directories) if the source and target are running upon the same file system then you would be unable to create the hard link of a file on the single device with a directory on different one device or another partition (that is an separate file system). |
|
#3
| ||||
| ||||
| Re: Creating hard link to directory
The GNU tools should allowed to be executed within the different number of operating systems with a different specification of the kernels. It is based on the on several components but initially the game is within the kernel and the file system driver. So, that "ln" of "df" is unable to perform anything with the same , it does not indicate that the "linux" necessarily compatible with the feature. And even if that was possible within the linux, it does not indicates that your file system will be compatible with the same at all (just as the vfat doesn't have any compatibility with the linux/unix privileges).
__________________ In The Absence Of Light Darkness Prevail's |
|
#4
| ||||
| ||||
| Re: Creating hard link to directory
The initial issue with the process of hardlinking the directories is that when you build the hard link or locate , there is no any difference with the names of a suggested files or specified directory. And the file remains accessible until you remove the last one specified (unlike with the symbolic links). It can confuse the programs which moves recursively the directory tree, who is sure about the location our rm -rf could end. Just same as the symlinks, you don't have to deference anything, virtually, the directory is just there same as if you made the same with the mkdir and whatever hangs within this and it will be recursed in same situation.. |
|
#5
| ||||
| ||||
| Re: Creating hard link to directory
Fine, I have tried the same on my CentOS 5.3 and it got failed with the error message with the following message as "Operation not permitted". There may be Linux versions that facilitates with the same and it should be a factor of the file system in the query. Don't know. Not sure I care. So, why do you want a hard link to a directory? |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Creating hard link to directory" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Does creating more partitions reduces hard drive performance | Edvard | Hardware Peripherals | 8 | 03-08-2012 04:14 PM |
| Creating a business directory website | Desi.B@yZ | Software Development | 6 | 21-02-2012 07:46 PM |
| Error during provisioning while creating link-cloned desktops | Bryn | Operating Systems | 5 | 12-09-2011 05:24 PM |
| Error Creating Autodiscover Virtual Directory | MegaTron | Windows Software | 6 | 11-08-2010 12:47 AM |
| Creating Symbolic link on Windows Vista | Spykar | Tips & Tweaks | 0 | 03-09-2008 02:58 PM |