Linked Questions
71 questions linked to/from What is a bind mount?
88
votes
8
answers
92k
views
List the files accessed by a program
time is a brilliant command if you want to figure out how much CPU time a given command takes.
I am looking for something similar that can list the files being accessed by a program and its children. ...
66
votes
11
answers
47k
views
What is the difference between symbolic and hard links?
When would you use one over the other?
81
votes
4
answers
140k
views
How do I run 32-bit programs on a 64-bit Debian/Ubuntu?
I have a 64-bit (amd64 a.k.a. x86_64) Debian or Ubuntu installation. I need to run 32-bit (i386/i686) programs occasionally, or to compile programs for a 32-bit system. How can I do this with a ...
45
votes
8
answers
48k
views
Is it possible to find out what program or script created a given file?
Three files have suddenly appeared in my home directory, called "client_state.xml", "lockfile", and "time_stats_log". The last two are empty. I'm wondering how they got there. It's not the first time ...
22
votes
3
answers
19k
views
Can I make a public directory under a private directory?
I have a personal folder /a/b on the server with permission 700. I don't want others to list the contents in /a/b. The owner of /a is root.
Now I need to open the full authorities of directory /a/b/c ...
20
votes
9
answers
25k
views
How do I recursively grep through compressed archives?
I'm trying to find out what modules use Test::Version in cpan. So I've used minicpan to mirror it. My problem is that I need to iterate through the archives that are downloaded, and grep the files ...
19
votes
2
answers
16k
views
What is the NSFS filesystem?
The kernel contains a filesystem, nsfs. snapd creates a nsfs mount under /run/snapd/ns/<snapname>.mnt for each installed snap. ls shows it as a 0 byte file.
The kernel source code does not seem ...
15
votes
2
answers
22k
views
Check if directory is a mount point [duplicate]
Using Python, I scan Unix mounted volumes for files, then add or purge the filenames in a database, based on their existence. I've just realised that if the volume being scanned is unmounted for some ...
23
votes
1
answer
15k
views
mount --bind other user as myself
I'm using fstab to bind a folder that belongs to another user in one of my own directories. I know that I can map users when I mount an SSHFS, I've been doing some research and I can't find a mount --...
18
votes
2
answers
8k
views
How is findmnt able to list bind mounts?
A lot of people keep saying that Linux does not keep information about bind mounts, so there is no way to get a list of them and their sources. Here are some examples:
from one of the the comments ...
3
votes
5
answers
3k
views
Link 2 existing files
I have 2 existing files : abcd and xyz.
$ cat abcd
abcd
$ cat xyz
xyz
Now, when I try to softlink these files, I get this message :
ln: cannot create xyz: File exists
I do not want to use
ln -sf ...
11
votes
6
answers
5k
views
How to find out whether two directories point to the same location
Do the following paths point to the same disk location?
/home/username
/app/home/username
10
votes
3
answers
9k
views
How to mount a local directory without root
Say I have a folder which is completely readable by my user. I want it to be mounted to my home folder. I can't use a symlink because I want the files to be exposed at ~/ and I want other programs &...
7
votes
3
answers
45k
views
List of user permissons for a specific folder
How can I get a list which users are authorized to a folder and which permissions they have?
I tried already the most common ones like 'ls', 'namei' or 'getfacl'
17
votes
1
answer
9k
views
Union mount on Linux
A union mount presents a combined view of multiple directories (branches) in a single hierarchy. Ok, but how do I use one in practice, and which one?
Many union mount technologies are available on a ...