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

learn more… | top users | synonyms (2)

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
204 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
700 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
211 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
155 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
514 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
484 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
6k 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
290 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
90 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
214 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
514 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
447 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
213 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
173 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
958 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
189 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
214 views

File attributes does not exist in Linux? [closed]

There is no equivalent of Window's file attributes for Linux ?
1
vote
1answer
321 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
152 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
261 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
607 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 ...
4
votes
3answers
22k views

How can I expand ext4 partition size on debian

I have a drive with this configuration: fdisk -l Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size ...
8
votes
4answers
7k views

Should a laptop user switch from ext4 to btrfs?

Related to this. I'd like to take advantage of an OS switch to upgrade to BTRFS. BTRFS claims to offer a lot (data-loss resiliency, self-healing if RAID, checksumming of metadata and data, ...
13
votes
3answers
797 views

Horrible situation - file systems mounted simultaneously by multiple independent OS instances

How do I get out of this situation safely? Details are as follow: A xen server has got block devices allocated to VMs. But these devices have also been mounted inside Xen. In fact 44 of these ...
9
votes
3answers
3k views

How can I delete a folder with lots of subfolders fast?

I have a folder with 266778 subfolders. How can I delete it? I have tried cd ~/.local/share/Trash/ sudo rm -rf * but it takes much time. After 1 minute 25 seconds real time and 0.072 seconds user ...
0
votes
1answer
111 views

Debian VirtualBox Guest - Common Files to Remove for Space Saving?

I have created a VirtualBox guest using debian-6.0.7-amd64. I am using it as a clone template to create Java work nodes, so my needs are pretty much limited to the JVM, networking, SSH and the basics ...
2
votes
2answers
409 views

how can “several file nodes” be associated with a single inode?

I am trying to learn about iNodes and file permissions. I thought that there is one inode that holds the permissions for a single file. The OS pulls a single inode into memory to check permissions for ...
5
votes
3answers
158 views

Control how linux deletes files

What exactly happens when an application deletes a file? Is there any way to control this behavior? Basically I want to shred instead of rm in all cases, but of course applications do not make calls ...
5
votes
1answer
726 views

Preventing access blocking while external HDD spins up? [closed]

I have an old laptop where I installed Debian along with a samba server which I am using to share read-write access to 4 external hard drives, which I use to stream my media from. All works fine, ...
1
vote
0answers
37 views

Reasons for choosing primary over logical partitions [duplicate]

I guess anyone knows the benefits of logical volumes. But are there any reasons why I should choose primary partitions if I can?
5
votes
4answers
1k views

Is Gobolinux active any more?

Today I hear about existence of a revolutionary distro named Gobolinux. I am very interested and excited about it (in particular its file structure). Unfortunately it is not updated for a while. ...
3
votes
1answer
145 views

reasons for a dd image of an almost-empty drive not be small after gzip

i just cleaned a 50GB partition with dd if=/dev/zero of=/dev/sda1 then added some data to it (actually installed a linux distro) some 3Gb on ext4. and decided to make a image. dd if=/dev/sda1 | ...
0
votes
2answers
81 views

Changes to files don't show up until the partition is unmounted

I have a FAT32 filesystem mounted. After changing a file on it, I can read the file back and still see the old version. My changes don't actually persist until I unmount and remount the partition. Is ...
2
votes
0answers
119 views

Why does my Pandaboard boot partition need to be vfat, and the rootfs need to be ext3 or ext4?

While booting Android on a Pandaboard, I am partitioning the SD card into two partitions, boot and root. They contain different filesystems. Why does the boot partition need to be vfat, while the ...
3
votes
1answer
111 views

md5sum change after mount?

I have a ext3 filesystem on a .img file. After mounting and unmounting it, I noticed that the md5sum is changed, even if no file inside was changed! md5sum myfilesystem.img XXXX myfilesystem.img ...
2
votes
2answers
606 views

cannot touch -m a writable file

Can someone explain why I get permission denied when running touch -m on this file even though it is group writable and I can write to the file fine. ~/test1-> id uid=1000(plyons) gid=1000(plyons) ...
3
votes
2answers
16k views

How to extract boot.img?

I am trying to see the content in a boot.img file from an Android image. I googled and got http://javigon.com/category/development-tools/ to extract system.img. But it doesn't work for boot.img. When ...
2
votes
1answer
408 views

Why do inode-based file systems NOT need reboot after updating library versions? [duplicate]

I am trying to understand what an inode is. However, this passage from Wikipedia puzzles me: Installation of new libraries is simple with inode filesystems. A running process can access a library ...
4
votes
3answers
215 views

How to prohibit from changing an owner of modifiable files?

I sometimes need to run a Qt Creator from root. After that, some config files of Qt Creator suddenly have a root as an owner. Therefore when running Qt Creator as user, I am getting nag warnings about ...
2
votes
2answers
788 views

dynamic file system with hooks

Is there anyway in linux (I don't care which distribution or flavor) to have a dynamic file system with read/write hooks? For example I would like to mount a dynamic file system at /dynamic and ...