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

learn more… | top users | synonyms (2)

0
votes
1answer
7 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 ...
0
votes
1answer
14 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 ...
5
votes
2answers
3k views

How does linux work with symbolic links?

I mean what's going on when some process wants to read a symlink? What's going on when something changes a symlink during a read or even write process? For example: I have 2 huge, similar 100G files ...
0
votes
2answers
28 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 ...
4
votes
1answer
187 views

File size shown by “du -k” is different in different file systems (PRAMFS and FLASH)

I have a file xyz.log which is of size 1.72MB. In FLASH file system: If I run du -k xyz.log output is 1761 xyz.log. I copied the same file to RAM storage and run the du -k xyz.log output is 221 ...
1
vote
2answers
430 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 ...
1
vote
1answer
19 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 ...
3
votes
0answers
131 views

129 MB used space shown in the SD card even after formatting it with mkfs.ext4 [duplicate]

Possible Duplicate: ext4: How to account for the filesystem space? The full 2 GB space doesn't get shown as free space even after fully formatting it with mkfs.ext4. Are these some system ...
2
votes
2answers
35 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 ...
2
votes
2answers
2k views

Best options for mounting Mac OS X hard drive on my Linux box?

I have a new 3 terabyte external USB hard drive (Seagate ST3000DM001 in an enclosure). I hope to use it on both my iMac (OS X 10.6.8) and my Linux machines (Kubuntu). Right now this drive will ...
3
votes
1answer
21 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 ...
3
votes
1answer
3k views

Mounting a multi-partition (GPT/HFS+) USB 2.0 harddrive on Debian

I have a 3TB USB 2.0 hard-drive which has two HFS+ (Mac) partitions using GUID partition table for the partition records. It was partitioned with Mac OS Disk Utility. How can I mount these partitions ...
1
vote
1answer
20 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
0answers
8 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
21 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
1answer
7k views

Preparing USB drive for Kali Linux

I'm new to Kali Linux. I want to install it on my PC which is already running windows 8. I know how to dual boot a PC. I'll be booting Linux from a USB device, but while creating a bootable USB ...
0
votes
0answers
48 views

Unable to write to hdd formatted in anything other ext2,3,4

I am unable to write to my HDD mounted on Ubuntu server 12.04 that are formatted to NTFS or FAT32. However when I format to EXT and Mount as auto its able to write. I tried chmod and chown but the ...
0
votes
0answers
17 views

Proper file system for an External Hard Drive to work well on Linux [duplicate]

I have a External Hard Drive (EHD) I want to use to backup the data on my Linux laptop. I want to know how I should format my EHD for it to work correctly with Linux. Thanks.
0
votes
1answer
66 views

Linux and Windows 8 shared data partition [closed]

I currently have a dual-boot system between Linux Mint and Windows 8. I currently have it set up that both systems have about 500 GB for data storage. I prefer using Linux, but school requires me to ...
2
votes
0answers
36 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 ...
4
votes
1answer
111 views

What is the proper way of sharing the /usr subdirectory?

What parts of the /usr subdirectory are usually shared in common practice without introducing any system instabilities? My intent is to share share-able parts of the /usr subdirectory among VM's of ...
0
votes
0answers
17 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
35 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: ...
5
votes
1answer
613 views

Preventing access blocking while external HDD spins up?

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, ...
3
votes
1answer
442 views

How do I mount a UFS disk in read-write mode?

I have a system drive that has filled up to the last sector, so that it doesn't boot anymore. The file system is UFS (it's an old Freenas 0.7 installation), but since UFS write support doesn't appear ...
1
vote
0answers
18 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 ...
2
votes
1answer
549 views

What determines the maximum file size in ext2 file system

I was reading the Kernel Documentation where it says There are various limits imposed by the on-disk layout of ext2. Other limits are imposed by the current implementation of the kernel code. ...
2
votes
4answers
569 views

Why is writing SLOW on raw device, and FAST on filesystem (USB key)?

I have a USB key (PQI U822V-Speedy 32G) that I am trying to benchmark quick'n'dirty on Linux. I'm testing write bandwith. dd on raw partition I created a partition starting at sector 2048, then did ...
5
votes
2answers
781 views

Querying an overlayfs

I'm looking for a way to query a mounted overlay filesystem (overlayfs) in order to check it's upper and lower directory, but until now I haven't found any suitable command for that. Is there is a way ...
51
votes
3answers
2k views

Why does '/' have an '..' entry?

This just baffles me. Why does the root directory contain a reference to a parent directory? bob@bob:/$ ls -a . build home lib32 mnt .rpmdb sys vmlinuz .. cdrom ...
0
votes
1answer
45 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 ...
2
votes
2answers
5k 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 ...
0
votes
1answer
26 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 ...
6
votes
2answers
822 views

“Converting” a filesystem from ext3 to ext4

I've read on some Q&A on this website that one can "convert" an ext3 filesystem to ext4 without formatting, by issuing tune2fs -O extents,uninit_bg,dir_index /dev/dev-name And then running ...
3
votes
1answer
193 views

External ext4 drive unmounted after some time (Raspbian)

I am using BitTorrent Sync on my Raspberry Pi (Raspbian) which syncs files on the external hard drive (ext4). I wrote a small script that spins down the drive after 5 minutes of inactivity. As soon as ...
1
vote
1answer
315 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 ...
0
votes
1answer
55 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
0answers
22 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 ...
5
votes
1answer
82 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 ...
3
votes
3answers
5k views

How to Expand LVM2 Partition in Fedora Linux

I've been using Fedora 15 on a VMWare virtual machine. Over time, the disk space I initially allocated for the file system began to run out, only 12GB left. I've expanded the disk space an extra 25GB. ...
2
votes
1answer
28 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 ...
2
votes
3answers
77 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
2answers
1k views

Sphinx Search shutting down after `FATAL: accept() failed: Too many open files`

I'm running Sphinx Search Server V2.06 ( the latest stable release ) on an Amazon EC2 with Linux CentOS. In general it is running fine, but the searchd.log is showing this error over and over with ...
1
vote
0answers
14 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 ...
2
votes
1answer
330 views

referring to files inside a jar or zip files in Linux

I am wondering if I can refer to files inside JAR or ZIP files using URLs. I mean, without using a tool (such as the Java Jar utility) but just at the operative system level. For example, if I have a ...
0
votes
2answers
4k 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 ...
0
votes
2answers
35 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 ...
3
votes
1answer
26 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 -- ...
1
vote
2answers
50 views

With “find /”, skip directories like “/proc”, “/sys” and similar

There are some directories that can cause problem with find, and especially find /. These are directories in which the OS creates files which are not really files. Among these directories are /proc ...
2
votes
1answer
162 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 ...