Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
19 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(&...
mauli02k's user avatar
-4 votes
0 answers
63 views

How can I emulate Linux secure delete (shred, dd, wipe) on Windows? [closed]

On Linux, tools like shred, dd, or wipe can securely delete files or even overwrite an entire disk to make data unrecoverable. On Windows, the normal delete just removes file references, and the data ...
Abhishek Khot's user avatar
0 votes
1 answer
17 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 ...
einpoklum's user avatar
  • 136k
-2 votes
0 answers
22 views

Why do NFS-backed files remain visible in a VM after host umount when shared via virtiofs? [closed]

I am curious about the behavior of Virtual Machine. Environment There are two computers. 192.168.180.10: NFS Server Rocky Linux 9.6 192.168.160.30: VDSM Host (NFS Client) Rocky Linux 9.6 VDSM ...
TyeolRik's user avatar
  • 489
-2 votes
0 answers
49 views

How to recover files from LUKS partition of Ubuntu that when unlocked is empty [closed]

Idea messed around with the mounting options of my Ubuntu OS, I have since backed up the LUKS partition to a IMG file. When I luksOpen it, I am able to mount the LVM2 member on a live Ubuntu however ...
user31322252's user avatar
-1 votes
1 answer
66 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 ...
diplomat's user avatar
1 vote
0 answers
94 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 (...
Naveen Kedilaya's user avatar
1 vote
1 answer
113 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 ...
CoderJo's user avatar
  • 21
1 vote
0 answers
44 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. ...
MBucari's user avatar
  • 21
0 votes
1 answer
44 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 ...
Jacko's user avatar
  • 13.3k
1 vote
2 answers
79 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> ...
vmHernandes's user avatar
0 votes
0 answers
102 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 ...
Priyaank's user avatar
  • 310
0 votes
0 answers
19 views

code build errors with mcuboot and mass storage: nRF52840

I am trying to implement DFU(with USB&BLE) and USB Mass Storage with FAT FS filesystems on external QSPI flash. I am getting the following build errors- with SDK version 2.9.0 without mcuboot ...
Swetha Macherla's user avatar
6 votes
1 answer
325 views

How to ensure file system is updated when modifying files on a USB drive

I've been working on an Android app that moves files on and off a connected USB drive. For moving, the basic code I'm using is: file.copyRecursively(File(target, file.name), overwrite = true) file....
seadowg's user avatar
  • 4,228
1 vote
1 answer
78 views

How to design an embedded code that can handle three types of connections: MQTT, TCP sync and TCP async? Fail considerations

Our system is running on FreeRTOS. The server sends our device operation requests (via MQTT, TCP sync, TCP aysnc) and some operations have different number of steps/states. Scenario 1: Server ...
Xfce4's user avatar
  • 577

15 30 50 per page
1
2 3 4 5
643