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

learn more… | top users | synonyms (2)

2
votes
1answer
488 views

Dropbox on Debian EAGAIN error on NTFS share

I am experiencing some weird problems, when using dropbox on my Debian install: I run Debian with testing repositories enabled I have Dropbox installed from the website My dropbox-location is on a ...
3
votes
1answer
2k views

Using symbolic link on directory with contents

I'm working on a Debian machine with a bunch of different filesystems and I'm trying to manipulate a large amount of data in MySQL. I've run out of room in my home directory, but there's a ton of ...
29
votes
4answers
1k views

Append huge files to each other without copying them

There are 5 huge files ( file1, file2, .. file5) about 10G each and extremely low free space left on the disk and I need to concatenate all this files into one. There is no need to keep original ...
3
votes
2answers
261 views

Determining if a file system object is a procfs/sysfs/etc. “virtual file” which doesn't report its length correctly

Some kinds of pseudo-files, like many in the procfs and sysfs virtual file systems, have no file size (stat returns st_size == 0) and do not support SEEK_END in fseek. These file system objects, such ...
3
votes
1answer
1k views

Contiguous copy – How do I copy files contiguously?

I want to copy a number of files onto a flash drive such that each individual file is contiguous. They do not need to be contiguous with each other, and can be in any order. The files will be very ...
5
votes
2answers
640 views

mount options shown in /proc/mounts

IIRC then the mount options shown in /proc/mounts have changed. Some time ago acl and user_xattr were shown, now it seems that only noacl and nouser_xattr are shown if these features are turned off. ...
3
votes
2answers
577 views

How to mount an OpenBSD hard disk image on Linux?

First, I'll start by explaining how I got my problem, this will help me get across what I need. A few months ago, my laptop hard disk broke. I had no quick replacement, but I needed that laptop the ...
2
votes
1answer
328 views

Creating partition from a start point till the end of the disk using parted

This is my partition table : Model: ATA Hitachi HTS54757 (scsi) Disk /dev/sda: 750GB Sector size (logical/physical): 512B/4096B Partition Table: gpt Disk Flags: Number Start End Size File ...
6
votes
4answers
5k views

When installing linux on USB Drive, which filesystem should I use to format for best performance?

I'm planning on installing Linux on a USB drive, and I was wondering which filesystem I should use to format the drive for best performance (overall responsiveness), and life of the drive?
2
votes
3answers
128 views

determine user-modified files

I plan to reinstall my operating system since I messed up some stuff. Access to files and folders is painfully slow sometimes, even if they contain just a few files. But of course, I don't want to do ...
1
vote
1answer
471 views

Cannot mount eCryptfs

I tried to install eCryptfs on my server to open an eCryptfs I did on my home computer. I got these errors. $ sudo mount -t ecryptfs /home/(place)/enc/ /home/(place)/enc/ Unable to get the ...
18
votes
4answers
14k views

How does the sticky bit work?

SUID The sticky bit applied to executable programs flagging the system to keep an image of the program in memory after the program finished running. But I don't know that what it's stored in ...
1
vote
1answer
3k views

Filesystem suddenly read-only?

I've been storing some files on a MicroSD formatted to ext4 that I connect via USB. I tried to move a directory in it to an external hard drive, and I got mv: error reading ...
4
votes
1answer
272 views

How to backup (make a copy of) LiveCD changes?

Many LiveCD distributions (for example Lubuntu 12.10 I use) allow making changes, for example updating timezone, logging in to Google Chrome, updating and installing additional packages such as ...
2
votes
2answers
898 views

Can linux systems on multiple virtual machines share the same swap partition? [duplicate]

I'm trying to save some disk space between multiple systems and re-using the same swap partition (which seems to be fine). I'm now getting into multiple virtual machines and am thinking of a ...
2
votes
2answers
194 views

Having Virtualbox disk images on /opt

Background After a recent HDD crash I did a clean install of Linux Mint 15 on a new disk. Seeing the potential problems with having backups of my documents and eclipse workspace, I realized that a ...
0
votes
1answer
138 views

What disk is a file / directory stored on? [duplicate]

From the command line (bash) I would like to know what disk a given file is stored in. E.G.: $ [what filesystem is this file in command] /tmp/example/file /dev/sda1
3
votes
1answer
205 views

Having trouble with LVM snapshot

I have a funtoo linux machine which I am trying to add ubuntu to (thats a whole other issue). It is encrypted with luks and has lvm on top of that. I have a 2 TB harddrive (sdb) which I would like ...
4
votes
2answers
303 views

Permissions by path instead of file mode bits

I often find that the unix way of handling file permissions is powerful, particularly when combined with ACLs, but rather difficult to handle. Setting file modes, group ownership and extended ...
2
votes
1answer
182 views

Common, accessible filesystem with very high filename size limit?

I need to extract an archive that contains files whose names are longer than 256 characters. Every common filesystem I have tried (ntfs, ext3, ext4) has a limitation on filename size at 255 or 256 ...
1
vote
1answer
55 views

Read only unified directory

My end goal is that I want a samba share that displays all of the folders across several disks as one unified, read-only folder. This is for a NAS/media server setup. Is there a way to create a ...
3
votes
2answers
791 views

What is the “cost” of deeply nested folders in ext4?

I was running into performance problems with hundredthousands of files in single directories when I needed to do certain wildcard matches. From my applications point of view, a simple solution is to ...
1
vote
2answers
164 views

How can find support large files?

I would like to find all the files of my system, which sizes are more than a couple gigabits. I thought I would use find -size, but the man page states: The size does not count indirect blocks ...
4
votes
2answers
2k views

How to increase the size of rootfs?

So I got this error today and decided to investigate: /etc/init.d/mysql: ERROR: The partition with /var/lib/mysql is too full! ... failed! I'm not sure how... but I've filled up my rootfs ...
2
votes
1answer
530 views

How to keep track of which files are currently growing in directory

I have a local filesystem which is exported rw with nfs (very big xfs partition). Somewhere (I cannot determine who or what remote process) files are being written, created new or updated appending ...
3
votes
2answers
89 views

Test if a file is on NFS?

Is there a simple test to determine if a file is on an NFS mount? (Or maybe more generally, what type of filesystem a file lives on?) I am imagining some ugly prefix matching against fstab...
0
votes
1answer
92 views

What is the common name for directories . (dot) and .. (dot dot)? [closed]

The . (dot) and .. (dot dot) exist in every directory (and probably in every OS). As we all know (or at least should): . (dot) is the current directory .. (dot dot) is the parent directory Is ...
0
votes
1answer
165 views

Unable to delete a directory even as root

I am unable to delete a directory even as root. The command rm -rf kdyiyv.pif returns nothing. Then I tried the command, touch kdyiyv.pif for which there was an error: touch: setting times of ...
-1
votes
2answers
2k views

What is “Ext'd (LBA)” in fdisk output?

This is my partition table. Output of fdisk -l Device Boot Start End Blocks Id System /dev/sda1 * 63 204796619 102398278+ 7 HPFS/NTFS/exFAT /dev/sda2 ...
0
votes
2answers
44 views

Which filesystems can RHEL 5 read from and write to?

Which filesystems can RHEL 5 read from and write to? Are there any that work but not well? I'm partitioning and external hard drive and I haven't been able to find a comprehensive list anywhere.
7
votes
1answer
2k views

ext4: where did my free space go?

I just upgraded my Mageia 2 64bits VM to Mageia 3, and now my virtual disk free space is almost nil, even though less than 100% of the space is used. I am not an ext4 filesystem expert but I have ...
0
votes
1answer
56 views

Taking a sparse snapshot

I would like to take a dm snapshot of a drive. I do not want to take the snapshot of the unused and deallocated blocks. Is there any way of determining the used blocks and sectors of a hard drive ...
1
vote
0answers
966 views

Problem with openSUSE 12.3 dual-boot installation (with Windows 7)

I have a current Windows 7 64 bit installation that I'm using and I wish to create an openSUSE 12.3 partition on my HDD (not my SSD Windows drive). I used the Windows Disk Management tool to shrink my ...
3
votes
2answers
275 views

What happens to UIDs upon mount of file system

I have a very basic question and still failed to find the answer after ~10 google requests and skimming through my unix textbook, so: Consider a system with 2 hard drives, having root file system at ...
0
votes
1answer
52 views

Redundant array of NTFS disks

I have a number of NTFS disks with unused capacity. They are leftover external hard drives with a Windows history. I have a very limited number of USB ports on my machine, and want to find a cheap way ...
7
votes
1answer
1k views

How to configure Linux to cache file metadata in preference to contents?

I’d like to set the system up to use most RAM for file system metadata caching, but only a reasonably small amount for read/write caching and prefetching files. Ideally I would like to be able to ...
2
votes
1answer
457 views

Is it Safe to write to linux Partition from Windows?

I do tasks some of which require Windows while some require Ubuntu and thus I sometime need to access linux from windows, though the reverse is easily possible. So, I searched in google and got an ...
1
vote
2answers
1k views

File system CRC check

I know that before running the kernel, u-boot (the boot loader) will check the kernel image CRC. Only if it is correct it will go further, else it will give a "Bad CRC" error. I want to do same thing ...
3
votes
1answer
60 views

Why aren't CD image files listed when mounted in current directory?

When mounting a disk image in the current directory using : sudo mount -o loop -t iso9660 wall.iso ./ Listing files in current directory only returns wall.iso . To view the actual files on the disk ...
3
votes
1answer
96 views

Where to put scripts only to be called by another script?

I've written a basic command line application composed of multiple bash scripts. One of these is intended to be run by any user of the computer, so I understand the correct location for this would be ...
3
votes
1answer
133 views

Ubuntu filesystem buffers/cache always empty

I have a virtual server with ubuntu 10.04.4 LTS and plesk (preinstalled by hosting company). Now i have seen that the buffers/cache are always empty. Current uptime is 22 days. free and htop shows the ...
5
votes
2answers
1k 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 ...
21
votes
4answers
9k views

What doesn't need defragmentation? Linux or the ext2 ext3 FS?

Why don't you have to defrag a Linux system? Because it's using the ext2/ext3 file system or because it's Linux? That's relevant, because a have a double boot system (W7 / Ubuntu) and a common ...
4
votes
3answers
439 views

Why does mcedit recommend removing hardlinks when saving a file?

Whenever I use mcedit to edit a file that is hard linked somewhere and I want to save the file, the editor asks me if I want to remove the hard links. Is that common behavior on Linux or is mcedit ...
6
votes
1answer
493 views

Finding all the hard-links of a file without traversing the file system

I have seen in this page that inodes have a link counter to know how many files (read: "directory entry") point to this inode. Is there a way to know which directories contain such entries without ...
3
votes
3answers
1k views

How to check if the ISO was written to my USB stick without errors?

I followed these DebianEeePC HowTo InstallUsingStandardInstaller instructions at the Debian Wiki, to write a Debian ISO to my USB. dd if=debian-*-netinst.iso of=/dev/sdX Using sha1sum, I can check ...
2
votes
2answers
147 views

How should I format a USB prior to writing an ISO to it?

I found these Debian EeePC HowToInstallUsingStandardInstaller instructions at the Debian Wiki, stating that I can install an ISO to a USB using this: dd if=debian-*-netinst.iso of=/dev/sdX Do I ...
4
votes
3answers
152 views

What filesystem should be used when transfering files between Linux systems?

I often need to move files between two Linux computers via USB. I use gparted to format the USBs. When I formatted the USB to use FAT32, the USB was unable to copy symlinks, so I had to recreate the ...
1
vote
1answer
102 views

What exactly would happen if this command were run?

A simple curiosity... assuming running as root what would the following command do? # mv / /dev/null Would it be a faster death than rm -rf from the root of the tree?
2
votes
2answers
106 views

Can I use partitions made by Windows 7 in Linux?

I am planning to leave Windows and get to Linux (yet do not know which one, but it is not the question). I was using Windows 7, I have 2 partitions (C:198 GB, D:488 GB). And I have a lot of documents ...