Questions tagged [virtual-file-system]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
21 views

What utilities do I need to mount a virtual filesystem?

I am making an initramfs, and I want as few utilities as possible. Specifically, I don't want busybox. Since my root is zfs, I need zfs.mount. However, I also need to mount proc, sysfs, devtmpfs, and ...
2
votes
0answers
141 views

Controlling the page cache usage

The unfortunate situation that we're in right now is that historically, we've been over-provisioning RAM to our on-prem VMs and we're starting to run up to the limits of actual usage with midday ...
0
votes
0answers
19 views

How can I provide renamed symlinks automatically and instantly? (e.g. in a virtual filesystem)

In order to not to run into an XY-Problem, here is the purpose I want to achieve: I just want to have a folder with dynamically mangled names of an original source folder. original folder: ...
1
vote
1answer
825 views

How do I create a temporary file in memory?

I need to create some (small) temporary files in my zsh scripts, and I want them to live on RAM so as to avoid disk IO. What are the idiomatic ways of doing this? I want it to work on Linux and macOS, ...
2
votes
0answers
869 views

Enormously large in-use dentry cache

We have an EC2 instance that has a very large (50+GB) dentry cache and most of it is in use (99%). "drop_cache" commands (sysctl -w vm.drop_caches=2 or sysctl -w vm.drop_caches=3) don't help much, ...
0
votes
0answers
76 views

Enable DEVPTS_FS option in Linux kernel 2.6.26.5

Board with embedded Linux kernel version 2.6.26.5, for ARM target. Busybox 1.10.2. How to enable DEVPTS virtual filesystem support in kernel? I tried to find item CONFIG_DEVPTS_FS in config files, but ...
2
votes
0answers
97 views

Why do mount points need to be existing directories?

This question is not about me having any kind of technical problem. It is about understanding a design decision. To me, the question "Why do mount points in Linux need to be existing directories?" ...
-2
votes
1answer
205 views

Does the virtual filesystem work on top of character devices and network subsystems?

Does the virtual filesystem work on top of character devices and network subsystems, or just on top of filesystems and block devices? Could you also explain a bit about in what sense "the VFS is ...
5
votes
1answer
6k views

Understanding how mount namespaces work in Linux

I am reading about mount namespaces and see: in a mount namespace you can mount and unmount filesystems without it affecting the host filesystem. So you can have a totally different set of devices ...