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

learn more… | top users | synonyms (2)

1
vote
0answers
12 views

Does FUSE have any specific cache interaction?

I'm a bit lost in how kernel caches work in general, so generic cache information is fine too, but I'm specifically working on FUSE. So, I read that the kernel looks up a file/directory via VFS using ...
0
votes
0answers
10 views

Are dcaches in VFS file-system-specific or not?

Information I found is that file-systems that use inodes and dentries, such as ext2, have inode caches and dentry caches. In addition to that, VFS has its own inodes and dentries along with its own ...
0
votes
3answers
74 views

What is a flat file?

Is it a plain text file or binary file or just character file? Can someone explain what a flat file actually means?
10
votes
1answer
559 views

How many directories can be nested?

I'm curious, how many folders can be nested, and why? Is there a limit? What I mean by nested is when folders are in this structure: folder |_ folder |_ folder |_ folder |...
1
vote
1answer
26 views

open file and current directory permissions

I'm trying to learn about file and directory permissions in unix/linux. I think I got the general idea, if I want to cat ~/foo/bar/text.txt I need x+r permission on ~, ~/foo, ~/foo/bar, and r ...
0
votes
0answers
27 views

When would VFS be required to do a full path walk instead of using the dentry cache?

So, from what I understand, if you have accessed /foo/bar/file, that path is dentry cached. So, you'll be able to access the inode for file without path-walking /, foo, and bar. What are the ...
2
votes
1answer
35 views

What are the list of different type of caches in Linux file systems?

I've been reading this page, http://www.tldp.org/LDP/tlk/fs/filesystem.html, and I have trouble organizing all the different caches it's talking about. Especially, I don't understand the different ...
1
vote
0answers
10 views

mhddfs filesystem hangs after a while with large directory

I have 2 RAID1 of 4TB each which are joined together with mhddfs. There is one directory that exists on both disks that contains hundreds of thousands of files. There is a lot of read/write happening ...
1
vote
0answers
24 views

Encrypted (luks) + LVM Ubuntu installation where /home is encrypted as well (ecryptfs): How to make a new partition for /home?

I've installed Ubuntu 16.04, encrypted and with LVM. I also chose the option to encrypt /home (which encrypts the directory with eCryptfs). The default settings make an unencrypted /boot and an ...
0
votes
1answer
13 views

What are the folder that I cannot set as encrypted folders decrypted at login? [closed]

I want maximize the number of folders encrypted with ecryptfs and decrypted at login with the module pam_ecryptfs.so. Which folders cannot possibly be encrypted before login in? I guess a lsof ran ...
2
votes
2answers
50 views

How do I find out what filesystem FUSE is using?

when I run mount, I can see my hard drive mount as fuseblk. /dev/sdb1 on /media/ecarroll/hd type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,...
12
votes
2answers
896 views

What exactly is dot dot (..)? Why is its behavior different with symlinks?

I am trying to understand the nature of .. (double dot). It seems to point to different targets depending on how you access it. Example:- /outer/ middle/ inner/ inner ...
0
votes
2answers
19 views

Debian gnome-disks and mkfs can not format external hdd

I have an HDD bought a few years I have not touch since at least a year. When connecting it to my laptop, the drive does not appear in the drive list in the file explorer. I used fdisk to be sure it ...
0
votes
2answers
63 views

How do commands like ls or stat distinguish the file type?

How do commands like ls or stat distinguish the file type, whether the object is a file or directory? For example, I created these two objects, considering the fact that a directory is also a file... ...
5
votes
1answer
40 views

How are files/dirs hidden from ls -a while still beeing accessible otherwise in a POSIX compliant system?

So for example in ZFS under FreeBSD and ZoL, there is a magic .zfs dir inside of each zpool mountpoint and you can use zfs set snapdir=visible to make that .zfs dir visible. What makes me curious is, ...

15 30 50 per page