Questions tagged [filesystems]
A file system is the specification of how files in a computer should be stored, named and organized. This tag should be used for generic file system questions. For specific file system questions (FAT, NTFS, ext4, ...) use the appropriate tag instead.
3,278
questions
1
vote
2
answers
3k
views
Can we modify Windows files in WSL or other way around after update1903?
In the blog post by Windows, they happily say
In the past, creating and changing Linux files from Windows resulted
in losing files or corrupting data. Making this possible has been a
highly ...
1
vote
1
answer
2k
views
How to know how much data for writing to file system is pending in the system on Linux system?
I have a need to know how long the machine would take for the write cache to be flushed to actual disk. Right now, when I try to unmount a disk, unmount waits for sync to complete. On USB stick, this ...
1
vote
1
answer
4k
views
Generate file:// URL for local file or directory
I have a local directory and want to share a clickable link that will open the user's default file browser.
How to generate an URL of the file:// protocol for a given local filename?
some_program /...
1
vote
1
answer
7k
views
How to remove temp files with a command other then “apt-get autoremove” in Kali Linux?
I have Kali Linux OS running on Debian 4.18.0.
The system crashed and tells me that:
"Your cache memory full, please remove cache and temp files".
I want to know that if there is a command other ...
1
vote
1
answer
65
views
How to quickly cd to the correct directory? [closed]
Is there any way to quickly cd to the correct directory? I have a lot of subdirectories for my courses and it ends up taking lots of time to cd to get to the correct directory. Especially if I forget ...
1
vote
1
answer
3k
views
ffmpeg: File not found, but obviously is accessible
Either I'm doing some very stupid mistake, or I've stumbled upon a very strange bug here. I'm in bash, and I want to convert a .flac to a .mp3 using ffmpeg. Running
ffmpeg -i 3\ -\ Thirty\ Seconds\ ...
1
vote
1
answer
2k
views
How to access Changed file timestamp metadata
I understand NTFS file timestamp metadata includes the following:
Created
Accessed
Modified
This data is accessible in the Windows Explorer UI and elsewhere.
However, I believe the timestamp ...
1
vote
1
answer
786
views
Use Linux Mint to access files from "Windows Subsystem for Linux” written by Ubuntu
I have Windows installed on my C: drive,
and I have Ubuntu/Bash in Windows.
I have a second partition with Linux Mint.
On Windows bash I tried to use fdisk -l to see what partitions there are,
...
1
vote
1
answer
1k
views
Mount error: “unknown filesystem type 'exfat'”
I'm running Fedora 28 and when I try to mount this SD card, I get the following error:
The last part of the error message translates to
unknown filesystem type 'exfat'
If I try to open it using ...
1
vote
2
answers
2k
views
VirtualBox with Win10 host / Linux guest, how to share files with full unix semantics
I have Windows 10 running on a laptop that runs VirtualBox that runs a Linux guest.
I do a lot of programming for the Linux environment and am working with sourcecode repositories sitting in an FS / ...
1
vote
1
answer
1k
views
'ls' output timestamps different for files in /tmp versus in home directory
I'm ssh'd into my university Linux servers (RHEL 7). Here's the deal. It has to do with 'ls' and "old" files.
Home directory:
$ touch -d '1918-11-11 11:00 GMT' wwi-armistice
$ touch now
$ sleep 1
$ ...
1
vote
1
answer
1k
views
how to unzip same file name without override (capitalization differ)
I have 2 files named xt_DSCP.h and xt_dscp.h in the same directory, in a zip file. I am trying to unzip them on my pendrive but I only have 2 options: skip or override.
I was searching for a ...
1
vote
1
answer
511
views
What is the expected file delete behaviour on a device controlled SMR?
SMR drives seem to be best for writing once, reading several times. I have a significant number of hardlink duplicated directory structures stored on an SMR device, and wished to delete the latest one,...
1
vote
1
answer
82
views
Why is opening multiple files taking so long?
Recently, I asked the following question on SO:
I have a folder foo with thousands .html files about 300 Kb each.
Here is what I do to open them:
import os
import time
folder_name = 'foo'
for ...
1
vote
1
answer
30
views
What happens if I create a folder without it's parents? [closed]
I have seen in some documentation about various software that this is apparently possible.
However, I don't understand what exactly happens then. Is it just the parents not being accessible, or is ...
1
vote
2
answers
7k
views
ext4 filesystem still has errors after fsck
Suddenly my ext4 file system fell down into read-only mode.
I've unmounted this disk and tried to repair it, but without any success.
fsck tries to fix something but ends with FILE SYSTEM WAS ...
1
vote
2
answers
4k
views
How much bytes is in Linux 1K, 1M or 1G
Is 1K in Linux 1024 bytes or 1000 bytes ? Or in other words is K one kilobyte (KB) or kibibyte (KiB)?
Does that factor hold for the other units as well like if it 1024 then
1M = 1024K and 1G = 1024M ?...
1
vote
1
answer
162
views
What's the procedure of decompressing one large file in remote servers?
I've mounted a net drive into my local computer and there are several large compressed files (e.g., ~100Gb) stored in this net drive. If I decompress the file using WinRAR, it seems the decompressing ...
1
vote
1
answer
63
views
On linux is there a commonly used / conventional sub-directory that is used for user specific program settings
On linux, many programs store user specific profile settings in a hidden dot file in the users home directory. Other programs create their own uniquely named hidden dot directory and put one or more ...
1
vote
1
answer
85
views
Burned CD has 'shifted' file boundaries
Many years ago (around 2003 I think) I burned a CD with mp3 files on them as a data disk. Every mp3 file is perfectly readable, however every song ends with the last few seconds of the previous song ...
1
vote
1
answer
8k
views
Where should I put FFMPEG? [closed]
I have installed ffmpeg and ffprobe, but they just appeared in my downloads folder. I should put them somewhere useful.
I am using macOS Sierra
What is the recommended place to put such downloads? I ...
1
vote
2
answers
2k
views
How can I make the content of multiple folders appear as one virtual folder or drive letter?
I have been wanting to do this for a while now and have looked up union FS and symoblic links and all sorts of filesystems like ZFS. But I am not so sure that my needs are that complex I just can't ...
1
vote
1
answer
841
views
fsck on root partition on BBB based custom board
We have BeagleBone Black based custom Embedded Linux Board.
It has Linux-3.12, 256MB RAM and 4GB eMMC with ext4 file system on it.
Sometimes we run into file system errors(rare but not impossible). ...
1
vote
1
answer
231
views
How to recover a file damaged by ntfs resizing?
I resized an ntfs partition to free space for another partition. It had just a few files, the most important being 2 big Bzip2 files.
I resized using gparted and it gave me no errors, everything was ...
1
vote
1
answer
5k
views
How to clear /dev/dm-0
I noticed /dev/dm-0 is using almost all my HDD space:
$ df -h
[...]
/dev/dm-0 227G 207G 8,8G 96% /
[...]
I believe /dev/dm-0 is some kind of cache for mounted filesystem (It is the ...
1
vote
1
answer
724
views
Two bootable partitions using same secondary internal hard drive
I have a computer with two internal hard drives, one of which I boot windows off of, the other I store files in. Could I create a Linux partition on my first drive, and have both operating systems ...
1
vote
1
answer
581
views
Change the default journal location
I am running ext4 on an ubuntu variant. In an effort to conserve disk writes on a limited ssd I am writing data to a mounted microsd card. Can someone explain how journaling would work in this ...
1
vote
1
answer
52
views
What would be the "date created" of a file that takes 10 minute to create?
Let's suppose Windows creates a file that takes 10 minutes to create. For example, a user records a video for 10 minutes starting at 12:00 am. What would be the "date created" time for that file? 12:...
1
vote
2
answers
48
views
How does adding an ip/web address to the hosts file block traffic?
It has been discussed how the hosts file can be used to block access to websites (even though ive tried it several times on both a windows and linux machine and it hasn't worked), however, as far as i ...
1
vote
1
answer
954
views
Config file is written in VirtualStore but read from ProgramData
I have an application that uses an config.xml file that is stored in C:\ProgramData\MyApp
The config file is created and edited using MyConfigApp.exe and then read by the actual application MyApp.exe....
1
vote
1
answer
377
views
Moving all files of nested folders to other folder
I have an hierarchy of folders like this:
MainFolder
|
| - 01
| - 02
| - 03
| - 04
| - 05
| - 06
| - 07
| - 08
| - 09
| - 10
And inside each of this ten folders, I have other 10 folders, and so on. ...
1
vote
1
answer
3k
views
Define btrfs subvolume parent?
How can I create a btrfs subvolume such that it is the child of another specific subvolume? Or, how can I ensure that it will be created with parent/top level of 5, as many of my existing subvolumes ...
1
vote
1
answer
188
views
Can an operating system access a network drive that is formatted with an unsupported file system?
I've recently installed Windows Server 2012 and am planning to format my 2tb hard drive with the REFS file format. Afterwards, I would like to set it up as a network drive.
I understand that there are ...
1
vote
1
answer
2k
views
What happens if I edit a folder while copying it?
Suppose I have a large folder and copy it. The copy takes a couple hours. While it's copying, I add some sub-folders and files to it. Does this pose any risk to confusing the OS and corrupting the ...
1
vote
1
answer
4k
views
How to recover files from infected. Vvv extention [duplicate]
Can any one help for how can remove this virus. Our all computer's files infected from this (.vvv) virus. We are using windows 7 Plz give me strong methods. If you need remote screen i will provide ...
1
vote
3
answers
1k
views
Bash command for finding file extensions with largest size
I am trying to find file extensions with sorted by size in a directory and sub directory.
Something like this:
76K .pek ./Adobe Premiere Pro Preview Files/demo.PRV/1d860051-77c9-4acb-973e-...
1
vote
1
answer
2k
views
When I copy the contents of one drive, the copy takes up less space. Why? [closed]
I am trying to copy the contents of one hard drive to another hard drive.
But once the copy is completed, the copy takes up less space than the original files.
Hence not all files are being copied.
...
1
vote
1
answer
401
views
How to sort custom system folders in Windows Explorer
Following this tutorial, I was able to create a custom system folder for Mega Sync:
However, now I'm sitting with another problem - how do I sort/move it? I want it to sit between Creative Cloud &...
1
vote
1
answer
261
views
create temporary filesystem in a file
How can I create a temporary filesystem on an NTFS drive using Ubuntu Linux LiveCD? I would like to make a temporary filesystem in a file, like a .dmg or .iso that I can mount and modify files on, on ...
1
vote
1
answer
190
views
When moving multiple files in windows, when does it change the reference and when does it actually move the files?
I've noticed this inconsistent behavior:
Sometimes when moving multiple files, it would execute immediately, and other times, it would take some time and display a progress bar.
How can you know in ...
1
vote
1
answer
759
views
How to delete all files in fdupes -rd instance?
I run
fdupes -rd /home/masi/Documents/
I get files from my old editor (TexPad of OSX) in many folders which I do not need:
[1] /home/masi/Documents/.texpadtmp/pirkanmaa.out
[2] /home/masi/Documents/...
1
vote
1
answer
2k
views
understanding Stats on folder in Linux
This is my stat output on a folder
stat Downloads/ File: `Downloads/' Size: 4096 Blocks: 8
IO Block: 4096 directory Device: fd02h/64770d Inode: 259595
Links: 3
What does it mean ...
1
vote
2
answers
247
views
Ext3 drive empty and detected as ext2 after restoring superblock with e2fsck
I have an ext3 disk from my NAS. I took this drive out of the NAS and mounted it under my Debian Wheezy system.
When I ran fsck it told me that the superblock was bad.
I don't haver a full log, but ...
1
vote
2
answers
453
views
Cannot delete file on Linux
After backuping with 'rsync --archive --update' my home directory from ext4 to btrfs, rsync reports errors like this:
rsync: readdir("/mnt/backup/home/me/.mozilla/firefox/qbdcaxwe.default/sessions/???...
1
vote
1
answer
1k
views
Copying data from file into a specific location of another file with dd truncates the output file
I have a loopback file that contains a single filesystem, let's call it fs.image. I have another, much larger loopback file, that contains multiple partitions and multiple filesystems, let's call it ...
1
vote
1
answer
2k
views
How do I find out which process is using a file when Process Explorer and Handle doesn't work?
How do i find out which process is using this file? Windows 8.1.
C:\Users\Chloe\workspace\Teads>echo Hello > selenium.log
The process cannot access the file because it is being used by another ...
1
vote
2
answers
996
views
How do I move files not accessed for a long time using a batch file?
I like to move files accessed for a long time. For instance: if I do not access some file by 7 days, it move to old sub-folder.
file1.txt 1 days <keep>
file2.txt 2 days &...
1
vote
2
answers
134
views
USER~1 in user folder [duplicate]
After executing cd %TEMP% i was taken to C:\Users\KRISWE~1\AppData\Local\Temp I have never seen the folder KRISWE~1 before, does anyone know what this is? It seems to be exactly identical to my ...
1
vote
1
answer
2k
views
Which devices in /sys/block are HDDs?
I'm interested which devices in /sys/block are real HDD drives:
[root@sdp1a block]# pwd
/sys/block
[root@sdp1a block]# ls
dm-0 dm-12 dm-3 dm-7 loop1 loop5 ram1 ram13 ram3 ram7 sdaa sdae ...
1
vote
1
answer
107
views
Saving 40 GB of data to SD Card and losing most of it
I have recently used an sdhc card (64GB) to backup computer data. Before formatting, I saved around 40 GB of photos to the card. After formatting, I could only retrieve 7GB of data from the SD Card. ...