Tagged Questions
5
votes
1answer
123 views
Can non-canonicalized forms of filesystem paths be significant? (eg. “foo//bar”, “foo/./bar”, and “foo/../bar”)
I have a script for building a particular flavor of GCC cross-compiler. Throughout the script there are many paths that are not in canonical form, such as duplicate path separators (/xxx/foo//bar/yyy) ...
1
vote
2answers
335 views
Symlinks and EncFS
I am trying to secure my Dropbox account by using EncFS. My strategy is as follows:
I store all my files in a folder called ~/Public/.
The encrypted counterpart of ~/Public/ is ~/Private/.
Use ...
3
votes
5answers
1k views
How to make a variable symlink ? (or something similar)
How can I make a variable symlink that would point to a different location according to the current user? Is it possible? Should I use something else instead? A mount point? How?
Here is the problem ...
4
votes
2answers
981 views
How does linux work with symbolic links?
I mean what's going on when some process wants to read a symlink? What's going on when something changes a symlink during a read or even write process?
For example: I have 2 huge, similar 100G files ...
8
votes
3answers
274 views
Symlink to part of the file?
Is there possible to create file that is just a sub-sequence of bytes from another file, like a symlink, but referencing only part of the file?
29
votes
2answers
7k views
Why hard links not allowed to directories in UNIX/Linux
I read in text books that UNIX/Linux doesn't allows hard links to directories but soft links do. Is it because, when we have cycles and if we create hardlinks, and after some time we delete the ...
4
votes
1answer
4k views
Make samba follow symlink outside share
This is ubuntu server 10.04 64 and samba 3.4.7
I have a shared directory /home/mit/share and another one /home/temp that I link into the shared one:
ln -s /home/temp /home/mit/share/temp
But on ...
9
votes
1answer
116 views
Strategies for maintaining a reference to a file after it was moved or renamed?
I've had a mac at work lately, and was amazed to see that Xcode would still find my latest project after I renamed its folder and moved it someplace else.
Now I understand that this is the result of ...