Questions tagged [vfs]
The vfs tag has no summary.
42 questions
3 votes
0 answers
94 views
Mapping file UIDs when mounting ZFS on linux
I have a ZFS filesystem on an external drive, but the user ID of my accounts don't match between computers. Is there a way to map the UID when mounting (without actually changing it on the filesystem) ...
6 votes
1 answer
2k views
How to solve this kernel-panic on a Debian 12 system?
Context: My PC don't boot anymore after a power hard cut. I can boot a LIVE DVD and mount all file systems. fsck is clean on my boot partition (ext2) and on my system/root partition (btrfs) smartctl -...
0 votes
0 answers
76 views
IOzone Filesystem Benchmark WEIRD Results on EXT4
I'm currently using an i7 with 32 GB of RAM to measure ext4 performance. However, I've encountered some unusual results when testing with 8 GB and 16 GB files. Shouldn't the performance increase ...
0 votes
1 answer
165 views
How to empty name cache on FreeBSD?
The name cache on FreeBSD is responsible for caching file names and their vnodes. It also provides a special database for hashing the contents of large directories. I would like to know how to empty ...
1 vote
0 answers
313 views
Linux TCP/IP kernel stack and VFS interaction
I'm reading the Linux kernel implementation of the TCP/IP stack. Everything was ok till I encounter this figure while reading TCP/IP architecture, design and implementation in Linux As you may see ...
0 votes
1 answer
761 views
NetFS for linux
Both plan 9 and FreeBSD have a filesystem-based approach to a unified userspace interface for networking configuration. This paper for example describes the advantages of such an interface, from ...
0 votes
1 answer
1k views
How can `cat` read a file without a file descriptor?
I'm learning Linux procfs, which utilizes a virtual file system where operations like open, read, write, and release are processed by functions registered to it. I've left the open and release to null ...
0 votes
1 answer
381 views
Host's VFS and Docker's OverlayFS
Linux's Virtual File System(VFS) provides a common interface to multiple file system types, for example, ext2, ext3, VFAT, etc. Imagine an ubuntu host is running several docker containers, and the ...
1 vote
0 answers
113 views
vmtouch-like utility for file metadata/VFS cache?
vmtouch can query cache information about a file's content and load (or even lock) that into cache. Is there a utility which do the same with a file's metadata like dentries and inode information?
1 vote
0 answers
92 views
Multiply root filesystems? In Linux? [closed]
I use Linux for a while, now. I always thought that there is only one rootfs in Linux. However, I recently read that PipeFS is mounted in "pipe:", in its own root. How is this possible. Are ...
2 votes
1 answer
42 views
Usage and role of s_pins field in the VFS superblock
I study with details the structure of the VFS superblock and I noticed the field struct hlist_head s_pins; Even though I made an extensive search it was not possible to find info about this. I only ...
2 votes
0 answers
26 views
How Linux system knows what files/subdirectories are under one directory [duplicate]
I'm reading the book "Linux Kernel Development", and there are some important points: inode doesn't include filename. filenames are stored in directory entry(dentry). but dentry is not ...
-2 votes
1 answer
50 views
Which of the following requests do not go through the Virtual File System (VFS) in Linux?
I recently got the following question in a test. Which of the following requests do not go through the Virtual File System (VFS) in Linux? Reading/writing to a Windows partition from Linux Reading ...
-1 votes
1 answer
2k views
How does an open(at) syscall result in a file being written to disk?
I'm trying to learn as as much as I can about about the interplay between syscalls, the VFS, device driver handling and ultimately, having the end device do some operation. I thought I would look at a ...
0 votes
0 answers
1k views
My custom built minimal kernel linux won't boot with the error "Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1)
Sorry about the noob question. I just built the cross compiler, created the filesystem hierarchy, compiled the kernel and BusyBox and put it on a USB and installed GRUB. When I boot it, I get this: ...