Questions tagged [virtual-file-system]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
31 views

Virtual filesystem to merge multiple filesystems using patterns for resulting structure

I'm looking for a virtual file system, that would be capable of merging multiple filesystems into a new structure using some pattern. The underlying sources can be different filesystems by itself (...
user avatar
  • 3,785
0 votes
0 answers
41 views

A way to make virtual folders in Linux

Is there a file search engine like "Everything" in Linux? I came across this post from 9 years ago and I found there is something called Ferris. It appears to be a VFS layer that runs on ...
user avatar
0 votes
1 answer
75 views

Optimize ext4 for 1 giant file

I intend to have a 4Tb ext4 filesystem with only 1 file. The file will fill the entire drive. The file will be an image of another journaled filesystem which I will mount and use. What ext4 tune2fs ...
user avatar
  • 1,736
0 votes
1 answer
16 views

Get a prompt to confirm each time a file is opened by any application

I've got a file that contains information I need to let some apps read sometimes, but would generally prefer it's not accessed without me knowing about it. How can I get the file descriptor open ...
user avatar
  • 2,083
0 votes
1 answer
40 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 ...
user avatar
  • 129
2 votes
0 answers
210 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 ...
user avatar
  • 334
0 votes
0 answers
24 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: ...
user avatar
1 vote
1 answer
1k 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, ...
user avatar
  • 1,287
2 votes
0 answers
1k 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, ...
user avatar
  • 21
0 votes
0 answers
143 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 ...
user avatar
  • 437
2 votes
0 answers
118 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?" ...
user avatar
  • 2,945
-2 votes
1 answer
268 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 ...
user avatar
  • 89.7k
6 votes
1 answer
7k 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 ...
user avatar
  • 375