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

learn more… | top users | synonyms (2)

0
votes
0answers
46 views

mount directory cannot be seen from within apps

I have successfully mounted a local network location on my Android device to /sdcard/routersd with permission set drwxrwxrwx; I can successfully browse within this mounted directory and do copy/delete ...
2
votes
1answer
43 views

Is an inode number a non-changeable id of an inode?

I am trying to understand the concept of the inode number of an inode. Is an inode number an/the id of an inode? Does an inode have exactly one inode number? or can an inode have zero or more than ...
1
vote
0answers
22 views

What is the purpose of nodev? [duplicate]

I'm talking about the mount option. What is it used for? What is the purpose behind preventing device nodes from being created in a filesystem?
1
vote
1answer
27 views

Having trouble accessing my phone via USB

(I've searched the web for people that have had my exact problem, and couldn't find any, so if this is a repeat question I won't be offended by having this pulled, but I would appreciate being ...
4
votes
2answers
365 views

Is there an inode for a directory?

Each file has an inode. Is there an inode for every directory ? If not, how does Linux manage directories.
1
vote
1answer
28 views

Speed up backup in case where a partition has lots of free space

I'm trying to make a backup of a block device (Raspberry Pi sd card) using dd. Command used: sudo dd if=/dev/sdb of=rpi-backup-image bs=4MB where /dev/sdb is the unmounted RPi sd card. The amount ...
2
votes
0answers
27 views

Linux file creation time. What are the requirement challenges in considering useful atribute? [closed]

I find many users are acquiescent to the fact that many linux/unix variants do not support/store the file creation time. Yet, I feel it has some relevance in operations and audit & trail. I see ...
3
votes
1answer
26 views

log file for storing outputs on stdout and stderr isn't created

I am running a long running script on a Scientific Linux server with Kerberos and Andrew file system, by myscript.sh >log 2>&1 & Upon starting the command, I didn't see a file called ...
1
vote
1answer
77 views

udev creates the right rules, but rights disappear as soon as I try to access files via C++

I'm facing a really strange problem using udev. As I already explained here I'm trying to access some folders/files as a no root user Here are my udev rules for the gpio folder: KERNEL=="gpio*", ...
3
votes
2answers
108 views

How to delete, without rm/unlink

Related to another question I asked here [http://unix.stackexchange.com/questions/253932/rename-folder-with-odd-characters] I'm wondering if it's possible to bypass the normal rm/rmdir/unlink ...
0
votes
1answer
36 views

On-the-fly Textfile template engine

Is there a dynamic/on-the-fly textfile template engine that works on the filesystem level, e.g. via fuse, in a similar fashion to web-server html template engines? Imagine you have, e.g. a ...
0
votes
2answers
45 views

In Linux what setup would allow striping data across multiple drives?

How would a system be set up to stripe data like raid does, preferably with out using raid. Could lvm be used for this?
0
votes
1answer
31 views

Exact structure of a file [duplicate]

My question may seem really basic but I struggled to find satisfactory answer. I have started to wonder what is the exact structure of a file in Linux. There are some commands like file or ls that can ...
2
votes
1answer
62 views

How to find unallocated disk partition with parted or another tool?

I'm using Fedora server and I have an unused partition on /dev/sda. How can I find it with parted or another command? I can only list mounted and used partitions.
1
vote
0answers
33 views

Build errors on a copied operating system in a chroot

I'm in a bit of an interesting situation. In an attempt to have root access on my school's physics network computers, I ended up creating a chroot environment, using fakeroot and fakechroot. As every ...
2
votes
1answer
18 views

copied a folder - getting different used space on destination (using FreeBSD and UFS)

So I'm trying to backup a folder with subfolders to another disk and it won't fit. I used rsync -aiv --delete /mysrc /mydest There are no links (symlinks or hardlinks) of any sorts on the source. ...
1
vote
0answers
65 views

Siemens NX 10 installation: Could not determine filesystem containing /usr/ugs100

I debug script to install Siemens NX 10 applications for Debian 8.2, and get the warning: Could not determine filesystem containing /usr/ugs100 space calculations may be incorrect. The source ...
2
votes
1answer
329 views

mount overlayFS as Read-Write FS

I want to mount my RO Filesystem using overlayFS - in order to use two layers FS (Lowerdir and Upperdir). I tried the following mounting command - mount -t overlayfs -o lowerdir=/,upperdir=/overlay ...
0
votes
0answers
21 views

fsync () get the impact of road /proc/sys/vm/drop_caches?

I have been testing the service life of TLC(1000write) SD card (4GB). SD card has been formatted with a fat partition. I am a write (), fsync () on a file of 10M SD card repeatedly. 1st (10M): ...
0
votes
0answers
15 views

Is there a standardized way for applications to save MRU lists?

Many applications (especially GUI ones) and DEs maintain MRU (most recently used) files lists, also every browser maintains visited pages history. I am just curious if there is already an ...
0
votes
3answers
180 views

df -h shows fs size smaller than LV size

I created a LV which it's size is 700MiB . When I mounted the FS, I noticed the df -h shows the filesystem's size is 697MiB. Where did 3MiB go? Could it reserved for the LVM's metadata? The FS is ...
0
votes
1answer
93 views

fsck.ext4 can't repair block far behind end of the file system

My environment: BananaPI with kernel 3.4.108 Whenever I run a file system check for the SDcard it results with an read error on block 134217729. Actually this is not surprising as this 32GB card has ...
1
vote
1answer
26 views

Disk format settings for linux bootable

I am using windows 10 to format a flash drive to be used to boot linux, as opposed to writing linux to a hard drive or creating a separate partition. Will exFAT (the default setting) be appropriate ...
4
votes
1answer
38 views

GRUB Legacy complaining about filesystem being unknown?

I have several VM's in an OpenStack cluster (KVM) and when they get built from an image that had say a single 5GB partition they too will have this same HDD geometry configured. I've found several ...
1
vote
0answers
20 views

Does rsync\duplicity real write files on mounted storage?

I've got an external storage, which is mounted as cifs: $: mount ... //somespace/backup on /mnt/backup type cifs (rw) ... And I have write some file: $: rsync /home/user/files /mnt/backup or $: ...
3
votes
0answers
88 views

tune2fs - how much space to reserve on large ext4 filesystem

I am aware that there are several questions concerning how much space to reserve on a filesystem using tune2fs -m, but some of the advice is contradictory, some seems to be relevant only to the ...
0
votes
1answer
37 views

How to extract initrd image from RHEL iso and put a script in initrd /bin/

I have written a customized shell script(command) ,which i want to put in initrd /bin and then, i want it to be copied to Linux OS /opt/xyz directory .Where xyz is customized directory created during ...
0
votes
0answers
64 views

Unable to mount 3TB GPT HDD

I have a little Problem, my Home-Server didn´t mount my 3TB GPT. Yesterday all was fine, this morning I realize that i cant go in my Network-Storage. First i thinked it was a network isue, but now i ...
3
votes
2answers
40 views

Mountpoint to different partitions and different filesystems

While reading on mount point, I think of file management in Linux as followed : / is the main body of a tree /a is a branch from the main body, /a/b is a branch from /a branch To mount a partition c ...
12
votes
6answers
1k views

File systems vs partitions vs directories

I am new to Linux so pardon me for the possible confusion you may encounter in this question. From what I understand, filesystem specifies how a partition stores/manages file, with standards such as ...
9
votes
1answer
100 views

Space-efficient Linux filesystem for music disk?

I have an older SSD in my laptop full of static data, mostly FLAC and a few zip files, there's very few files less than 10MB and likewise writes are weekly rather than multiple per second. I'm ...
0
votes
0answers
57 views

Files Just Go Missing On ext4 Partition (within TrueCrypt Volume)

There are spooky things happening on one of my external hard drives. It's a 3 TB hard drive with: one big partition taking up basically all the storage space there is, and a pretty small partition ...
0
votes
1answer
49 views

How to partition my hard disk [closed]

How to partitioning hard disk for two different linux system on the GPT/UEFI. Size of disk 500gb. I ask because of the fact the disk is limited to 4 primary partition. I want to have 2 partitions on ...
3
votes
0answers
67 views

Replacing a running binary on read-only file system

I have a simple updater bash script, which replaces files by removing the incident old files and copying new files from an archive to the running embedded target root file system. This way, the script ...
3
votes
2answers
174 views

Debian 8 install in QEMU/KVM guest failing due to ext4-fs / “read only filesystem” errors

I am on Debian 8.2 and trying to install a Debian 8.2 QEMU/KVM guest. I created a virtual disk image file and booted into the Debian installer ISO with the following commands: jesse@deb:~/vms$ ...
1
vote
2answers
56 views

Weird disk usage on Enterprise Linux

I'm little bit worried about this (note the 99% used space in the root): $ df -h File System Size Used Free Use% Mounted To /dev/mapper/scientific-root 50G 50G 735M ...
4
votes
2answers
266 views

How can I tell if a directory is mounted with noatime or nodirtime?

I work with an NFS partition on a mac. Commands like du take a very long time, and I was considering unmounting the NFS and remounting it with noatime and nodirtime. The partitions have been mounted ...
0
votes
0answers
239 views

Unable to mount FAT32 USB (wrong fs type)

I am trying to mount a USB stick that is formatted with FAT32. After the drive did not auto-mount, I created a mount point /media/external and then tried the following to mount it: $sudo mount ...
1
vote
2answers
24 views

How to migrate a file on Linux server?

I have renamed a shell script on my linux server and uploaded a new file through FTP tool like WinScp. Now, I am trying to execute this file through Terminal but I am getting Permission Denied ...
0
votes
0answers
14 views

What is realtime section and realtime files of xfs?

http://man7.org/linux/man-pages/man5/xfs.5.html The realtime section is used to store the data of realtime files. These files had an attribute bit set through xfsctl(3) after file creation, before ...
4
votes
1answer
57 views

Can I install GNU/Linux on a FAT drive?

Out of curiosity, is this possible nowadays? I remember some old Slackware versions did support FAT root partition but I am not sure if this is possible with modern kernels and if there are any ...
1
vote
0answers
86 views

tune2fs filesystem not clean

I've read in some forums that sometimes if you check tune2fs on a mounted device, it's OK that it says filesystem state: not clean. Can someone give me a complete explanation when this is true?
0
votes
1answer
51 views

Are there two inode tables used in locating the inode of a file in ext2?

From Tanenbaum's Modern Operating Systems, when trying to access a file in a ext2 file system in Linux, and then reaching the parent directory of the file, If the file is present, the system ...
2
votes
1answer
37 views

Any way to help “visualize” the superblock, filesystem, group descriptors, etc

I've been reading a lot about filesystems, trying to learn all I can in depth, but I'm having trouble really visualizing some of it, especially when it comes to things like the superblock, group ...
1
vote
0answers
25 views

Are the links between the inode and data blocks of a file removed when deleting the file?

Suppose there is only one hard link to a file. When rm the hard link, the inode and data blocks of the file will be marked as unused. But are the links from the inode to the data blocks of the file ...
3
votes
1answer
90 views

Performance differences when writing into /dev/sda and into /mnt/sda/tempfile

I am testing my new PCI-E SSD in Linux. I am using the following command to test its performance (reference: https://www.thomas-krenn.com/en/wiki/Linux_I/O_Performance_Tests_using_dd) (1) dd ...
1
vote
1answer
60 views

Unmountable XFS filesystem

I'm a bit hysterical right now because I am unable to mount my external hard drive. I formatted it to XFS about a month ago and moved some files there this morning (a virtual hard drive, among others, ...
0
votes
0answers
17 views

How are the sizes of Linux directories determined? [duplicate]

The results of ls -lh provides, among other things, a listing of subdirectories and their sizes. As the directories' sizes are not determined by the sum of the files within them, how are they ...
1
vote
2answers
86 views

`du -b` shows different size than `ls`

I have a directory with a few hundred files (real files, no symlinks, no subdirectories). When I use ls -la and sum up the sizes in Excel I get 287190 bytes(?). When I use du -b or du ...
1
vote
0answers
73 views

Untar a filesystem to device as normal user but maintaining the correct UID and GID

I'm doing quite a bit of development using Yocto to target an embedded system. As its final output, Yocto generates a tarball of the filesystem, which I then untar onto an ext4 partition of an SD ...