Questions tagged [filesystems]
A filesystem is a way to organize and store computer files with their data.
14 questions from the last 30 days
0votes
0answers
41views
Not able to modify inode metadata
I am working on a ext4 file-system tool that aims to delete files such that they are not recoverable later on. My goal is to clear the inode metadata of a deleted file, but despite my efforts, the ...
0votes
1answer
19views
Moving the Desktop folder (Linux Mint 22.1 Cinnamon)
Recently, I accidentally dragged my "Desktop" folder into another folder (/home/[name]/Programs/). I have been trying to return the Desktop folder to its proper place, /home/[name]/. However,...
2votes
0answers
24views
Adding a Label to XFS devlog partition
Situation I am setting up a XFS filesystem with an external "devlog" partition. The reason I'm doing this is to save on costs a bit by making a large slow drive for data storage and a small ...
3votes
3answers
827views
How to determine, with certainty, the filesystem type of a partition from the outputs of the Linux "file -s" command?
My problem is to decode the output of the command file -s /dev/sdX on my system (where /dev/sdX is the device file associated to a USB key). Below I'll show the output of the command file -s /dev/sdX ...
1vote
3answers
150views
How to find the filesystem type of the partition of an USB before mount it?
I have to mount a old USB key formatted with FAT filesystem. The mount must be executed automatically by a udev rule which executes a bash script. When the USB key is inserted in the USB port, the ...
0votes
0answers
34views
I am having BTRFS error. Does not know what it is?
I am using Parrot OS and doing just regular stuff (web surfing etc) and encounter this error. It is a File system error but could not figure out what this mean and how to resolve it. This is my first ...
2votes
1answer
74views
Mapping two users to host with user namespaces
I'm trying to understand whether it's possible to map two users from a user namespace to two different users on the host. The goal is to replicate the same permissions I have on my host inside a ...
2votes
1answer
44views
How to prioritize SSD page cache eviction over HDD with slower speed?
I have a large slow HDD and a small fast SSD. This is about reads not RAID. My desktop grinds to a near-halt when switching back to Firefox or man pages after (re/un)-loading 12+ GiB of Linux kernel ...
0votes
2answers
39views
fsck on a faulty disk terminates with Error writing file system info: Remote I/O error
I'm trying to read old IDE disks through an USB adapter on my Linux Mint machine. One issues a "Can't read superblock on /dev/sdb1" when I try to mount it. I use dumpe2fs to get the ...
1vote
0answers
43views
HDD Write Performance: Pre-allocate vs. Append (Inode Impact?)
When writing a large (10GB) file to an HDD, I'm considering two approaches for writing the data: Pre-allocate: Create a 10GB file upfront and then write data sequentially (e.g., using fallocate on ...
-1votes
0answers
68views
why does isn't the crtime preserved even when specifying it should? [duplicate]
I'm on Ubuntu Ubuntu 24.04.2 LTS with Ext4 and I'm trying to copy file to an external drive on /media/<user>/<Drive>. Which I have formatted with ext4, to have compatibility. I have ...
0votes
1answer
73views
Determine used space of a block device with no filesystem
How can I determine used space of a block device that has no filesystem on it? If it helps, such device is managed via lvm. I understand that the concept of "used space" on a device without ...
0votes
0answers
26views
Running Linux in AARCH64 QEMU with XFS Filesystem
I'm stuck trying to run Linux in QEMU with a few requirements. Any help or ideas is greatly appreciated! My goal, the problem, and how I setup everything up is shown below. Goal I am trying to setup ...
2votes
0answers
57views
find output is different from ls - what could be the reason for this?
On a MacBook, I tried to access one of the system apps, Maps.app which is normally a folder stored in /System/Applications on a separate volume (here mounted as /System/Volumes/Data). What I found odd ...