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

learn more… | top users | synonyms (2)

0
votes
1answer
38 views

FIle hole - how is it represented? [on hold]

The linux programming interface says, file hole don't take up disk space in general, I did google but didn't found answer to following question: If it don't take up space, then how the file system ...
2
votes
1answer
42 views

Are encrypted volumes more vulnerable to power loss?

I have some encrypted volumes that I use with my Xubuntu machine. One volume is a container file that is mapped to /dev/loop0 and encrypted using plain dm-crypt; another volume is a USB hard drive ...
0
votes
2answers
25 views

Can Symbolic Links span different file systems in Unix or Linux

Can Symbolic Links span different file systems in Unix or Linux ??? I.e consider different file systems like ext2 and ext3 can symbolic link span them?
2
votes
1answer
23 views

What does mtp://[usb:002,003]/Storage/ mean? [duplicate]

Recently that I connect my Windows phone mobile to my Xubuntu laptop I see mtp://[usb:002,003]/Storage/ alongside the other drives.It shows my phone media files! That actually I can not find it in ...
-1
votes
0answers
36 views

tail command doesn't work for heavy files?

I have NAS reindexed log which is almost 6GB. Output is human readable and text format. When i use tail -100f filename.txt It doesn't show anything. I though it was due to file size is ...
2
votes
4answers
45 views

Does the inode change when renaming or moving a file?

in PHP the fileinode() functions returns the inode of a file. I was wondering if I can use it to determine if a file was renamed, moved or modified. I did some tests and it seems the inode stays the ...
0
votes
1answer
27 views

Program to decrypt file for only one process

I looking for a program to encrypt and decrypt files (better if directory) on fly and for only one process via cli. In my mind it must work like sudo: If you run cat $crypted_file (also in superuser ...
2
votes
2answers
33 views

Several hard-links with different metadata in Linux using Ext4

Is it possible for Ext4 file systems (or maybe another one understood by Linux) to assign different metadata (like modification time, owner, access rights) to several hard-links that refer to the same ...
0
votes
1answer
49 views

du and ls commands reporting wrong directory size

I'm used to the du command. I often use it with -h option. I report the result in a text file which I use to track space consumers. But I was wondered today to see a directory being reported as using ...
4
votes
6answers
313 views

Which partition is mounted to where? [duplicate]

How can we check the mount points for partitions listed in /dev/sd*? For example, I would like know if the partition for my home is /dev/sda4.
0
votes
0answers
11 views

Possible to detect and alert when SMB writes cryptolocker to a share?

I need to make an alert,task, or action when cryptolocker uploads a specific app into the OS How can I hook into the filesystem in such a way so that I can detect this? For reference, I'm using ...
1
vote
0answers
10 views

shared filesystem with offline access

I would like a shared filesystem with offline access. I have two machines. One is a light laptop with a small amount of SSD storage that I carry with me. The other is a stay-at-home computer with much ...
0
votes
2answers
49 views

Ubuntu broken after power failure. How to fix?

I have Ubuntu 11.10. server which suffered from power failure today. Ever since the power went back on the unit works only partially. Some services work OK, some does not start, e.g. apache2ctl ...
0
votes
1answer
18 views

Smallest file block size (ext 3, 4)

I'm curious, what is the smallest size a file can really be on Linux? (Assuming Ext3 fs, so why not ext4 fs as well). Sure you can write a file that only contains one byte, or maybe even less; but ...
0
votes
1answer
44 views

how to read and write to a filesystem in linux?

I have a hard disk and partitioned it into several partitions. How can i read and write into the filesystem. What is the use of mountpoint? If a process has to write or read something from that ...
0
votes
1answer
32 views

Overhead when relocating a directory to a different file system using a symbolic link

I need to relocate some frequently accessed files to a different file system. The simplest way of doing this is to move the directory containing the files to the new file system and creating a ...
0
votes
0answers
20 views

Detecting filesystem changes without direct fs-support

How do I detect changes (additions, deletions, modifications) to a directory tree without filesystem support (like btrfs snapshots)? I want to list all changes to a specific directory tree on an ext2 ...
0
votes
2answers
19 views

file creation and acces monitoring app [duplicate]

I remember long time ago I had some antivirus on windows which had wile accesses monitor, and could tell you if any process accesses a file.I need to monitor every file in my home folder(or any other) ...
1
vote
1answer
25 views

Storing documents and backups on several different drives

Currently I have Ubuntu installed on a 120GB SSD. However I also have 3 more hard drives installed on the computer, 2 x 640GB in aRAID array and a 60GB SSD. What I am trying to achieve is to use the ...
1
vote
0answers
78 views

No space left on device, with 320 GB free

I'm a bit lost. I have a 500 GB external hard drive with its original filesystem still in place. The last command (dd writing to a file within this filesystem) failed with "no space left on device". ...
2
votes
2answers
44 views

Concatenate two files to loop-mount the filesystem inside them

I have two files diskimage.part1 and diskimage.part2 on an external slow (USB 2) hard drive and I need to do the equivalent of cat diskimage.part{1,2} > diskimage mount -o ro,loop diskimage ...
3
votes
0answers
28 views

ack.pl tool and ack.pl flags

I am using the ack.pl tool in order to search string or IP’s in files The official site of ack.pl is - http://beyondgrep.com/documentation/ Example of ack.pl CLI ( want to find the string ...
0
votes
0answers
30 views

How can I recovery data? Or how can I fix file system without deleting of data?

I have done fsck.ext4 -f /dev/sda5 but questions were too much and I close one several times. After that I used several times e2fsck. But it was very slowly and I stopped one several times too. ...
1
vote
0answers
19 views

Is there a way to backup and restore ACL file and folder permissions on linux the way that there is using icacls in Windows? [duplicate]

In Windows you can do this (backup and restore ACL permissions) can you do this in Linux? And to clarify, I mean ACLs in Linux, I do not mean the default permissions modified with chmod / chown.
2
votes
0answers
25 views

How to check if GRUB is password protected or not?

Is there any command to check whether GRUB boot loader is password protected or not? What is the file path? where it stores this information specially on Debian OS.
-1
votes
0answers
29 views

get all files and folders from image file [migrated]

C program that reads a disk image specified as a command line argument and prints the paths for all files and directories in the image.If the entry is a directory, print a forward slash at the end of ...
2
votes
1answer
39 views

What is in /dev /proc and /sys

After mount there are listed some filesystems. I need to know what's in the /dev, /proc and /sys. Some examples would be great!
1
vote
3answers
26 views

Should I put old projects in tarballs

I never really used tarballs/archived much, except for uploads (with compression). Now I've accumulated a huge list of software projects coding experiments -- basically directories with lots and lots ...
8
votes
1answer
365 views

mkdir: cannot create directory: Function not implemented

I am in college and have to submit my cs homework from a school Linux machine, but I like doing the homework on my laptop (Mac). So instead of copying my files over every time, then submitting them, I ...
1
vote
0answers
19 views

How to diagnose potential JFFS2 flash problems?

I have a large fleet of embedded ARM systems using the JFFS2 filesystem. Are there any particular commands or log file entries I can query to gauge whether they are having any corruption or other ...
2
votes
1answer
35 views

what is directory entry?

I have to use the dirent.h in some of my C projects. According to various different descriptions found online, I have come to a vague idea that directory entry is a data structure, which tells us ...
0
votes
2answers
70 views

Which file system is better for Ceph?

I've read the Ceph OS recommendations document, but still I have a question. Which file system is better for Ceph? XFS, ext4, or something else?
0
votes
1answer
20 views

unix2dos not recogonizing outfile

I typed unix2dos /path/to/filename_unix.txt /path/to/filename_dos.txt in the CentOS 7 terminal, but I got the following in response: unix2dos: converting file /path/to/filename_unix.txt to DOS format ...
1
vote
0answers
55 views

fopen problem when mounting ecryptfs filesystem

After an unrecoverable fsck problem the mount of my encrypted /home/me filesystem isn't possible any more. The visible effects are: a) logging in though most of the selectable GUI window managers ...
0
votes
1answer
44 views

Debian can't mount partition or external hd

I have recently installed a copy of Debian 7/Gnome in a partition along with Windows 7. Even though I am the sole user of this computer, during the installation two accounts have been created: a ...
0
votes
0answers
42 views

Live shrinking of root partition has failed on Linux Mint

Steps taken: *Used fdisk to delete the existing root partition and created a new root partition (PV) starting on the same block *Added the 'a' flag using fdisk to make it bootable as /boot is under ...
3
votes
2answers
77 views

How can I test if my /tmp “works”?

I had to delete some files and whatever, long story, I ran sudo rm -rf /tmp/. Now, on mac (might be universal, I'm not sure) it is a symlink to /private/tmp/. But my /tmp/ folder has a thumbnail ...
0
votes
1answer
24 views

Disparity between output of `fsck` and `df`

fsck shows /dev/sda1 is okay, and uses 3811/49152 inodes and 105570/171776 blocks. df -i and df show that /dev/sda1 uses 443/239944 inodes and 0/959776 KiB. GParted shows /dev/sda1 uses ...
2
votes
0answers
29 views

How do I layer compression on top of encryption on top of BtrFS, per-file?

BtrFS should support this really, but it doesn't. So ECryptFS looks like it will fill the gap. The only thing is, how would I layer compression on top of this? Reasons for compression on top of ...
1
vote
1answer
37 views

What does `clean, x/y` mean in fsck output?

When I run fsck, I see output like: fsck from util-linux 2.25.2 e2fsck 1.42.12 (29-Aug-2014) /dev/sda1: clean, 3811/49152 files, 105570/171776 blocks Which I understand means everything is okay ...
5
votes
3answers
303 views

How do I move all the files with the same name scattered through the file system into one folder?

I have a file system tree and on different locations within it are files with the same name. I tried the following command on the command line: find / -name "HAHA" -exec mv {} /home \; It only ...
3
votes
0answers
34 views

Look at the bytes in a directory? [duplicate]

I would like to see what the actual contents of a directory file are (not the files that are contained within that directory). Specifically I would like to be able to do something like: od -c . ...
1
vote
2answers
54 views

/etc/fstab/ rw option is being ignored for mircosd card partition in ArchLinux

I have ArchLiinux Linux comp001 3.18.7-1-ARCH #1 PREEMPT Wed Feb 11 11:38:34 MST 2015 armv6l GNU/Linux for Arm installed on rPi and here is my /etc/fstab file: # # /etc/fstab: static file system ...
0
votes
0answers
15 views

How to pass local directory as drive in Windows+VirtualBox

Setup: Linux host + VirtualBox + Windows 7 guest. Currectly I use shared folders feature but it is too fragile, I see all phantom effects and on the other hand Windows have change file notification ...
2
votes
0answers
36 views

On which disk is a file located in a btrfs RAID-1 array/filesystem?

I have a btrfs array with 5 disks in RAID-1 mounted on /mnt/array: # btrfs filesystem show /mnt/array Label: 'nicefilesystem' uuid: censored Total devices 5 FS bytes used 4.95TiB ...
3
votes
1answer
33 views

“Ghost” files in ext4? (ktorrent allocated disk space)

I'm downloading with KTorrent, and have noticed that when I select "allocate disk space before starting torrent", it creates all the files at start, presumably empty, to avoid fragmentation. When I'm ...
1
vote
2answers
54 views

Device files and drivers of a disk, partition, and filesystem?

In Linux, For a hard disk, there is a device file such as /dev/sda or /dev/hda depending on the interface type of the hard disk. Does the existence of its device file mean that the driver for the ...
3
votes
0answers
53 views

What is the meaning of the contents of /proc/net/unix?

On my Android device there is the file called /proc/net/unix who's content does not conform to that of any standard linux distribution (which show the unix domain sockets.) First few lines: Num ...
0
votes
0answers
16 views

Calculating a File Offset [duplicate]

I would like to know how I could calculate the offset of a certain file in a certain partition. I have spent quite some time looking for an answer but couldn't find anything concrete. What I mean is ...
1
vote
1answer
74 views

ext4 corruption found in superblock, but filesystem can be mounted

After a crash, I've got an Ext4 filesystem (on an LVM LV) that gives the following error when running fsck.ext4 -nf: e2fsck 1.42.12 (29-Aug-2014) Corruption found in superblock. (blocks_count = 0). ...