Questions tagged [filesystems]
A file system is a way of organizing data on a computer system. Typically a file system consists of files, folders (normally a special kind of file) and an API that can be used for interacting with files.
filesystems
9,649
questions
0
votes
0
answers
22
views
failed in boost::filesystem::abolute(root_path).lexically_normal(); [closed]
Got almost nutty about a failure which I spent two days but still cannot find out the reason
It failed in fs::abolute(root_path).lexically_normal(); where root_path=C:\Users\myname\Documents\. I am ...
2
votes
0
answers
30
views
Good way to understand if file has been just created rather than modified in Linux
I need a way to learn if a file has been just created (rather than e.g. modified). I do it like this:
const bool isCreated =
((f.atime.tv_sec == f.mtime.tv_sec) &&
...
-3
votes
0
answers
25
views
BTRFS RAID 5/6 Status and auto-healing [closed]
I have two/three questions about BTRFS and its RAID 5/6 Support and couldn't find an up-to-date answer to them. Hopefully someone here knows them and can answer, as i love BTRFS and have a use-case ...
0
votes
1
answer
27
views
Confused by Linux File Times
I am writing some code to manage file times (atime, ctime, and mtime) for a LittleFS file system. In my desire to make this somewhat Linux/Posix like I ran into questions as to when these times are ...
0
votes
1
answer
45
views
Confusion in MacOS filesystem and mounting point [closed]
I have only basic understanding of about mounting of filesystem and the mounting point.
Following is the result I run df -h:
Filesystem 512-blocks Used Available Capacity iused ifree %...
0
votes
1
answer
20
views
FAT12 cluster chain just stops, can't tell what's going on
I'm working on a FAT12 driver for my OS (you can find the driver here) but I've run into a very strange roadblock, that I don't know is with my code or the driver.
I have a file called long.txt that ...
0
votes
0
answers
14
views
Download file via sftp in one go [closed]
I have a 6 Mb file that I need to download via sftp. Problem is that the filesystem I want to download to doesn't allow to write to existing files. Meaning that if the file is downloaded in chunks it ...
0
votes
0
answers
28
views
Memory leaking when using nandsim and mounting a file system on it when using cache_file argument [closed]
My expectation was that when nandsim is passed the cache_file argument that nandsim would use the cache file to back the simulated memory instead of RAM. What I am observing though when I dd create ...
-1
votes
1
answer
19
views
System.IO.Abstraction: Autofac.Core.DependencyResolutionException: 'An error occurred during the activation of a particular registration
Background
I started using the NuGet package System.IO.Abstractions to unit-test File methods (File.Exists(), File.OpenRead(), File.Move(), etc.). I installed the NuGet in both the unit test project ...
0
votes
1
answer
44
views
Where are pictures saved when opening the camera from iOS webview?
I have a react native app which uses react-native-webview 13.10.3 (which uses WKWebview on iOS). Sometimes the page in the webview contains an <input type="file"> which, on click, ...
0
votes
1
answer
19
views
Is there something that caches deleted files for a period of time on the drive? [closed]
I am having problems determining the creation time of a file.
When I copy a file from one folder to another and delete the original file, the copy gets a new created date. If I copy the copy back to ...
0
votes
2
answers
62
views
Is there a simple basic way to navigate the file system in emacs avoiding dired?
I have been trying to find a way to do simple file-system navigation as can be done using most command line interfaces such as
cd sourcetext
To change the current directory to one of its ...
0
votes
0
answers
18
views
How to atomically exchange an executable that could be invoked at any time
We have a service on our server that is triggered by a cronjob quite frequently. Now we want to update this application to a new version.
How can we do so without risking the application to be in an ...
-1
votes
0
answers
42
views
Format of f_handle in file_handle,
I'm using the struct file_handle to identify a file in an unique way for a fs monitor. I want to know what the format is of the f_handle. The manpage of name_to_handle_at says:
"Other than the ...
1
vote
0
answers
18
views
Read from disk using C kernel ATA Qemu
I am making a simple OS, and I want to read letters from disk in C kernel and display them on screen, I am using x86 SeaBIOS on Qemu emulator on M1 Mac. I save data using ata_write(1, 1, data) and ...