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

learn more… | top users | synonyms (2)

1
vote
2answers
13 views

Does a user have permissions to write outside /home/userDir?

Does a normal* user have permissions to write anywhere else than his own home dir? (no sudo and those privilege escalation tools) I say normal because I do not know more categories than root and ...
0
votes
1answer
32 views

Solaris: Spooling filesystem is full

I have a Solaris 5.8 machine that will no longer print. print job that come from the terminal say: "See if spooling file system is full" I had a look around /var/spool but it isn’t particularly ...
0
votes
1answer
22 views

Linux file system corruption due to improper shutdown (fs ext4)?

I have been managing many Linux servers, It is very easy to play with Linux servers than any other OS. But Sometime I encounter a problem with Linux OS is that, The file system corruption. This ...
0
votes
1answer
11 views

Why is curl failing write to body?

I am trying to install pathogen.vim plugin with following command: mkdir -p ~/.vim/autoload ~/.vim/bundle && \ curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim But it is ...
1
vote
0answers
62 views

Cannot remove file: Read-only file system

I am trying to delete a file on an Ubuntu 12.04 system for which I have root access. However, I am getting this error: root@CRST-Web:/home/real_property/html# rm -r -f results.php rm: cannot remove ...
0
votes
0answers
20 views

How to set usb stick's ntfs filesystem's attribute to readonly in linux

I know how to set readonly attribute to ntfs filesystem of a usb device by using diskpart tool in windows. attributes disk set readonly but how to set readonly attribute to the same usb device ...
1
vote
1answer
26 views

Use “tune2fs” on XFS filesystem, get “Couldn't find valid filesystem superblock.”

I ran into this message two days ago=: tune2fs: Bad magic number in super-block while trying to open /dev/vdc1 Couldn't find valid filesystem superblock. The system is Ubuntu, a KVM virtual machine ...
3
votes
3answers
24 views

“write-once archive”: ext2 vs ext4^has_journal vs

summary Suppose one is setting up an external drive to be a "write-once archive": one intends to reformat it, copy some files that will (hopefully) never be updated, then set it aside until I need to ...
2
votes
1answer
25 views

Why the ext4 filesystem can be shrunk only when not mounted?

I'm playing a little bit with LVM. I've noticed that I can add a new HDD, include it in the volume group, and add some space to all of the existing volumes without unmounting theirs filesystem or ...
1
vote
1answer
42 views

Why deleting big files from tmpfs is not instantaneous?

$ cat /proc/mounts | egrep ' /tmp ' tmpfs /tmp tmpfs rw,nosuid,nodev,relatime 0 0 $ dd if=/dev/zero bs=1M count=3000 of=/tmp/q 3000+0 records in 3000+0 records out 3145728000 bytes (3.1 GB) copied, ...
1
vote
1answer
26 views

Symlink to same directory

I've set up a ftp server for using ftp push on a tv recording page. I've created an extra user for this, who has only access to one directory, which the user is chroot-ed in. But the page does not ...
0
votes
1answer
20 views

How to safely delete a regular directory that contains several btrfs snapshots inside it?

I have a regular directory than contains directly underneath it several btrfs snapshots. Is it safe to do an rm -rf on the parent directory, or do I need to first do a btrfs subvolume delete SUBVOL on ...
3
votes
0answers
29 views

How can I have a filesystem mounted during user login?

I would like a file based filesystem (~/Archives/inventory.locker) mounted upon user login and unmounted upon logout (~/Documents/Inventory). pam_mount seems to provide the functionality I am after, ...
2
votes
1answer
17 views

Mount a large squashfs in a way that allows random writes (to a separate filesystem)?

I just received a few-dozen-gigabyte squashfs that contains a PostgreSQL database. In order to be able to conveniently query it, I need to have a write access, which makes it complicated. Is there a ...
1
vote
0answers
9 views

How much control do concrete file systems have over the VFS inode cache and the buffer cache?

I want to make sure I'm understanding how VFS inodes and file system inodes working together. A file system's inodes are stored on the block device and that is where they live. When an operation is ...
1
vote
1answer
23 views

Remove filesystem from an unpartitioned disk

I have an un-partitioned 500GB disk with a ext3 fs using the entire disk. If I make sure there are no partitions on the disk using fdisk or parted, "ssm list" will still show an ext3 fs on the disk ...
1
vote
1answer
22 views

Remounting is not supported at present. You have to umount volume and then mount it once again

I was not able to chmod a file in my /dev/sda3 on my Ubuntu12.04 system. This is what I get when I try to see its information: $ mount | grep 'media' /dev/sda2 on /media/sda2 type fuseblk ...
0
votes
0answers
13 views

KDE 5 plasma desktop slow filesystem operations

I have KDE 5 and Plasma Desktop, Kubuntu 15.10, and there is one annoying thing: file operations works very strange. If I'm removing some file first time until system was power on, KDE starting to ...
2
votes
0answers
42 views

`stat -f` show a ext4 file system type as ext2/ext3

On Ubuntu 14.04, I am checking the ext4 filesystem for my home based on a file new in it: $ stat -f new File: "new" ID: 38d4cd29e44142c6 Namelen: 255 Type: ext2/ext3 Block size: 4096 ...
1
vote
2answers
28 views

Squashfs minimal compression?

I'd like to create a squashfs image of a directory, but it's a huge one and even minimal compression would be a big win. Is there a way to do something like mksquashfs -1?
0
votes
1answer
8 views

How do I reset the folder metadata size without recreating the folder?

I have a folder (watch) that got filled with a lot of temporary files by mistake. I've cleared out all of those files but the the folder is still 356 kB in size. In the past I've moved the folder out ...
1
vote
1answer
43 views

Do both “stat -f” and “cat /etc/fstab” show file system ids?

On Ubuntu 14.04, I am checking the filesystem for my home based on a file new in it: $ stat -f new File: "new" ID: 38d4cd29e44142c6 Namelen: 255 Type: ext2/ext3 Block size: 4096 ...
0
votes
1answer
33 views

Why isn't ext listed for file system types supported by my kernel?

I follow the reply here to list the types of file systems that my kernel can support. Why doesn't ls /lib/modules/$(uname -r)/kernel/fs list ext? My Ubuntu uses ext4 file systems.
1
vote
0answers
11 views

Snapper - how to undo changes, preserving timestamps?

I've damaged modification dates of files on my drive and I wanted to revert them using snapper snapshots but it doesn't seem to work, snapper only reverts content of files not modification dates. ...
1
vote
1answer
27 views

How to determine file system type reliably under Linux?

I want to be able to run a command which would print what exactly FAT version/subtype is a partition formatted in (FAT12/FAT16/FAT32/VFAT/exFAT) Some guys suggests following command # stat -f -c %T ...
0
votes
1answer
36 views

How do I load a kernel module later in the boot sequence?

I've been experimenting with the g_mass_storage kernel module. I first tried loading it by putting it in /etc/modules and the options in /etc/modprobe.d/file.conf This worked, but when I connected ...
0
votes
0answers
32 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
26 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
23 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
346 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
26 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
26 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
24 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
49 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
77 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
0answers
13 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
41 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
26 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
38 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
30 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
16 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
49 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 ...
1
vote
1answer
83 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
9 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
100 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
45 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
19 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
29 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 ...