9,640 questions
0
votes
0
answers
47
views
How prevalent is the ability to mount individual files (not directories) into containers and filesystems [closed]
The pipeline system I'm developing uses data mounting to pass data data between different containers (in cloud or elsewhere). It needs to support many different container systems not limited to Docker,...
1
vote
0
answers
55
views
What is the best way to detect busy CPU cores for blk-mq request steering in Linux kernel?
I am trying to implement request steering in Linux kernel’s blk-mq layer to distribute I/O requests across CPU cores based on load. My goal is to redirect requests from busy cores to less busy ones to ...
0
votes
0
answers
93
views
How to run Android 13+ (aosp-arm64) on QEMU without Cuttlefish?
I have been trying to run a self-compiled AOSP build in QEMU. I have successfully compiled the AOSP source code for android-13.0.0_r84 (target aosp_arm64-eng) and obtained the following image files:
...
0
votes
0
answers
40
views
Python doesn't find my file but it is in the same directory [duplicate]
I'm trying to read my file cancion.txt, which is the same directory than my main.py.
But it gives mes the error
'File "main.py", line 5, in <module>
archivo_cancion = open("...
5
votes
1
answer
135
views
Boost.Process fails to handle executable path containing spaces
The following code is built and run on Windows 10 with msvc:
#define _WIN32_WINNT 0x0A00
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#pragma comment(lib, "ntdll.lib")
#include &...
0
votes
1
answer
24
views
Returning ENOSPC in write() operation in a FUSE filesystem
While implementing a simple filesystem for FUSE, I have arrived to the write() operation:
/** Write data to an open file
*
* Write should return exactly the number of bytes requested
...
0
votes
0
answers
34
views
ESP32 SD card write error: errno 22 (Invalid argument) when using fopen
I am trying to write data to an SD card on an ESP32-WROOM. My function for file creation is:
bool create_file(const char *file_path, const char *data)
{
if (!file_path || !data) {
printf(&...
0
votes
1
answer
21
views
Generic/multi-FS alternative to the XFS_IOC_RESVSP64 ioctl?
The XFS filesystem has (or used to have) a IOCTL named XFS_IOC_RESVSP64 for reserving space: You called it with a given file descriptor, and the XFS driver reserved an amount of space use by for your ...
-1
votes
1
answer
68
views
How to block a windows ReadFile call
I have a requirement that a single ReadFile call on a specific NTFS file blocks until I explicitly permit it to proceed from another thread. I attempted to accomplish this by obtaining an exclusive ...
1
vote
0
answers
99
views
Is it possible to a create a looped directory structure without any of the folders having a Reparse attribute and each folder having a unique File Id
I have come across a network share path, say \\Server\Share\Loop\Loop\Loop, where the directory structure is looping but the folder Loop has the attribute DIRECTORY (0x10) and not DIRECTORY+REPARSE (...
1
vote
1
answer
121
views
TypeScript solution for managing filesystem path structure
This question is all about a good TypeScript solution for managing all your paths of your filesystem structure.
When I came across web-based local applications or website backend pages, to manage the ...
1
vote
0
answers
47
views
How can I determine the max filename length on Windows network drive which may or may not be NTFS?
I'm on Windows and need to programmatically determine the maximum filename length allowed on any given volume. I'm having a problem with a network drive that is mapped to a btrfs volume on a NAS.
...
0
votes
1
answer
50
views
/usr/bin/time -v on cached file : why are file inputs showing as non zero?
My program reads from a file that is already in the page cache
cat foo >> /dev/null
I run /usr/bin/time -v on it and I still see file inputs is not zero, AND it increases
as I read more of the ...
1
vote
2
answers
85
views
Is there a way to ignore specific subfolders when using DirectoryInfo.EnumerateFiles without manual recursion?
I'm using the following code to get all files of given extensions inside a folder with it's respective subfolders.
string path = "C:\\FolderA\\FolderB\\FolderC\\FolderD";
List<string> ...
0
votes
0
answers
146
views
How to implement recursive folder processing in Power Automate to handle dynamic folder depths?
I am working on a Power Automate solution to mirror the contents of a network drive (using the File System connector via on-premises data gateway) into a SharePoint document library.
The folder I want ...