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.

-1
votes
0answers
11 views

How do I see contents of files with .a01 extension with my own eyes

Respected People, I have tried everything to see the contents of files with extensions .a01, .a02 but had no success. These files contain database tables. I tried renaming the file, reading it with ...
-1
votes
0answers
13 views

I don't understand File create tImeline in linux's File system

create( /foo/bar) and write three blocks I think step as follow. root-inode read - > root-data read -> foo-inode read -> foo data read oops not data. so inode bitmap write bar inode. inode bitmap ...
0
votes
0answers
14 views

How do I read files with a01 extension

I have read a lot about opening up files with .axx extension, but I had no success. Fox Pro, renaming gave garbled result, hence I came here. My requirement - I need to read database tables inside ...
0
votes
0answers
7 views

How to download pdf file using expo file system in react native?

How to download a pdf file using expo file system because expo does not support fetch blob. any one have expo file system pdf file download code which code also use to allow storage access permissions....
0
votes
0answers
14 views

Opening a list of .docx file addresses

So I have a tree like folder hierarchy. A root folder with sub directories and and further sub directories and in the end they all have a .docx file which i need to access. So far I have managed to ...
-1
votes
0answers
13 views

Detect asynchrony between file systems containing equivalent files with differing file name extensions? [on hold]

In a rather large archive of music (on Linux), I am attempting to make sure that all *.flac files have *.mp3 equivalents. The file structures harboring the two formats are supposed to be identical (...
-1
votes
0answers
25 views

This is a question about I-Nodes the amount of disk approaches total quantity calculation

I nodes file system : /a.txt /tmp/b.txt /c.txt Size of a.txt and b.txt files are 500 bytes, tmp is 100 bytes and root is 20 bytes, size of c.txt is 4500 bytes , each block is 1K size. Root is ...
1
vote
1answer
14 views

Why is appending to a file faster then writing to it?

I am experimenting with different write opartions and have noticed that appending to existing file is 2x as fast as writing the same string to tthe file. This simple script runs 1000 iterations of ...
4
votes
1answer
60 views

Is there any way of checking if file system is case-insensitive in the preprocessors?

I want to make a check in the preprocessor if the file system is case-insensitive. Till now I was assuming macOS always has case-insensitive paths, but recently I read that it depends on file system. ...
2
votes
0answers
23 views
+50

Hide non source files from the Qt Creator (4.8) file system view

Qt Creator (4.2.1) used to do this by default. It would show the files organised in the same directory structure as they are in my file system, but it would only show files that are source or header ...
0
votes
1answer
23 views

Android: File written in external storage is not showing

I'm trying to write a text file and save it in the android external storage, but file is not showing and I don't get any errors. Here is my code: String r; String fname= "readme.txt"; r = ...
1
vote
0answers
11 views

Documentum - How to move content from Windows File System to NAS

We have a Documentum system where the content is stored on Windows File System The data size is around 500GB. We are planning to move from Windows File System to Cloud based NFS. How can we move the ...
0
votes
0answers
21 views

Waiting while files are zipped in VBScript [duplicate]

I have a piece of code that zips two files: 'Deleting ZIP file and creating new one Set FSO = CreateObject("Scripting.FileSystemObject") if fso.fileExists("C:\Test.zip") then fso....
0
votes
1answer
30 views

How to add text into already existing json array?

I have a nodejs app and I need help with a command. When the user runs the command they supply it with an id and it adds that id to a json array. I have tried everything { "blist": ["1038494838","...
0
votes
1answer
15 views

How to expand complex paths with one or more wildcards

I'm trying to write a command line utility in C# somewhat similar to the Linux "du" command. This utility would ideally be passed one or more paths as arguments. Assuming the directory c:\project ...
0
votes
0answers
11 views

$conf['file_temporary_path'] in Drupal 7 settings.php doesnt do anything, why?

The settings.php file in drupal is not using the file system overrides the way I would expect and I cant figure out why. The below settings just simply do nothing at all: $conf['file_public_path'] = ...
0
votes
1answer
8 views

Getting signature error while installing a different version of the app

Recently I installed a custom ROM named eelo. In that Telegram app comes pre-installed thus it can be regarded as a system app. But it is a custom built with a different it lacks a lot of features and ...
0
votes
0answers
18 views

Accessing iOS filesystem the way iPhone does

I am trying to connect to my iPhone via iTunesMobileDevice.dll and other libraries provided by iTunes. So far I am able to reach the file system and copy images from iPhone. However images are stored ...
0
votes
1answer
9 views

docker image - merged/diff/work/LowerDir components of GraphDriver

Below is the manifest file entry snippet(docker inspect immage redis) of redis image "GraphDriver": { "Data": { "LowerDir": "/var/lib/docker/overlay2/...
0
votes
2answers
16 views

How to make it so feof doesn't count the last line of file?

So I have this code set up like this while(! feof($fn)) { $result = fgets($fn); // some code } How do I make it so it ignores the last line in the text file. My text file is set up so when ...
0
votes
0answers
15 views

Any easy way to synchronize local directories with remote directories using only web apps?

I'm trying to implement something similar to Google Drive, and I was wondering if there was any easy way to do this only using web technologies. Specifically, I want to avoid implementing a native app ...
0
votes
0answers
18 views

FUSE set protocol version to 7.23 (7.26 supported)

I am trying to get FUSE to run with protocol version 7.23 on a Ubuntu server 18.04 (which seems to support 7.26), but cannot seem to do so. The reason I need 7.23 is to enable writeback caching, but ...
-1
votes
1answer
17 views

How file manipulations perform during power outage

Linux machine, Java standalone application I am having the following situation: I have: consecutive file write(which creates the destination file and writes some content to it) and file move. I ...
0
votes
0answers
33 views

Is there a way to access/modify files on a Linux machine from an ASP.NET (.NET Core) Application?

I am still a newbie in .NET and need to find out if there is a way to access/modify files on a Linux machine from an .NET/.NET Core application. As far as I managed to find now, an option should be ...
-2
votes
0answers
24 views

create a web page with php file system containing javascript variables [closed]

i wanna create a web page with php fs containing js vars because im using firebase realtime database. im making an articles website so the article should have its own url ex: "example.com/articles/...
0
votes
1answer
54 views

Copy and rename directory

I'm trying to modify this code to copy and rename (instead of just move) multiple directories. I have a CSV file that has 2 columns. The "original folder name" and the "new folder name". using ...
0
votes
1answer
24 views

How to read/get files from Google Cloud Compute Engine Disk without connecting into it?

I accidentally messed up the permissions of the file system, which shows the message sudo: /usr/local/bin/sudo must be owned by uid 0 and have the setuid bit set when attempting to use sudo, such as ...
0
votes
1answer
30 views

Exit a mkfs command if the block device is already formatted

I'm writing a utility which needs to run mkfs to format a block device. I use go's exec package to run the correct mkfs command for each file system type, for example in the case of ext2: err := ...
0
votes
0answers
17 views

Logged Interprocess Communication via file, increased hardware wear?

I want to establish an Interprocess Communication between two processes in a way that the communication is saved to a file. The main process generate around 500mb of uncompressed data for a day, the ...
0
votes
2answers
30 views

How do I take in userinput but redirect all of it to another file?

I have a piece of code and I would like to transfer everything the user types to a different file so that I can keep that information forever. How would I do this? My code is below. Please note that ...
0
votes
0answers
14 views

Unable to aces files from a File android Uploader Service

I am trying to upload files to a server from a Android service.The files are stored in a directory and the path to the directory is passed through the Intent while starting the service. For upload i ...
-1
votes
0answers
11 views

Beaglebone Black filesystem resize - incorrect information? “just delete the partition and make a new one” [closed]

I am working remotely with a beaglebone black system. I found this information on youtube about expanding the root filesystem. https://www.youtube.com/watch?v=FK6wfV_19ac (watch from 12:50) The ...
1
vote
2answers
39 views

What is the most efficient way to keep writing a frequently changing JavaScript object to a file in NodeJS?

I have a JavaScript object with many different properties, and it might look something like this: var myObj = { prop1: "val1", prop2: [...], ... } The values in this object keep updating ...
0
votes
0answers
16 views

Set root mount point for zfs pool

I am trying to set the root mount point for zfs pool. What I am trying to achieve is - tank /tank > df -h | grep -i tank tank/containers ...
1
vote
2answers
44 views

Best way to run an untrusted executable file from a user on a server

I'm trying to create a server that compiles and runs code submitted by the user. How can I run the executable output (compiled from code, unreliable) on the server-side, without affecting my codebase (...
0
votes
1answer
40 views

Java File.renameTo() Implementation for UnixFileSystem

I was trying to figure how File.renameTo() works in Java and I reached the following method in UnixFileSystem.java (I'm on macOS). private native boolean rename0(File f1, File f2); I understand that ...
-2
votes
1answer
21 views

Read from a Stream, modify strings and write to file

I have a console app the reports on files that have been updated since the last time the app ran and outputs the files full path to a text file. I need to modify these file names in the text file to ...
0
votes
0answers
12 views

Linux UBIFS: file data corruption during the power cut-off test

We have an embedded system based on i.MX 6ULL, with the root filesystem deployed on a UBI volume built on top of the SLC NAND device. The volume is mounted as "rw,sync,relatime". We are doing the ...
0
votes
0answers
24 views

cant play the most recent audio after downloading to an existing path

I have an electron react app that I play audio files using the javascript audio element. I have something like below. However, even though I can confirm that the audio file in local disk changes after ...
0
votes
0answers
35 views

How to determine what path of an app alias is used when double clicking on the alias

-- macos file system with application aliases -- In some type of project folders I want to have an alias to an macos application that will do some work in that project folder. I would want to write ...
7
votes
2answers
174 views

Write to and read from free disk space using Windows API

Is it possible to write to free clusters on disk or read data from them using Windows APIs? I found Defrag API: https://docs.microsoft.com/en-gb/windows/desktop/FileIO/defragmenting-files ...
0
votes
2answers
46 views

Why is os.rename not renaming files when the only difference is capitalization?

Why is this basic rename script not doing what it should? Just trying to capitalize first letter of each word. import glob import os for filename in glob.glob("**/*.mp3", recursive = True): ...
1
vote
0answers
20 views

How to set file access rights using Node.js on Windows?

To setup who can access what file, Node.js's fs module provides a number of functions, such as chown. While this works pretty well on macOS and Linux, it is rather a workaround than a solution on ...
1
vote
0answers
18 views

Unable to access uploaded file in browser through URL in Lumen

I'm building a web app with Docker, Nginx and Lumen. I have completed file upload functionality and everything works fine. However, when I try to access uploaded file from URL Lumen throws me ...
1
vote
1answer
18 views

Subdirectories in linux

I have read that hard links to directories are not allowed in Unix because they might cause loops in the file system. Assume I have a sub directory inside directory, how the link to the sub directory ...
0
votes
0answers
30 views

is there a way of creating a local filesystem using javascript?

I'm developing a demo web application, so it doesn't need to be secure or anything like that. It's basically a simple user interface that has two different profiles: basic user and admin. The app ...
1
vote
0answers
20 views

I am uploading a file into the media folder in django using a browse button.I need to get the path of that file in my local storage

I am trying to upload a folder using webkit directory into the media folder in django.As we can't directly copy a directory into the media folder( i think we do it in uploading a file),to do this I'm ...
0
votes
0answers
28 views

Which OS support an efficient file system write barrier?

Do file system or disk drivers support a concept of file system modification fence, like a memory fence in the CPU or shared memory system? A fence is an instruction that separate memory operations ...
0
votes
0answers
76 views

Enabling long path on Windows 10

I'm trying to create a file with long name, maybe with around 1000 chars. I enabled long path feature and restarted Windows Enable Win32 Long Paths Winver: Windows 10 x64 1903 But still unable to ...
1
vote
0answers
22 views

What is the word or phrase that exclusively indicates “..”, the “go to parent directory” argument for directory navigation operations?

When working with filesystems, on most operating systems, and programs running on those operating systems, .. is taken to mean "the relative parent directory." So for example cd .. means "change ...