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

learn more… | top users | synonyms (2)

1
vote
2answers
377 views

How many files is equal to 1 inode

I am quite confused about the i-nodes. They say delete files to reduce the i-nodes but I have deleted 100s of log files from different cpanels on my server but inode count is still the same.
1
vote
0answers
32 views

Can I use a disk without partitioning it? [duplicate]

If I have a disk (whether a physical disk or a virtual disk managed by a some VM hypervisor) that I want to use as a single big partition, do I need to actually create a partition table with one big ...
0
votes
2answers
66 views

Comparison of forbidden symbols and names in different FS's

What symbols and (maybe) names are forbidden on different files systems available in modern Linux distribution?
3
votes
1answer
1k views

Finding all partitions with filesystems

I'm writing a script that will copy all of the files on a device to a directory. The problem is that some of the devices have multiple partitions and some of the partitions don't have filesystems to ...
3
votes
2answers
1k views

How does Linux know the Location of File Data on Disk

related to: What is a Superblock, Inode, Dentry and a File? None of the famous metadata structures hold onto to location data for the actual file. Dentry maps names to inodes, and inodes store ...
3
votes
1answer
210 views

Does Rsnapshot work on Fat32 filesystem?

Does Rsnapshot work on the Fat32 filesystem? I get the impression from Rsnapshots homepage that it does, but then I read here that it doesn't. So I'm not sure what to think.
6
votes
2answers
2k views

How to upgrade shared library without crash?

Here it says that you can rewrite an executable file and the process will run just fine - it will be re-read when a process restarts. However, when I try to replace a binary file while the process is ...
4
votes
0answers
73 views

why . and .. are listed when ls -a command executed? [duplicate]

When I execute the ls -a command, all files and folders in that directory listed, as well as . and .. are listed too. Why is that? Are they a file or folder?
4
votes
2answers
734 views

How can I backup a directory to NTFS while preserving Unix file attributes?

I want to make a backup of my home directory to an NTFS partition (an unfortunate limitation). However, when I last tried using just cp, the attributes (owner, etc) went away. How can I make a backup ...
3
votes
1answer
3k views

What are /dev, /run and /run/shm and can I resize them?

So, I recently created a 15GB partition for Linux Mint 14. I've been working on it for a while, and I got a Low Disk Space notification. I ran df -h and this is what I'm getting: Filesystem Size ...
0
votes
1answer
86 views

Files replaced with Finder on Mac creating a copy on Samba's .recycle

Scenario: Ad Agency with Samba Server and multiple Mac users, 0 Windows users. vfs objects = recycle recycle:keeptree = yes recycle:repository = /storage/files/.recycle/%U Workflow: Before start ...
14
votes
5answers
23k views

Check if folder is a mounted remote filesystem

What is the best way (reliable, portable, etc.) to check if a given folder is on a mounted remote (nfs) filesystem within a shell script? I am looking for a command that would look like: ...
1
vote
1answer
391 views

Strange behavior in mv command - maybe open sys call issue?

I'm noticing very strange behavior from the "mv" command that may (or may not) be related to the "open" system call. We're running RedHat v5. There are two separate storage devices, one mounted to ...
4
votes
2answers
7k views

ext3 root filesystems goes read-only with aborted journal even after repairs

Short version: ext3 root filesystem on rackspace (xen) VM detects aborted journal on boot and mounts read-only. I've attempted to repair this from a rescue environment with tune2fs and e2fsck as ...
3
votes
1answer
198 views

Equivalent of pvmove for BTRFS

Similar to the question I asked a while back. This one's a little easier? I can see there's volume management logic in BTRFS for removing/adding/rebalancing physical drives, but is there a tool to ...
1
vote
4answers
81 views

Is there a robust way to cache contents of usb on local hd?

I'd like to switch between working on a laptop with a debian vm and a desktop pc running debian while carrying all my work files in a usb. Is there a robust way to automatically start caching the ...
3
votes
2answers
132 views

Are there any discussions about proposing a new filesystem hierarchy standard?

Are there any current discussions about switch to a different standard directory hierarchy for Linux? The only thing I currently know of is GoboLinux, which looks quite outdated.
6
votes
1answer
705 views

Determining LVM Extent numbers for given file

I'm currently engaged in a non-work related homework exercise. I have an ext4 filesystem sitting on a logical volume. I'm testing different performance tuning strategies and this idea occurred to me. ...
4
votes
1answer
840 views

Linux tool to track directory space over time

Are there any common Linux tools that track disk space over time, not just a filesystem overall, but for example, so I could easily see which directory trees swelled up and shrunk historically? The ...
1
vote
2answers
1k views

Information about the device files: /dev

ls /dev command lists the device files. How to know the associated drivers/major_numbers/minor_numbers with those device files?
8
votes
1answer
212 views

Is there a way to prevent the creation of a given file?

When ever I use a browser reading PDF the acrobat plugin is used producing a file called C:\nppdf32Log\debuglog.txt in my home. Is there any way to prevent that this given file can be created? I mean ...
0
votes
2answers
738 views

Unknown btrfs error, partition won't mount

unix friends, a day or so ago my btrfs partition just stopped working, which means i can't mount it anymore which is why my Fedora Linux doesn't boot anymore. I don't really have much information, ...
1
vote
0answers
216 views

unionfs filesystem

I recently learned about unionfs and aufs and would like to put it to some real use. The scenario I have in mind is the following. Boot a machine with ubuntu on it which will serve as our base. Make ...
1
vote
2answers
156 views

Encrypted disk filesystem compatibilities

On my Debian Linux system during the install I decided to use disk encryption (the one offered during a regulard Debian install). When the system boots up I need to enter a password and then the ...
9
votes
4answers
2k views

What filesystem offers best protection for securing data against corruption due to power loss?

I am running a small uClibc and busybox based embedded system on an x86 device. I am using an initramfs but I also mounting a custom ext3 directory on a compact flash device in IDE mode that I am ...
1
vote
1answer
532 views

Creation of a WORM file

I wanted to create few files which are Write Once Read Many (WORM). How do I do this? I assigned a permission level of 4000 to a file. Also I have to set retention to the files. So I created a file. ...
4
votes
2answers
1k views

How to set permissions in /sys/ permanent?

I'm starting X as a user and need to set my keyboard brightness in /sys/class/leds/asus\:\:kbd_backlight/brightness. The /sys/ directory gets recreated after reboot, so the permissions will reset too. ...
2
votes
1answer
499 views

Will using a compressed filesystem over an encrypted volume improve performance?

Encryption/decryption is often the main bottleneck when accessing an encrypted volume. Would using a filesystem with a fast transparent compression (such as BTRFS + LZO) help? The idea is that there ...
0
votes
2answers
7k views

How to force drop all partitions and erase disk from terminal?

My question is in fact related to OS X, however I'm using Linux tools to resolve my problem. I'm trying to delete all the partitions on my SSD drive and create new GUID (HFS+) partition table. Native ...
2
votes
1answer
1k views

ext2 fs inode error

I got "block bitmap differences" when doing e2fsck. I do e2fsck after i unmount that partition. My question is: what exactly is "bitmap difference". The difference is between what to what? Thank ...
0
votes
1answer
295 views

how are directories implemented in UNIX filesystem?

This question is extension to How are directories implemented in Unix filesystems? I'm aiming to implement basic filesystem: After reading inode number and name we come to know Name of file and hence ...
3
votes
2answers
2k views

Taking file ownership when file and directory is readable/writable

I got some files in directory: drwxrws-wt 2 me mygroup 4,0K 10.1. 12:34 . -rw-r----- 1 someone mygroup 10G 10.1. 11:22 someonesfile me and someone are regular users without supplementary ...
0
votes
0answers
91 views

Span a directory on an SD card and an attached USB stick

Can I span a folder on the SD card on my Raspberry Pi with a folder on an attached USB device? I'd like to basically extend the size of a directory by using an attached USB memory stick. I'm running ...
17
votes
2answers
2k views

Why is JFS so obscure?

When I first got into using Slackware years ago I quickly learned to love JFS over ext3 or reiserfs given that it was reliable and if there was an unclean shutdown, its disk checking was very very ...
0
votes
1answer
221 views

find in /sys/class does not show everything, why?

Like every other person I am from time to time compelled to list the directory structure from a certain point int the filesystem. I do so with find /path/in/fs/ and this yields something like: ...
3
votes
2answers
523 views

Why do . and .. have a file size of 4 kB and 12 kB, respectively? [duplicate]

As displayed by ls -al, for example: drwxr-xr-x 9 jb jb 4.0K Mar 8 18:05 ./ drwx------ 49 jb jb 12K Mar 17 14:15 ../ I assume this is the minimum amount of space required to store the inode's ...
1
vote
2answers
463 views

Cannot access any files Manjaro Linux

I cannot open any files on my Manjaro Linux laptop. I really can't remember why it happened but I restarted my computer and now I dont have read/write access to any folder or file even though I've ...
6
votes
2answers
2k views

A clever way to defragment a FAT filesystem?

What is the best way to defragment a FAT filesystem when running Linux/Unix (on usb stick for instance)? Copy all content elsewhere, format, copy back again? Use FreeDOS defrag utility, in a KVM ...
2
votes
2answers
219 views

Redis-like temporary filesystem

Is there temporary file system (or ramdisk) that behaves like redis/memcache? so if there is not enough memory, i will dump to disk, when the computer restarted, it could read back from disk
1
vote
1answer
178 views

/dev/shm/ecryptfs-$USER-Private keeps climbing in Kubuntu 12.10 Install

I'm having a problem with an installation of Kubuntu 12.10 with an encrypted home directory. I've been trying to figure it out for several weeks. For transparency, I'll note here that I posted this ...
2
votes
2answers
972 views

Debian won't boot: udevd fails to load device sda and sdb

I can't boot my Debian system, I got this error during boot up: Driver 'pcspkr' is already registered, aborting. I have solved this by adding blacklist snd-pscp to /etc/modprobe.d/blacklist.conf ...
3
votes
1answer
194 views

How to place big file on two disks without splitting?

I have a file 100gb in size and a server with two 72gb disk's. The server runs Ubuntu Linux, with ext4 on the disks, and without LVM. How I can put the 100gb file on the server with 72+72gb disk's? ...
-4
votes
1answer
222 views

File attributes does not exist in Linux? [closed]

There is no equivalent of Window's file attributes for Linux ?
1
vote
1answer
329 views

In Dolphin file manager Fedora 17, what is the shortcut to create folder?

In Dolphin file manager Fedora 17, what is the shortcut to create the new folder. E.g. Ctrl + Shift + N creates new folder in Windows 7
1
vote
0answers
153 views

How can I delete data from in a hexdump file from one offset to another?

I've created a disk image which was zeroed, formatted to ext4 file system, and then had several various files copied to it. I'm trying to extract these files using a combination of xxd and dd, but ...
4
votes
2answers
3k views

Mount HTTP Server As File System

I have a machine on which I wish to mount multiple remote servers to access them all centrally. For remote Linux based systems I am using SSHFS which works fine. But for Windows systems, or systems ...
0
votes
1answer
2k views

Log4j File Location

I have a Webapp running on an Amazon EC2 Linux AMI. I've been trying to configure my Log4J file for logging but haven't been able to figure out where the logs are getting created. This is my log4j ...
0
votes
2answers
263 views

Writing a Linux file system for NFS

I want to write my own custom file system in Linux. Can I share it over standard NFS without making any changes to the local NFS server? If so what VFS APIs are required to be implemented by my file ...
1
vote
2answers
635 views

How to make a path world-readable?

To make some item X world-readable, it is not enough for it to have the right permissions: each component of the absolute path leading to it must also have the right permissions. (My understanding, ...
6
votes
1answer
1k views

Is it possible to disable file permissions on a ext3 or ext4 file-system?

Is it possible to disable file permissions on an ext3/4 file-system? Just wondering if it's possible to completely disable or ignore file permissions on a ext3 or ext4 file system. Perhaps a mounting ...