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

learn more… | top users | synonyms (2)

1
vote
0answers
32 views

How can I make a read-only Linux system (which uses unionfs) read/write for the duration of upgrades?

Assuming having an embedded linux application, and for protection against corruption from example abrupt power offs, you implement a read only system with union fs. But then, how is it possible to ...
0
votes
2answers
36 views

RPM command stuck/FREEZE when installing RPM file

I want to install the following rpm from some reason RPM is stuck or freeze and not install the RPM package also I cant stop it by control C , please advice what could be the problem ? root]# rpm ...
1
vote
0answers
37 views

Is it possible to make a symbolic link of a file in other machine?

I have a account in a server and I would like have a symbolic link of some files in my local machine. How can I do this?
1
vote
1answer
34 views

Why do LiveUSBs use squashfs (and similar) file systems?

Every LiveUSB I have encountered so far uses squashfs or some similar method of "faking" and ext4 file system, while actually keeping the partition type already found on the USB flash drive. Why ...
1
vote
1answer
80 views

Stat, Blocks and Sector size - ext4

While reading upon how files are stored in the filesystem, I created a testfile which happened to be of size 217 bytes. Checking the output of stat on this file, I saw that this file is occupying 8 ...
0
votes
2answers
46 views

Disk usage on another filesystem

I have a directory on my ext4 partition with lots of rather small files. How can I figure out how much space would they use if I copy them to a file system with another cluster size (without actually ...
1
vote
1answer
33 views

How to specify block size for vFAT file system?

I just read that vFAT support different block size at (this link and in other places. It should be 512 bytes to 32 kb range ). So how can I specify this option in mkfs.vfat tool? Or does mkfs.vfat ...
1
vote
2answers
46 views

is there any use for /selinux folder, when I don't use selinux?

I'm using Debian Wheezy, and by default a folder /selinux exists on my filesystem, even though I'm not (knowingly) using any SELinux infrastructure. I know that SELinux is intertwined with some ...
1
vote
0answers
15 views

Many transient files on journaled filesystem?

Writing and deleting many files quickly I'm going to write many temporary files per second, over a sustained period. Each will be deleted after some milliseconds. Say we have an image processing ...
1
vote
1answer
70 views

Filesystem for boot partition

I created a BIOS boot partition on a hard drive, using gdisk : $ sudo gdisk /dev/sdb Command (? for help): p Disk /dev/sdb: 7821312 sectors, 3.7 GiB Logical sector size: 512 bytes Disk identifier ...
1
vote
1answer
27 views

Must be in the same VG

I am trying to extend the fs like this, chfs -a size=+290G /Eq7_bakcup but getting this error, what am I doing wrong? mount: Log dev and fs dev must be in the same volume group
0
votes
0answers
154 views

mkfs.ext4: Discarding device blocks: failed - Input/output error

I am trying to format my new SD card, using following command; mkfs.ext4 -O ^has_journal /dev/mmcblk0p2 and I get following error: Discarding device blocks: failed - Input/output error I don't ...
0
votes
0answers
23 views

Files and Directories Dissappearing from Software Raid on Power Failure

I have a home samba file "server" (a raspberry pi) with two hard drives in a software raid 1, which have proven less reliable than any of my non-raid disks. I know there is a chance for data ...
3
votes
1answer
63 views

View physical location of a file/directory on a hard disk

Is there any Linux program which offers the same (or some of the) functionality of Sysinternals DiskView, especially being able to view to physical location of a file on a hard disk? DiskView URL: ...
1
vote
0answers
19 views

What means a number of links > 1 for directories? [duplicate]

Both programs stat and ls -l tell about the number of (hard) links to file(s). Going under the assumption that one usually cannot create hardlinks for directories in Linux it confuses me to see ...
3
votes
2answers
27 views

Optimize file layout for minimal seek in specific situations

Starting VLC is slow on my system. The reason: it reads more than 1000 different .so files. Is there a way to make it read those files faster? I think if all the files followed immediately after each ...
0
votes
1answer
58 views

Covert a .tar file to .ext3 [closed]

Quite a unix noob myself, but is there any way in linux/unix to convert a .tar file to a .ext3 file? The .tar file contains a rootfs folder structure, which I would like to make bootable with grub on ...
0
votes
1answer
315 views

Can't mount SD card - Wrong filesystem

Just bought a SanDisk microSDHC 8Gb card and tried to change the file system to ntfs (used cfdisk thru terminal). Couldn't mount the device. Tried to change back to FAT32, but still can't mount. ...
0
votes
1answer
39 views

Recommended file system for cloning AUR-mirror?

I'm beginning to use Arch Linux and wanted to explore the AUR repository. Because of this motivation, I learned two things immediately. Ext3 can support only 32000 sub-directories. (I ran into ...
0
votes
0answers
53 views

Cannot label F2FS (SELinux)

I'm running Arch Linux [testing] x86_64 For some reasons, I can't relabel my root file system (F2FS) with SELinux (custom kernel compiled, using refpolicy) Kernel ver $ uname -a ...
1
vote
1answer
488 views

Converting NTFS to Ext3

I recently partitioned a new drive in windows to NTFS. I want to make it ext3 so that I can transfer a WUBI Ubuntu installation onto it. I don't care about the data on this partition. Is there a ...
1
vote
0answers
16 views

NFS Block Size Open File

If I open an NFS file for the first time, what exactly is it that gets "downloaded"? Is it just file metadata and subsequent client requests will request individual blocks? Is it the whole file, or ...
3
votes
1answer
192 views

cannot create special file /dev/pts/0

When using midnight commander in console, I cannot "toggle" the window (using CTRL-o Not an xterm or Linux console; the panels cannot be toggled however, my $TERM is set to linux. After some ...
2
votes
3answers
147 views

How to repair a file system corruption?

Debian on external USB SSD drive. There was some error in dmesg log file: ...[ 3.320718] EXT4-fs (sdb2): INFO: recovery required on readonly filesystem [ 3.320721] EXT4-fs (sdb2): write access ...
2
votes
1answer
44 views

Shared home directories with local duplication

I have a couple Linux computers which are all in the same network. Currently, I use rsync to copy my dotfiles and the like to each machine every couple of days from the master computer. Ideally, I ...
3
votes
1answer
34 views

How to find out how the filesystem was created?

You can create the filesystem with mkfs... -- how to find out not only what filesystem is used on given partition, but what parameters where passed to mkfs? So how to perform mkfs in reverse -- ...
0
votes
2answers
39 views

Disallowing blank space in file system naming

Most recent versions of most Linux distros allow blank space in file and directory naming. I was wondering if there is a way to disable that and go back to the old UNIX standard of no spaces in file ...
2
votes
1answer
290 views

What are functional differences between tree-like/hierarchical and flat file systems?

The only differences I can think of are all aesthetic. E.g. When you have many files, it will be hard for the user to navigate to the desired file because it wouldn't be organised nicely like in a ...
3
votes
0answers
229 views

Which file system (among XFS, BTRFS and EXT4 only) does provide the best data resilience to disk corruption? [closed]

Question: Given these three filesystems: XFS, BTRFS and EXT4, I'm wishing to know which does provide the best data resilience to data corruption in a setup without RAID. And, of course, why? ...
0
votes
1answer
203 views

Ext2 filesystem for /boot partition

Is the ext2 filesystem good for /boot partition? I set ext4 for / root partition, but wasn't sure which filesystem to select for the /boot partition, and I just set ext2. Does it matter in this case?
0
votes
0answers
185 views

Cannot mount fresh partition twice

I try to partition a harddrive with a script, where I have some trouble remounting the partition. This happens both this btrfs as well as with ext4. So I assume the problem is the partition table, and ...
6
votes
3answers
453 views

How can I make a special file that executes code when read from

Most files on a Linux system are normal files, i.e. they are saved on disk and reading from them just reads from a specified chunk of memory on the disk. How can I make something that behaves like a ...
0
votes
0answers
35 views

how to get filesystem creation time/date for vfat on linux

I want the date, when the filesystem on a usb stick was created. This would be the age of the stick in my case, since I have not recreated it. I have found how to do this for files and ext ...
3
votes
1answer
36 views

How do I change the OS block size

I am using SUSE 11SP3 and formatted the devices with a block size of 4KB using mkfs.ext3. /sys/block/sda/queue/logical_block_size and /sys/block/sda/queue/physical_block_size show the OS is using 512 ...
-1
votes
1answer
41 views

In Mac Os, what is .DS_store?

In each folder I find a hidden file called .DS_store? What is this exactly?
1
vote
0answers
54 views

changing /var in running system

I have the challenge that I cannot start a CentOS Linux server in single-user-mode, but I need to change the /var (currently part of /) to a new disk. My way would be: mount the new disk on a ...
3
votes
1answer
316 views

Do files change while passing from ext2 to ext3 to ext4?

If one creates a file on an ext2 (or ext3 or ext4) partition, then moves from one partition to another, each formatted differently, does any part of that file change? Once returned to the original ...
3
votes
0answers
49 views

How to change relatime access time update interval from 24 hours?

According to the RHEL 6 documentation about the Relatime Drive Access Optimization: The kernel used in Red Hat Enterprise Linux 6 supports another alternative — relatime. Relatime maintains atime ...
0
votes
0answers
21 views

Prime New GlusterFS Cluster w/ 24GB of Files

I am attempting to load my new glusterfs cluster on AWS with my existing files that total in size of over 24GB. From my calculations, it is going to take 8 days to transfer all the files via the ...
12
votes
1answer
155 views

When did directories stop being readable as files?

I have the 1st edition of The Unix Programming Environment book. In chapter 2, the authors state that directories are readable as files, and mention some facts about the format of these files. They ...
1
vote
1answer
57 views

Create a file that's really a network port

I have a program running on a cluster, and the output of the program is written to a log file which I specify. However, instead of writing it to a file, I want to write it to a network port, so that ...
2
votes
1answer
51 views

zfs deduplication “low” ratio

In Solaris 11, in a pool named mypool I activated deduplication with zfs set dedup=on mypool Then I created two 100 MB file: file1 and its copy file1copy. Only their names are different: their ...
2
votes
1answer
86 views

RHEL Error message mounting luks crypted filesystem at boot

I am configuring a luks crypted file system to be mounted at boot time using RHEL 6.5 I did all the configuration from command line and tt worked but printed an error message after asking for ...
2
votes
1answer
103 views

How creating forcefsck file triggers file system check on reboot?

What is the significance of the file /forcefsck? I understand by creating this file the file system check is enforced during the next reboot. But how does this work?
1
vote
2answers
2k views

Command not found problem in Linux-Ubuntu terminal

My friend is having problem in trying to call make to compile an application which both me and a second friend have previously successfully compiled. The file uses a "linux-devkit" pack that possess ...
0
votes
1answer
337 views

NTFS drive not mounting in Debian

This drive has been working fine for a while, but I recall having had some slight trouble getting it mounted in the past. Anyway, it was disconnected from the machine for some time and when I ...
1
vote
1answer
32 views

How are files or chunks delimited on disk?

I'm trying to recover some lost files by grep-scanning a hard disk. (The OS is Darwin 11.4.2. The file system is HFS.) How can I determine where a file (or contiguous chunk thereof) begins and ends ...
0
votes
0answers
92 views

Beaglebone: Backup image mounts root as Read-only

After I had completed creating applications for my BB white (running ubuntu), I created a backup of the SD card using-> sudo dd if=/dev/disk2 of=/Volumes/BONE/bone_custom.img Recently, I tried to ...
0
votes
1answer
88 views

iozone runs fail with “No such file or directory” errors

I want to start using iozone to benchmark an aufs filesystem on a virtual machine on ubuntu. I tried following the manual to use relevant parameters, but I keep getting a weird error on most runs. I ...
2
votes
1answer
1k views

“inode_size (128) * inodes_count (0) too big for a filesystem with 0 blocks” while creating a file system

My partition table looks like this: Device Boot Start End Blocks Id System /dev/sda1 * 2048 32505855 16251904 83 Linux /dev/sda2 32505856 33554431 ...