Questions tagged [filesystems]

A filesystem is a way to organize and store computer files with their data.

Filter by
Sorted by
Tagged with
0
votes
1answer
67 views

Recovering lost partition table with TestDisk

So, somehow the partition table on my disk went bananas: at the next boot the system would not start, I got repeatedly kicked in the BIOS and I had no viable boot options. The BIOS still detected the ...
0
votes
2answers
50 views

add / at the end of each line

I want to add this character at the end of each line in a file: sed -e 's/$/\/$/g' myfile.txt > myfile_new.txt The result add $/ with explicit $ in each line. but I do not want to add $. For ...
0
votes
0answers
25 views

How to apply updates to btrfs

Btrfs is still seeing non-trivial improvements with newer (kernel) versions. The easiest and most straightforward way to get some of them is to use an up-to-date linux kernel, of course, same with ...
0
votes
0answers
15 views

How to know the download date of a zip folder

I downloaded a zip file which contains a .csv file (DOS format, i.e. I needed to convert it using dos2unix). I need to check the data (at least the day/month/year) which I downloaded the file in. ...
0
votes
1answer
19 views

Compressing Folder Structure with specific filtering

I have a folder structure like this: /foo /foo/bar /foo/bar2 /foo/bar3 Within each folder (including /foo) I have files with names ending .txt. However, I want to exclude these files from /foo and I ...
1
vote
1answer
91 views

Mount unknown filesystem type - Debian

Using Debian 9.9 on a live USB, and try to mount a partition from de hdd mount -t ext4 /dev/sda1 /mnt I get mount: unknown filesystem type 'ext4' Well, the ext4, ext3, ext2 type are not in /proc/...
0
votes
0answers
46 views

F2FS feature-list

In the man page of mkfs.f2fs, I see the option: -O feature-list Specify a feature list in order f2fs filesystem will supports. e.g "encrypt" and so on I'd like to know how can I get the full list ...
-4
votes
2answers
49 views

Forgot to put a slash before download path, where were these files downloaded to?

I forgot to put a slash before my home folder when downloading some files and it seems that they downloaded successfully but I can't seem to navigate before / within my thunar explorer so I can't get ...
-1
votes
1answer
24 views

Kali on 32gb flash drive displays 67gb storage

I'm new to linux and how it works. I recently installed a kali linux image onto a 32gb flash drive and stuck it into my pc and booted from it. All went well, and so I ran the df command and got this ...
0
votes
1answer
26 views

Ubuntu lsblk drive size

I am setting up a ZFS NAS using Ubuntu 18 with 8 hard drives for storage. When I use sudo lsblk -P to check what the drive names are, I only see sdb-sdh. I know this is because it will skip over the ...
0
votes
0answers
22 views

Got stuck in Emergency mode with ACPI Error

I am using ubuntu 16.04. I probably have done sth which damaged the system file. After reboot, I am stucked in emergency mode. The error is about ACPI like below. I am not sure what is wrong here. ...
1
vote
0answers
37 views

I cannot delete files on IRIX 6.2

I started using IRIX 6.2 so I could do some Nintendo 64 Development for the IRIX community. WARNING: IT IS A VERY WEIRD SITUATION! Also, I am using root. The file manager GUI states that the files ...
1
vote
1answer
46 views

Get tar to save birth time

Is there anyway to make a tar archive that includes the creation times for the files/directories inside of it?
0
votes
0answers
19 views

Does BTRFS commit time influence benchmarking?

I have two NVME drives here and want to test their performance in different setups with BTRFS. (Mostly as an educational stunt) I'm going to use the Phoronix suite for the most part. What I wonder ...
-1
votes
1answer
44 views

How a file system recognized by an OS? What is the role of an OS in file-systems? [closed]

I want to understand the medium between a file system & an operating system. Does the operating system take care of any file manipulations?
2
votes
2answers
53 views

Debian btrfs filesystem shows a total of zero inodes total, zero used, zero free

This Debian server was running just fine until a week or so ago. Now it does not allow files to be allocated, despite there still being room. The root volume is configured with LVM. Kernel is ...
0
votes
1answer
24 views

Why can't my webserver write (PERMISSIONS ISSUE)

I have this filesystem $ ls -la /var/www/myapp/api/project/files/ total 12 drwxrwxr-x 3 me me 4096 Jun 17 14:28 . drwxrwxr-x 10 me me 4096 Jun 17 14:27 .. drwxrwxr-x 2 me me 4096 Jun 17 14:28 cache ...
0
votes
2answers
32 views

Convenient way to cd into a frequently-used dir? [duplicate]

A dir I cd into a lot has a really long path. I'd like to reduce keystrokes. I have tried this... sudo ln -s /mnt/c/Users/me/ho/hum/bin /mybin It works, but something about it seems wrong. Is ...
1
vote
2answers
118 views

Low disk space on “Filesystem root” 0 bytes disk remaining

I am struggling against disk space, regarding root location. Seems like I have reach 100% usage, and cannot find a way to regain space. I have used apg-get autoremove, apt-get clean, removed old ...
1
vote
1answer
29 views

A simple way to update the access time of multiple files

I have a folder with several sub-folders and files. I work on a server where any files that are older than 60 days are automatically deleted. What are some simple commands to update the access time (...
1
vote
0answers
14 views

Does the Linux Page Cache (Buffer Cache) only cache the files' clusters (pages) or does it also cache the Inodes (metadata)?

The Linux-Kernel implements a Page Cache (often also called Buffer Cache) to speed up the file systems of the underlying storage devices. Does the Page Cache only cache the pages or clusters of files ...
2
votes
1answer
46 views

Annotating any files

I have had this problem for a very long time, had several discussions with friends, and tried searching relating info online. All efforts were in vain so I decide to give a shot here. I have lots of ...
0
votes
1answer
25 views

Is there a way to create a (compressed) squashfs that contains an uncompressed file

We have a large file that needs to be uncompressed inside a compressed squashfs. Is this possible without patching mksquashfs? Something like this would be nice: $ mksquashfs existing_squash.sqsh ...
1
vote
0answers
23 views

Is mounting an ext4fs (any fs for that matter) on subdirectory of a linux FUSE file system allowed?

I have a FUSE mount point at /home/abc/fuse/ and it has few a directories and files inside. /home/abc/fuse/foo.txt, /home/abc/fuse/bar.out, /home/abc/fuse/logs/ etc. Now I want to mount an ext4 fs on /...
0
votes
1answer
25 views

Why does a file's Inode number change and nothing else?

Today I noticed that tripwire thinks that some Apache configuration files changed yesterday. I know I did not make any changes to those files. Looking at the info, it shows that only the Inode number ...
1
vote
1answer
42 views

Good filesystem to manage space efficiently

Quick question: is there a filesystem that let me automatically "resize" (up or down) partitions, share one partition between several devices, and make sure that some content only go to one device ...
1
vote
2answers
48 views

Are file system such as ext3 stored in SSD sequentially?

There are superblock, group descriptor table, inode bitmap, data bitmap , inode table ,etc. As I understood. these are stored in virtual memory sequentially. Are these metadata(superblock, group ...
0
votes
1answer
43 views

Hard links with MergerFS

If someone uses the command "cp -alr" on a directory located in a non-path preserving merged pool will it always create a directory on the same disk with all of its contents as hard links? For ...
1
vote
0answers
52 views

Why was every .git folder on my system modified?

I ran my semi-regular rsync backup on my personal laptop to an external drive today, and I noticed many .git/ folders had their backups updated, presumably because they were all modified. However, ...
0
votes
0answers
33 views

docker engine - What is backing file system?

In the below command, $ docker info .... Server Version: 18.09.5 Storage Driver: overlay2 Backing Filesystem: extfs ... init version: v0.18.0 (expected: fec3683b971d9c3ef73f284f176672c44b448662) ......
1
vote
2answers
54 views

Command for getting path to mount point of current partition/drive?

Is there an alternative command that does the same thing as findmnt -T . -o TARGET |tail -n 1? Example: If my current working directory is /media/username/HDD/subdir1/subdir2, that command would ...
0
votes
1answer
28 views

Applications loading slightly more slowly after shrinking Debian 9 root partition

I have a 250 GB Samsung Pro SSD in my Lenovo desktop. Initially Debian 9 was using the whole disk. Recently I decided to shrink my Debian partition and create two more partitions, one a shared data ...
3
votes
1answer
56 views

Is mkdir -p safe to parallelize?

I'm writing Makefile rules like this: out/%.x: ... mkdir -p $(@D)/ ... I intend to parallelize this Makefile (-j), which will trigger many mkdir -p's to simultaneously. Is this safe? Or do ...
0
votes
1answer
38 views

What is the best way to read a file that is being modified using copy-on-write?

We have a file that contains data that always needs to be consistent. When it needs to be modified, Process 1 creates a new file, writes the new file with the modifications, and uses mv to rename the ...
0
votes
1answer
38 views

Partition table & filesystem for a USB flash drive

I've got a USB flash drive I want to use on printers, audio equipment, and other various devices. In my experience, most Linux is very forgiving about what partition table and FS type I use on my ...
1
vote
1answer
31 views

Where does tmpfs come from and how is it mounted

I am using a BeagleBone board with Linux. When i type command "df -h" , I see tmpfs is mounted a few times. Does this mean that all these entries get mounted at the same place, or at a different ...
0
votes
2answers
22 views

Duplicating SD Cards: file system

As a followup to Replicating an SD card: If using the commands dd or `cat' as prescribed in the responses, does this remove the need to format the SD card?
2
votes
0answers
42 views

NFS mount on client not matching what's exported on the server

I've managed to successfully network two home computers with a crossover Ethernet cable. My intention is to arrange a fast transfer of files from one to the other. This is the first time I'm pairing ...
5
votes
2answers
111 views

Is file creation totally ordered?

On Linux, the openat syscall can be used to create files and to test for their existence. Speaking in terms of the C/C++ memory model, creating a file and verifying its existence creates a ...
1
vote
3answers
110 views

Is /home directory in root partition mapped to /home partition [closed]

My /home partition is on /dev/sda1. My / partition is on /dev/sda2. Whenever I make a file in /home partition it shows up in / partition under the /home directory. The Windows equivalent is to make ...
2
votes
1answer
64 views

How to view contents of a sparse file?

The size of "file" is showing 15TB when i check the size with ls -l ls -l total 16 -rw-r--r-- 1 root root 15393162788865 May 30 13:41 file when i check the size of the "file" with du command, it ...
1
vote
1answer
29 views

How does an operating system deal with different types of storage devices [closed]

In Linux, it seems like the operating system knows what kind of storage device it is connected to. Eg. I see /dev/sda for SSD device and /dev/mmcblk for SD card. I was wondering how the operating ...
5
votes
1answer
73 views

Renaming a file while it is being written

I'm wondering if this is considered safe. I know the file handles work just fine as long as a link remains, and I know the identifier is the inode rather than the name, but I am not sure how it works ...
0
votes
0answers
20 views

moving a file from ntfs to btrfs while preserving the creation time

Both ntfs and btrfs support file creation times. When I copy a file however, only the modification time is preserved. Is there a way to preserve creation times too? For context I wish to migrate my ...
1
vote
1answer
20 views

i.MX28 SOC DMA timeout on reading NAND FLASH

I'm porting recent Linux kernel to older existing hardware like the i.MX28 EVK kit from Freescale, and Karo TX28 board. I want to use a part of the NAND FLASH in the file system ("userfs partition" in ...
0
votes
2answers
51 views

how to detect files rename, without snapshot

I am currently monitoring directories with subdirectories, and I need to detect file rename. what I do is making a md5sum of all files and a keep a file list on another place, and from time to time ...
4
votes
2answers
160 views

Making bit identical ext2 filesystems

I'm preparing an image file for a linux system. I need to be able to run my script that creates the image and have the output be bit-for-bit identical each time. I do the normal procedure, by making ...
0
votes
1answer
64 views

why do some directories have .uuid directory in a directory?

I have seen this quite a few times. In some random directories there is usually a .uuid file or directory therein. The directories are nothing special so as to speak. They are mostly random media ...
0
votes
1answer
43 views

Running an executable off of a usb drive

I have an executable on my usb drive. I cd to the directory, ./app yields permission denied. So I did chmod u+x app. Then, ./app. But still, permission denied.! Then I read something here: That ...
0
votes
0answers
15 views

share Google Drive File Stream folder from Windows partition, in dual-boot system

I am familiar with suggestions like the tools listed in https://askubuntu.com/questions/1099852/google-file-stream-functionality-on-ubuntu and myself use google-drive-ocamlfuse on a few servers. ...