Questions tagged [filesystems]
A file system is the specification of how files in a computer should be stored, named and organized. This tag should be used for generic file system questions. For specific file system questions (FAT, NTFS, ext4, ...) use the appropriate tag instead.
3,270
questions
0
votes
2
answers
39
views
Can I restore a Windows 95 MBR using a Windows XP installation disk?
If I have Windows 95 installed on a temporary, secondary, FAT32 drive (which needs to go back into its original machine), can I repair its MBR using a Windows XP installation CD ROM?
0
votes
0
answers
12
views
How to get ZFS working on Alpine Linux 3.18?
According to this tutorial, all I need do is install the zfs and zfs-lts packages, issue a modprobe zfs and I'm good to go.
Not so much.
Having created a pool and a couple of datasets, I rebooted the ...
0
votes
0
answers
37
views
Command to unlock "Locked" files on macOS Sonoma
In the end I manage to delete a .plist file from MacOS Sonoma recovery but when I reboot it keeps appearing again.
Why does this happen and how do I solve it to eliminate it permanently?
chflags ...
0
votes
1
answer
19
views
FileSystemWatcher does not react to changes in excel file
I am trying to create a systemFileWatcher that watches a specific excel file for any changes. When triggered it should runs a few commands, logs the activity and then continues watching. However, for ...
0
votes
0
answers
18
views
ubuntu filesystem display names in df -hT
I have an older linux system that has a certain file structure that we need for a program we use. im building a new ubuntu server to take over for the older one and im trying to make the filesystem ...
9
votes
7
answers
4k
views
Where exactly does the root directory exist in the linux filesystem?
In Windows each drive has a letter and file paths start with a drive letter. so my home directory is inside C:\Users.
In linux the OS is installed into the main partition which is say /dev/sda1 which ...
0
votes
1
answer
56
views
Is it possible to have an exFAT partition inside an ISO file?
I'm using an USB 2.0 Stick with 16GB of storage and I have an installer ISO which is 2.8GB.
When flashing this ISO to the stick I notice that the speed is very slow (5 minutes) compared to copying the ...
1
vote
2
answers
65
views
Create a folder with a name ending with a dot on a NTFS volume in Linux
On Windows, the win32 API seemingly disallows a directory name to end in a dot (.) but according to several questions asked in that direction (e.g. link1, link2), the solution on windows is to specify ...
0
votes
0
answers
30
views
A an inexplicable difference between the sum size of files on Local Disk C and its Used space attribute [duplicate]
I am cleaning my old laptop running Windows 11 Pro. I noticed a detail which does not make sense to me, hence my inquiry.
When select all top-level files in Local Disk C and right-click, then click ...
20
votes
6
answers
9k
views
Why did PC users need partitions in the 1980s
I'm currently working on research related to the history of file systems.
Apparently the Master Boot Record was introduced with MS-DOS 2 in 1983, which was also the first DOS that supported hard disks....
0
votes
0
answers
43
views
How to sync filesystem and wait until it's done
On my embedded device, I want to let user export logs on plugged USB disk. USB disk is normally used only to read, so I don't care much about safe unmounting. But when logs are stored to it, I need to ...
0
votes
0
answers
35
views
Why does "nautilus"(Gnome FIles) gives me so smaller size of directory, compared with "du"?
I have compressed a folder and if I right click in the folder and click properties, I get from nautilus (Gnome Files)
but instead if I run du (from the branches parent directory):
$ du -sh *
292M ...
0
votes
0
answers
86
views
How to get the total actual number of inodes for file system?
In the Linux terminal I can do df -i to show how the inodes are allocated. That is explicitly not what I need.
What is the terminal command needed to reveal how many inodes are available to the file ...
1
vote
0
answers
79
views
How to investigate ext4 filesystem going read-only (no hardware errors reported)?
I have two separate systems experiencing what appears to be the same issue:
"Desktop" - i7-7700K, ASUS Prime Z270-A, Ubuntu 22.04. Kernel 5.15.0-94-generic.
"Server" - NUC8i3BEH, ...
0
votes
1
answer
42
views
Linux - What causes processes to block aka "disk sleep" on synchronous writes?
...as in, for example using dd to dump an ISO image to a thumb drive, or such. At the end of the transfer, the process doing the (afaik synchronous) write is left in 'disk sleep' status for several ...
4
votes
3
answers
2k
views
Is it possible to recover files on NTFS after writing to the same directory?
I've accidentally deleted a couple of .tex and .pdf files. The files were stored under C:\Users\Name\Desktop\notes on my laptop's SSD. I'm using a Windows 11 Pro. It seems like this happened about a ...
0
votes
1
answer
58
views
Rescuing data from HFS+ backup?
I recently learned about the "pitfalls" of using HFS+ when backing up data. I backed up a Time Machine drive a couple of months ago. I just used rsync to do so. So now I have a copy of it on ...
1
vote
1
answer
45
views
NUL characters appear at the end of some files sometimes
Since I am using Synology to backup my files and sync them between devices, I sometimes get NUL characters at the end of my files and sometimes 2 or 3 lines are deleted randomly at the end of the file....
1
vote
1
answer
140
views
How to identify file by "File Record Segment"?
How to actually identify files by "File Record Segment" addresses as reported by chkdsk?
There was a blackout and my drives' filesystems were corrupted, the hardware and operating system ...
0
votes
1
answer
81
views
How to see all files affected by chkdsk?
A few weeks ago my home lost power while my computer is on. Recently I have encountered some problems.
So I did a full system check, I used SeaTools for Windows and all drives passed S.M.A.R.T check, ...
0
votes
1
answer
28
views
Breaking down e2fsck
Is e2fsck -cc equivalent to badblocks -nsv -o badblocks.txt; e2fsck -L badblocks.txt?
If so, could I potentially speed up the testing by getting badblocks to do a destructive read-write test? Like ...
0
votes
0
answers
133
views
Why might Node be unable to read multiple upper case files in a Windows directory?
I have a problem related to a software development library called typescript-eslint, but seems to actually be an issue with Windows (specifically, reading files from a drive).
What's interesting is ...
0
votes
0
answers
28
views
Linux mounted VFAT filesystem shows semicolon-asciicode for some uppercase letters
The disk is listed as follows:
$ sudo fdisk -l /dev/sdd
Disk /dev/sdd: 298.09 GiB, 320072933376 bytes, 625142448 sectors
Disk model: USB 2.5"-HDD
Units: sectors of 1 * 512 = 512 bytes
Sector ...
0
votes
1
answer
71
views
Files Encrypted when transfered from Mac to windows
We discovered that files transferred from Macs to a Windows server are showing as encrypted.
We no longer have some of the original Macs and when we try remove the encryption it says access denied.
...
0
votes
1
answer
45
views
Having issues mounting raw disk image in OSX
I have received this disk image from a embedded linux device. I need to mount the image and check some files on it.
This is what I have tried so far:
> hdiutil attach -nomount ~/Downloads/dskimg....
0
votes
0
answers
89
views
Filesystem to use on SSD for cross platform Linux Windows software development [duplicate]
I know the question "which cross os filesystem" has been asked again and again with ntfs being the go to, but I would like to determine which would be best for a specific use case.
I'm a ...
0
votes
2
answers
102
views
lvm: lvresize --resizefs does not read the request size in correctly
I am trying to resize a logical volume (as well as the filesystem contained on that volume) and am a little confused by the output of the lvresize command:
# lvresize --resizefs -L 2T /dev/archive/...
0
votes
1
answer
183
views
How do I import ZFS pool from a crashed system?
I had one ZFS pool attached to a system that crashed. I was looking for ways to bring that pool to a new system however it looked like I need to use zfs export first, given I do not have access to the ...
0
votes
2
answers
119
views
How to add Write Access on FAT32 USB drive? [duplicate]
I'm at my wits end here. I installed the Windows OS on my USB drive in order to install Windows on a brand new PC; for some reason this installation failed.
Upon plugging in the USB to my (old) PC ...
2
votes
1
answer
329
views
How to mount BTRFS partition multiple times both using the same space allocation?
I’m new to BTRFS and am wondering if it’s possible to share the space of a single partition but mount it under multiple mount points?
For example, I have a 1 TiB partition and want to share the same ...
0
votes
0
answers
49
views
What is the mechanism behind SD card's write-protection under MS Windows and how to deactivate it? [duplicate]
I have an SD card which I use in Canon EOS 700D camera. I cannot delete the files! I checked the basic things I know the operating system is using for this purpose:
The physical lock on the side of ...
3
votes
2
answers
459
views
Get the default cluster size for NTFS
I try to determine the default cluster size for NTFS. I check this table.
The problem is when the size in the boundary, for example:
2 TB–16 TB: 4kb
16TB–32 TB: 8kb
Then what will be the cluster size ...
0
votes
0
answers
40
views
Trouble mounting SquashFS filesystem from TP-Link Deco M5 router firmware
Question
I am new to reverse engineering and trying to retrieve the file system of a TP-Link Deco M5 router from its firmware. I have successfully extracted the SquashFS filesystem from the firmware ...
0
votes
0
answers
35
views
No longer able to create or modify folder/file in Ubuntu 20.04 LTS
I was making changes to an Excel file(.xlsx) in WPS in my Windows 10 partition, and tried saving it when I got the following dialog box that my file had suddenly changed to read-only mode, which is ...
1
vote
0
answers
110
views
NTFS get the MFT entry by the record id in $DATA attribute list
I'm trying to code a simple NTFS parser in C and in this video explains that in attribute list $DATA, there is a file record id, this is an unique id in the MFT table that identifies the entry, he ...
0
votes
0
answers
21
views
Mount or sync an S3 versioned bucket with rewind - back in time
Assuming I have an S3 versioned bucket (backed by Ceph), I would like to restore from it at a specific time. mcli has a --rewind feature that allows some operations to time-travel into the past taking ...
0
votes
1
answer
49
views
can Clear-Content be equivalent to bash 'truncate'?
This could be off-topic, if so my apologies; please re-direct me to the correct StackExchange site.😉
Can Clear-Content file.log be used in Powershell, on a Windows Server environment to empty a ...
1
vote
0
answers
50
views
How to differentiate between directories created manually and directories created by installed programs?
On my Ubuntu laptop, I want to differentiate between directories I created manually and directories created by programs that I install for coding purposes (in Python).
I have searched a lot, but it ...
2
votes
0
answers
153
views
Partitions on a TF card are not working as expected; third partition is not seen
I want to create three partition in a new brand TF card (not micro SD), but I can't sort it out! What I did up to now:
create a disk partition table
fdisk -l /dev/sdd
Disco /dev/sdd: 250 GiB, ...
0
votes
2
answers
254
views
How to test for ext4 Partition? Not ext4 Filesystem
using:
neofetch --stdout |grep 'OS:'
OS: Kubuntu 22.04.3 LTS x86_64
Start Update Question due to someone deleted information:
No interest in testing for ext4 Filesystem.
lsblk -n -o FSTYPE /dev/sdb1 ...
2
votes
0
answers
87
views
How to determine what script is deleting files in Linux?
I run a Plex Media Server (PMS) on a ubuntu 22.04 system. There's been no update to the PMS libraries for a while, and I recently started adding a few movies to the collection. But what I've found ...
0
votes
0
answers
77
views
Is there something like a read-write ISO file, to package folders as mountable single files? [duplicate]
I often have projects that consist of many thousands of extremely small files. It's terribly inefficient to move these around or send them to people as individual files, and inconvenient to be ...
0
votes
0
answers
47
views
MacOS creating SFS (Self-certifying File System) group
Attempting to run the SFS file system toolkit (http://www.fs.net/). As I executed ./configure, an error shows with message
configure: error: Create sfs user/group or use --with-sfsuser/--with-sfsgroup
...
8
votes
3
answers
3k
views
No space left in device error despite being empty
Why am I getting No space left on device when I try to create more than 32767 files in my vFat USB Flash Drive?
Info
Flash drive is empty (freshly formatted)
$ df -H
> Filesystem Size Used ...
0
votes
2
answers
92
views
linux: /home/user's owner is changed to an integer; why?
The owner of the mysql users on my AWS instance has been changed from username to a number. The number is not listed in passwd, group, shadow or gshadow. It appears to be associated with an installed ...
0
votes
2
answers
128
views
If I ZIP a folder in NTFS, is the ZIP file NTFS?
If I zip a folder from an NTFS partition, can it be extracted on a device or OS that can't read the NTFS filesystem?
More generally, do zip files preserve the filesystem of the unzipped folder in some ...
2
votes
0
answers
193
views
BTRFS: no space but plenty free, balance doesn't do anything
I've got a BTRFS filesystem on four 20TB disks. It used to be three disks and I recently added a fourth:
> btrfs filesystem usage /data
Overall:
Device size: 72.76TiB
Device ...
5
votes
1
answer
3k
views
Windows 11 dev drive: how and why does it work?
Windows 11 has a "dev drive" feature which can improve performance of developer workloads. Developer drives use ReFS.
Questions:
Why is using ReFS going to help performance? After all, in ...
0
votes
0
answers
208
views
Efficiently Add and Remove Bytes at the Start of a Large File
This is my 2nd attempt, after I got some answers to an initial question and then realized what I really need... 🙂
I have very big files (*.iso, *.mkv) which I need to alter by adding a fixed number ...
0
votes
0
answers
72
views
GlusterFS help on setting up or a alternative option
I currently have a mergerFS mount set up with 3 disks, but want to add a way for another server so i can use docker swarm and have both hosts with the same data and setup. All i could find was rsync ...