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

learn more… | top users | synonyms (2)

7
votes
2answers
931 views

I/O-overhead of dm-encrypted device?

What would be the Read-/Write-overhead when using dm-crypt (LUKS) as full disk-encryption (including root partition) on a Linux-Desktop (Ubuntu)? I plan to stack it like so: LUKS > LVM > ext4 The CPU ...
14
votes
1answer
9k views

How do you use badblocks?

I need to do a destructive (rw) test on a new drive, and a read-only on a drive that fell out of my RAID array. I want to see if it finds problems and how far along it is.
2
votes
2answers
888 views

NTFS Junctions and Unix Hard Links

I'm building an IO abstraction library for CIL code, and I have a very hard time understanding the differences between a junction between two folders in NTFS and hard links. Are they equivalent? Are ...
5
votes
6answers
261 views

What's the best tool chain or single tool to transform a NTFS to ext[n] filesystem?

I've decided to go Linux only, finally! This also means that I have a bunch of disks still under NTFS. I don't have spare space anywhere to transfer the files to and then just re-format the drive so ...
24
votes
2answers
4k views

understanding “mount” as a concept in the OS

I want to understand what mounting is. It is used in different contexts and situations and I can't find resources which: Describe the mount concept Explain the actions taken by the ...
4
votes
6answers
8k views

What is the use/meaning of 'swap area' while linux installation?

When i installed ubuntu in my x86 machine, I had to configure some memory as 'swap area'. What is the use of this memory and what is the importance of this memory in linux file systems? How can I ...
1
vote
1answer
372 views

error using “du” command

I am on the university machine trying to estimate the disk usage I have on my space I do du -csh ./ from the begining of my account, but an error is given that ./Yesterday/Yesterday is not a ...
9
votes
1answer
146 views

Strategies for maintaining a reference to a file after it was moved or renamed?

I've had a mac at work lately, and was amazed to see that Xcode would still find my latest project after I renamed its folder and moved it someplace else. Now I understand that this is the result of ...
6
votes
2answers
908 views

linux: How to determine the best filesystem format?

About a year ago I changed from running Windows as dual boot to very rarely running Windows as a VM. As a result most of my partitions are in ntfs ( so I had access on both sides of the boot ). I have ...
8
votes
5answers
5k views

Can I determine the number of sub-directories in a directory using `ls -l`?

When displaying directories using ls -l, their number of links (the second field in the output) is at least two: one for the dir name and one for . $ mkdir foo $ ls -l total 2 drwxr-xr-x 2 user ...
11
votes
4answers
4k views

Serve files over USB

I would like to be able to serve a section of my box's file system over USB to another computer. For example, if the files are on box A and I am reading from box B, then B would mount A, see those ...
8
votes
1answer
548 views

Can I convert an ext3 partition into ext4 without formatting?

my home directory is on a separate partition which still uses ext3. Is there a way to convert this partition into ext4 in a non-destructive way?
9
votes
4answers
643 views

filesystem for archiving

I have some complex read-only data in my file system. It contains thousands of snapshots of certain revisions of a svn repository, and the output of regression tests. Identical files between snapshots ...
35
votes
2answers
60k views

timestamp, modification time, and created time of a file

I just know that ls -t and ls -f give different sorting of files and subdirectories under a directory. What are the differences between timestamp, modification time, and created time of a file? How ...
3
votes
5answers
1k views

Using a differencing, aka overlay, aka union, file-system with commit capability

I work in two PCs and I sync all my files from my primary PC to a USB flash memory. In my second PC, I mount the USB flash memory to the same path to work on my files as I were on my primary PC. Now ...
14
votes
2answers
3k views

games directory?

On a standard filesystem, we have: /usr/games /usr/lib/games /usr/local/games /usr/share/games /var/games /var/lib/games Is this a joke, or is there some history behind this? What is it for? Why do ...
6
votes
2answers
406 views

Defragging an ext partition?

Why don't ext2/3/4 need to be defragmented? Is there no fragmentation at all?
4
votes
2answers
2k views

Remove a corrupted file in a Linux system

How to remove a file that is corrupted? In Linux (Fedora based), when I type: ls -l I get drwxr-xr-x. 2 dmiller3 dmiller3 4096 Jul 26 13:57 SomeFile ?????????? ? ? ? 4096 ...
4
votes
2answers
2k views

what is commit=0 for ext4? does mdadm not support it?

I see this in my dmesg log EXT4-fs (md1): re-mounted. Opts: commit=0 EXT4-fs (md2): re-mounted. Opts: commit=0 EXT4-fs (md3): re-mounted. Opts: commit=0 I think that means that dealloc is disabled? ...
13
votes
4answers
4k views

Rock-stable filesystem for large files (backups) for linux

What filesystem would be best for backups? I'm interested primary in stability (especially uncorruptability of files during hard reboots etc.) but how efficiently it handles large (>5GB) files is also ...
4
votes
2answers
462 views

Is a journaling filesystem a good idea with a dm-crypt encrypted drive?

I was looking at dm-crypt and have seen that you can use whatever filesystem you like on top of the encrypted drive. So I was wondering if a journaled filesystem is a good idea as opposed to a ...
11
votes
4answers
6k views

What directories do I need to back up?

What are the directories one should back up, in order to have a backup of all user-generated files? From a vanilla debian install, I can do enough apt to get the packages that I want. So if I don't ...
11
votes
5answers
1k views

Best way to do full disk encryption?

I have got a bit lost and am not sure which technology to choose for full disk encryption. It is hard to tell if the information out there is still up to date. Is there a current best practice ...
12
votes
5answers
3k views

Is btrfs stable enough for home usage? [closed]

btrfs has finally found its way into the latest kernels, is it considered stable and safe enough to use in a home backup scenario (as an alternative to zfs) ?
36
votes
7answers
2k views

ZFS under Linux, does it work?

Could I get ZFS to work properly in Linux? Are there any caveats / limitations?
12
votes
3answers
15k views

What are the (dis)advantages of ext4, ReiserFS, JFS, and XFS?

What purpose is each suitable for?
6
votes
3answers
292 views

What are you using instead of DCE Distributed File System?

What are you using instead of DCE Distributed File System? How does it compare? Or are you still using it? Note that DCE/DFS is not Microsoft Distributed File System
11
votes
4answers
183 views

What is Linux for SET FILE/ERASE_ON_DELETE?

In VMS one may tell the file system to write junk over the existing contents of a file when it is deleted. Here is the DCL command to identify the file for this kind of treatment: $ SET ...