As of May 31, 2023, we have updated our Code of Conduct.

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.

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

Grant user access to create snapshots in btrfs

I am trying to allow my backup program to take a snapshot of my filesystem. The goal is to create a snapshot for the duration of the backup to ensure a consistent view then the snapshot can be deleted....
Kevin Cox's user avatar
  • 1,394
-3 votes
1 answer
35 views

Backing up Google Photos collection to an external microSDXC card (with a exFAT filesystem)

SWIM has a Motorola moto e5 play with Android 8 as the OS. This individual wants to backup their entire photo (& video) collection stored on Google Photos, and move it entirely onto a 128GB ...
NoYouNaiveBaye's user avatar
0 votes
0 answers
20 views

WinFSP and SSHFS Multi-layer SSH issue

So I am trying to use WinFSP and SSHFS on Windows 11 to get a local copy of a remote system. I have successfully gotten the file explorer tool "Map Network Drive". I use: \\sshfs.kr\'address'...
user avatar
0 votes
2 answers
42 views

Does the events log have a record of when a file was created and permanently deleted?

I permanently deleted a file from my computer. Although I have the data in a later version of the file, I now realize I needed the timestamp on that file to calculate how long it took to generate the ...
NewSites's user avatar
  • 588
0 votes
1 answer
28 views

Swapping partitions in openbsd

After a regular openbsd installation I have this partition scheme: # df -h Filesystem Size Used Avail Capacity Mounted on /dev/sd0a 986M 111M 826M 12% / /dev/sd0k 46.4G ...
somenxavier's user avatar
0 votes
1 answer
18 views

Is it guaranteed that a file descriptor will be created when a process accesses a file? Specifically in /proc/pid/fd

I am creating an ebpf program that has a tracepoint on the syscall read(). The purpose of the program is to count how many times a file is read. My current method to trace this is as follows: When ...
Logan 's user avatar
  • 21
2 votes
1 answer
50 views

How to name files to easily insert something in the middle?

I have a directory of files that are consequent scenes of a complete video. └── 01-feat    ├── 00-home-scroll.mp4    ├── 01-page-home.mp4    ├── 02-page-about.mp4    ├── 03-page-contact.mp4    ├──...
wscourge's user avatar
  • 245
0 votes
0 answers
33 views

Numerous world-writable Directories in /proc/

I have searched for world-writable files and directories using the find / -perm -2 ! -type l -ls command on a Linux Mint system and have found a very large amount of world-writable files under /proc/ ...
JF0001's user avatar
  • 101
13 votes
4 answers
3k views

Why do bigger clusters yield less capacity?

I was playing around with a thumb drive and I noticed a counter-intuitive trend. The bigger I make the cluster size (allocation unit size in windows, block size in linux), the less capacity gets ...
martixy's user avatar
  • 915
4 votes
1 answer
341 views

How to set file permission for multiple users in linux

I have a file format.sh in linux os. There are five users a, b, c, d & e. How can I set the file permission for different users: a -> Read, Write & Execute b -> Read & Execute c -&...
Udesh's user avatar
  • 776
0 votes
0 answers
19 views

How can I setup RPC using a file system to sync and transfer data instead of a network?

I have two separate networks, and due to network security policies the only bridge between the two is a SMB network share. How can I setup an RPC system (targeting Python but casting a wider net here) ...
Geordie's user avatar
  • 422
1 vote
0 answers
31 views

How does dependency uninstalls occur while uninstalling a software in OS?

I installed mono and using homebrew and its dependencies is installed with it as a prerequisite. After uninstalling the mono again I realized it does not uninstall dependencies it installed initially ...
yokus's user avatar
  • 45
2 votes
0 answers
180 views

Repairing partition table with wrong sector size messed by usb-adapter and with possible block errors

I have a 4TB WD hdd (with sector size of 512e/4096) that was first formatted as GPT/ext4 with an usb-sata enclosure/adapter on a Raspberry Pi 3. Apparently the load was too much for Rpi3, and ...
autogris's user avatar
17 votes
7 answers
2k views

Configuring a system to persist deleted files

I'm building a new system with Linux installed for a specific purpose that involving a third party to interact with it. Apart from applying necessary firewall rules to isolate the machine from the ...
tvc's user avatar
  • 502
0 votes
1 answer
144 views

How to read Linux text files in Windows system?

For example, I run the top command and store it to a file in Linux, after that I open that file in Windows it contains some gibberish. Here is the file viewed in Notepad++: The option to convert to ...
TeaViris's user avatar
0 votes
0 answers
28 views

How to instruct the linux kernel to resolve all symbolic links in a mounted directory relatively to another root?

I have mounted an ISO at /mnt. The ISO is android's system.img. At the root it has a folder etc that is linked to /system/etc: lrw-r--r-- 1 root root 11 Dec 31 2008 etc -> /system/etc But it ...
g00dds's user avatar
  • 43
0 votes
1 answer
185 views

How to mount .img file as read-only ext4, but give users read permissions to the whole fs?

I have a system.img android's image file that has ext4 filesystem in it. I mount it as sudo mount -o ro system.img /mnt I have two questions: Why do I need root access to mount the image file? ...
g00dds's user avatar
  • 43
-2 votes
1 answer
52 views

How Does Duplicating Files To Reduce Read Time On Disks Work?

i recently looked into game files of a Sega Dreamcast game called "Tokyo Bus Guide", and i found a odd thing, there were tons of duplicate files! when i researched on it and an Quora Comment ...
Aditya's user avatar
  • 107
0 votes
1 answer
60 views

How to automatically format an SD card or a USB flash drive with one FAT32 partition that uses the entire storage space?

I have some SD cards with some existing partitions that I want to format to one FAT32 partition and I want to do it as automatically as possible. Best just using one command. When I connect them their ...
VaNa's user avatar
  • 131
0 votes
1 answer
40 views

Nginx autoindex is blocking IO on listing files

I recently encountered this issue where, I served a data path using auto-index, within it there is a directory with a LOT of files (I have a directory with 1228240 files on btrfs). Accessing an ...
Hykilpikonna's user avatar
0 votes
0 answers
31 views

Is recursive bind mounting possible in Linux, preferrably without extra tools?

Here is a test with both mount --bind and mount --rbind options, neither of which goes full-recursion: $ tree . ├── adir │   ├── afile │   └── bbind └── bdir ├── abind └── bfile $ sudo mount -...
Cigarette Smoking Man's user avatar
0 votes
0 answers
12 views

Windows get error UNMOUNTABLE_BOOT_VOLUME after reinstal Fedora Linux

I recently reinstalled Linux (Fedora). I mistakenly formatted the volume with efi. Naturally, I lost access to Windows boot. Firstly, I booted into a flash drive and tried to restore the bootloader ...
Igor Yukhimenko's user avatar
1 vote
0 answers
119 views

How to repair a XFS filesystem with a dirty log?

I had a server crash while its RAID array was running in a degraded state and now the XFS file system is corrupted. I have read up on how to repair the filesystem but most things I have tried have ...
boulderlund's user avatar
0 votes
0 answers
478 views

How do I mount an f2fs partitioned SD card on Windows?

Similar to this question, I tried mounting my SD card using wsl. First I installed wsl: wsl --install This installed ubuntu, and after a restart I ran wsl and executed the following: sudo apt update ...
UnseatedDropbox's user avatar
0 votes
0 answers
16 views

Linux fs permissions issue

I have a folder like: /home/<username>/storage/apps/<name>/f/<filename> all folders and files under "storage" directory has owner: 1000:1000 I'm running by binary which ...
vv3d0x's user avatar
  • 1
0 votes
1 answer
52 views

Does the batch command "ren" cause write operations on disk?

Problem statement We are using a batch-script, part of which is using the ren command to rename a file. This script is ran once per second, possibly even at a higher frequency than that in the future. ...
Koenigsberg's user avatar
0 votes
0 answers
40 views

Why are not all my files included when I gzip a directory?

I know this is a question that has been asked before, for example here Recursively count all the files in a directory, but this is driving me crazy. Let me explain: I have a directory called "...
Mathias's user avatar
  • 101
0 votes
1 answer
137 views

How does Logical Cluster Number to LBA translation happen in NTFS?

I'm reading about NTFS, and I found out that NTFS uses LCN (Logical Cluster Number) addresses for files. The information about data blocks are stored in the FCB of the file which is located in MFT. As ...
Abhijit Dey's user avatar
5 votes
2 answers
654 views

When upgrading from Win10 Home to Pro will any files/apps/user-folders/environment-vars/Win10-Settings be deleted or modified in anyway?

Aside from the new features being added and minor changes here and there, will any files/apps/user-folders/environment-vars/Win10-Settings be deleted or modified in anyway? I don't think it will based ...
Bwizz's user avatar
  • 53
0 votes
0 answers
22 views

Noticed very large space utilisation in linux LVs, how to find which file or what is responsible here?

I have two disks in my server with a LVs created and issue is on the one mounted on /. I am aware of using find and sort to output the largest for some given number of lines. like: find / -type f -...
animorph's user avatar
0 votes
0 answers
74 views

Occasional HDD unmounted by systemd after kernel errors

The problem I'm having is that occasionally (with varying frequency) my HDD will randomly stop working (I hear the sound similar to when you unplug a USB drive). After rebooting everything is as it ...
Fyodor's user avatar
  • 1
0 votes
2 answers
107 views

What happens if I dont resize filesystem after increasing storage

My question is built on top of this post: why df vs lsblk command have different results? The command, df and lsblk, yielded different result since I increased the storage. From the above post, it ...
Alan Chen's user avatar
1 vote
0 answers
48 views

Does copying many files in the same directory on an SSD result in increased wear of the blocks that store the concerned filesystem area?

Assume several 1000's of files are copied in the same directory on an SSD. In such cases, the concerned part of the filesystem area must be updated after each newly created file, and it is highly ...
zrx8's user avatar
  • 23
3 votes
1 answer
47 views

How to shorten Dropbox path on a business Dropbox plan shared by other co-workers?

I'm a member of a business Dropbox plan along with colleagues. I want to shorten the directory structure for my machine only. Can anyone recommend a way to map a subdirectory as a drive or just force ...
Professor Longpath's user avatar
0 votes
1 answer
55 views

My folders turned into files on my FAT32 usb

I have some very important archives in folders on my USB. I needed to use a program on a computer in my school because i did not have it in my laptop, but when i plugged and checked my USB in the ...
Mirelurk Gaming's user avatar
0 votes
1 answer
234 views

How to delete a line based on a regex string in Powershell?

I want to validate if the line above a certain line is there, then ok. if else, then delete that line and remove the empty space ? Can this be done in powershell? please help If before all lines ...
coder234's user avatar
2 votes
0 answers
100 views

Does anyone have a way of Exporting File 'Creation Date' and 'Modified Date' in order to restore this data onto files from a backup

I am able to get the data I want using PowerShell: gci -path .\ -recurse | sort name | select name, LastWriteTime, creationtime The issue here is, I have an online backup solution. When you restore ...
Tim A's user avatar
  • 21
1 vote
1 answer
305 views

How to add lines above and below a certain line in Powershell based on regex pattern?

03,201779,,01354,73923309,,,TEST2,7962753,,,0343,5087632,,/#end of line 04,399,777873,,,,text234,,,,/ 33,TEST1,,,0343,,93493,,,343,,,,TEST3,,,,,,/ 37,TEST37,text 49,24605597,6,343,343,343,,,3434,,,/ ...
coder234's user avatar
0 votes
0 answers
27 views

How to combine 64 gb SD card with Nvidia-TX2 developer kits internal 32 gb storage

I must say that I'm still in the learning process of using Linux and Linux-4-Tegra. I have filled the internal 32 gigs of storage my Nvidia_TX2 dev kit has, and trying to merge 64 gigs SD card with it....
mollinas's user avatar
1 vote
1 answer
46 views

A virtual folder/index of folders in windows 10?

I have a folder with lots of folders inside, each of these folders have some folders which finally have files in them. See example below (the number of folders, subfolders in folders or files in ...
Jokru's user avatar
  • 29
1 vote
3 answers
113 views

What's the motivation behind limiting the file system block size?

The file system defines the block as basic allocation unit. Both the upper and lower limits specified on behalf of operating system. For example, Linux kernel requires the file system block size to be ...
mejjete's user avatar
  • 11
0 votes
0 answers
442 views

I can't chattr to /etc/resolv.conf

I can't change use chattr here. It's not a symbolic link. Why can't I change the attribute? sudo chattr -i /etc/resolv.conf chattr: Operation not supported while reading flags on /etc/resolv.conf ...
Bruno Thiel's user avatar
0 votes
0 answers
42 views

Corrupted Drives While Copying Large Files Between LUKS Partitions

I'm currently in the process of backing up a few terrabytes of files from one drive to another. (both LUKS encrypted HDDs) Unfortunately, after some time I always end up with readonly filesystem ...
Florian Ludewig's user avatar
0 votes
0 answers
31 views

What is the real Windows root directory? Is there a tool for viewing it? [duplicate]

I've seen paths like \Device\HarddiskVolume2 that apparently means the C:\ drive. I also recall seeing something online where it said that \ was the real windows root. Is this true? If so, is there a ...
dumbprogrammer's user avatar
1 vote
1 answer
56 views

Is it possible to create a "virtual" file on disk that acts like a "view" into the combined contents of 2 or more "real" files?

Imagine I have 2 text files: a.txt b.txt Is there a way to create a third "virtual" file that when opened, shows the contents of both files a and b in a contiguous manner as if they were a ...
julealgon's user avatar
  • 113
0 votes
0 answers
146 views

Slow hardware RAID0 write performance with 26 drives

I need a storage server with a total disk space of at least 400TB and write speed (preferably) well above 2GB/s for a scientific experiment which will transfer files of the size about 10GB via a ...
tamasgal's user avatar
  • 123
0 votes
1 answer
308 views

lvresize fails: mount: /var: not mounted. Cannot proceed with mounted filesystem

I'm trying to resize the /var partition on debian 11.6. FYI: (I replaced the true volume group name with "xxx") # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda ...
ChristophK's user avatar
0 votes
0 answers
87 views

"System can not find the path specified" Unity 2021.3.16f1

I have been trying to get into Unity but an error saying "System can not find the path specified" happens when I try to open a project. . I'm using Unity version 2021.3.16f1 and I am ...
David Brownhill's user avatar
28 votes
2 answers
7k views

Is it safe to delete a file that is reportedly bigger than it should be

After calling unrar on a RAR archive on my 1 TB NTFS drive, I am left with a file, that reportedly has a size of 86T. Is it safe to delete such file? What is the best way to safely get rid of this ...
IsawU's user avatar
  • 391
-1 votes
3 answers
52 views

Is it possible to prevent files on a usb drive from being searched on any computer?

I have searched, but all methods that I found need to be done on computers. I have a usb drive, and I may use it on different computers. It's impossible to set "Indexing Option" on every ...
Ryan's user avatar
  • 23

1
2 3 4 5
64