Questions dealing with Ubuntu's layout of files, permissions, and files that reside in special locations on disk.

learn more… | top users | synonyms

88
votes
9answers
292k views

How do I view all available HDD's/partitions?

I found a 6 GB IDE HDD in my basement. I want to plug it in and see what might be on it. The drive seems to be recognized in BIOS. I can't find it in Ubuntu to view files, and Ubuntu is the only OS ...
0
votes
0answers
64 views

Cannot fsck or e2fsck to repair disk. dumpe2fs returns “Couldn't find valid filesystem superblock.”

I've been dealing with this hard disk problem all day. External Seagate disk I've foolishly failed to back up still is recognized by PC but cannot be read. When I try to follow the steps here, it ...
0
votes
1answer
50 views

Boot to Btrfs snapshot in Ubuntu

OpenSuse recently implemented an GRUB entry that allows you to boot directly into a previous Btrfs snapshot of your root. Is there any way of bringing it to my Ubuntu installation? Such feature would ...
1
vote
1answer
121 views

Where are the headers with IOCTL numbers for ext4?

I am looking for ext4.h, or another file that contains EXT4_IOC_*. There is nothing in /usr/include or /usr/src. I have linux-headers-generic installed. I am on Kubuntu 14.10. Where are the headers? ...
0
votes
0answers
44 views

Is there a files system that alows you to chnge the partion size without unmounting the disk?

I am looking to have a Ubuntu setup that has a HDD and SSD. My HDD will have four or more (extended partition) that contain the /home and other mount points with the programs that come from the ...
1
vote
1answer
29 views

Probing system file interactions

I need to monitor all interactions with Linux file system (include interactions through interrupts, kernel functions and system calls). To do this, I use SystemTap. I have two questions: According ...
-2
votes
2answers
42 views

What are this files do? [closed]

i'm new to ubuntu while i searched for files i found BitStormLite ec_storm_threshold rrefpropstormin.html StormbaanCoureur weather-storm.svg what are this files do ?
8
votes
3answers
10k views

How to convert ext2 to ext4?

I installed Ubuntu 12.10, and I don't know why, I have an ext2 partition. How can I convert this ext2 file system to an ext4? Will I lose all my data?
0
votes
0answers
18 views

How to rollback btrfs snapshot not at the top of the btrfs tree

(I may be using the wrong terms in this question, but I'm trying to use the terminology in the linked page.) The ubuntu wiki explains how to rollback a snapshot that is located at the top of the ...
0
votes
0answers
18 views

Deduplication of tiff files on os level

We have thousands of TIFF files on our linux fileserver. There are lots of doubles. Windows Server 2012 has a deduplication feature. Is there something simular in Ubuntu? If so which filesystem do ...
2
votes
1answer
42 views

Strange message in syslog regarding ufs filesystem

I found this message in syslog: ufs: You didn't specify the type of your ufs filesystem >>>WARNING<<< Wrong ufstype may corrupt your filesystem, default is ufstype=old What ...
51
votes
5answers
57k views

How do I avoid the “S to Skip” message on boot?

After upgrading my laptop from karmic to lucid, my fat32 partition won't mount automatically. I get the message: The disk drive for /osshare is not ready yet or not present Continue to wait; or Press ...
0
votes
0answers
26 views

input/output errors

Hey what goes on everyone? I've been noticing for the last few months that Ubuntu 14.04 is locking up on me, and if I have any applications open (more importantly terminal) if I run a command I get ...
27
votes
11answers
29k views

How to hide a(n) (NTFS) partition from ubuntu

I need to hide an NTFS partition from listing in the nautilus. How can I achieve that? Is there any tool to do that? And how can I hide files in ubuntu (except . operator)
0
votes
0answers
64 views

Google Chrome “--allow-access-from-files” mode does not work

I need to run a javascript code which accesses the file system (with file:// protocol) from google chrome. I have seen it can be allowed with the so-called --allow-access-from-files option as ...
0
votes
0answers
59 views

sshfs permission denied even for root user

I use sshfs to mount a remote folder from another server to the local server. Mounting the remote folder works without a problem using the following command: sshfs -o allow_other ...
5
votes
0answers
339 views

Disable filesystem read cache

How can I disable the Linux file system read cache for Ubuntu 12.04? I don't want to only free the actual cache. echo 3 > /proc/sys/vm/drop_caches but disable the read cache completely.
0
votes
0answers
22 views

Changing target of Docker changes /media location

This is probably just a misunderstanding of how the file system in ubuntu 14.04 works. If I to an ls /media/guy -l then the output looks like: drwx------ 2 root root 4096 Apr 6 2015 ...
0
votes
2answers
1k views

How can I get rid of “scanning for btrfs filesystems” at start-up?

When I start up my computer, it says: "scanning for btrfs filesystems". I do need the btrfs-tools, but my btrfs filesystems are on a removable disk which is disconnected at start-up. Scanning for ...
0
votes
0answers
12 views

Recover deleted output file?

I have a running process which is constantly writing data to a file. I accidently deleted the file, while the process is still running. I need to recover the file, without losing the new data that is ...
83
votes
10answers
150k views

What is the equivalent to the Windows “Program Files” folder? (Where do things go when I install them?)

What is the Ubuntu equivalent to the Windows C:\Program Files folder? This is where Windows stores the system wide data for applications.
0
votes
0answers
45 views

External disk showing empty files

My ubuntu machine is detecting hardisk , but it shows nothing inside external hard disk . And my external disk is showing all the data in windows machine. What may be the problem. And how may I ...
30
votes
4answers
6k views

Where in the filesystem should I store shared data?

Where in the unix filesystem is the conventional location to save non-user specific data, for example data shared via nfs or ftp, or backups? I could obviously create and use any arbitrary folder ...
0
votes
0answers
35 views

How to get the metadata size in ext4?

i have one SSD drive and use whole partitions for my benchmark program. what i want to know is the size of metadata after some benchmark program. it's quite hard to know the number of data blocks ...
5
votes
1answer
7k views

Why do my WDC WD20EARX-00PASB0 in a RAID don't stop spinning?

My disks have been spinning for months. It started with Ubuntu 11.10, and continues with 12.04. I can't figure out how to stop it. I've looked at various folks suggestions online about ext4 commit ...
0
votes
0answers
18 views

Why is 'PowerPointViewer.exe' always appearing on my home folder?

I have deleted this before, but it appear again and again. I haven't install POL or any windows app with wine. Why is this .exe file in my home folder?
2
votes
0answers
139 views

Ubuntu 15.10 cannot unmount file system on shutdown

My Asus Ux303 laptop cannot shutdown, because it hangs at unmounting the filesystem. It hangs at Unmounting local filesystem... Any ideas what could cause this or how to diagnose it?
12
votes
5answers
18k views

df shows all space taken, but du doesn't add up

I'm having a problem with Ubuntu 12.04 LTS. This is the second time I've encountered this problem in the last 3 weeks. The first time is described in this closed question on StackOverflow. The TL;DR ...
5
votes
1answer
145 views

Where should I put my touchpad configuration file?

I am currently configuring my touchpad and noticed that I can put my Synaptics configuration file (50-synaptics.conf) in two different locations : /usr/share/X11/xorg.conf.d/50-synaptics.conf And ...
0
votes
1answer
45 views

SIM-Card Filesystem in Ubuntu Touch

On my old Nokia Phone it was possible to store Data-Files on to the SIM-Card. Does anybody how to access the SIM-Card's File system within Ubuntu Touch? May I need to mount it first? But I can't ...
-1
votes
1answer
29 views

Where do files for the programs from the software center get saved? [duplicate]

So im looking for the README file for DOSBOX, but have no idea where it is. feedback for Ubuntu makers: it would be great if there was a "Programs" file like in Windows. Thanks
0
votes
1answer
65 views

Documents ,Music, Downloads , Desktop file not showing

Suddenly my Ubuntu 14.04 not showing any Desktop files or folders. Additionally when I click on Documents,Music,Pictures,Downloads,Videos; I see this error message: Output for running sudo gedit ...
0
votes
0answers
32 views

Creating hierarchy from tree output

I sometimes come across interesting skeleton code projects that are presented as the output of the tree command. There is not always an archive or a repository that allows me to easily clone them in ...
31
votes
2answers
78k views

How do I install and mount an exFAT partition? [duplicate]

I have searched around here and with Google, and none of the instructions I have found work with Oneric. How do install exFAT and mount an exFAT partition in the latest release of Kubuntu?
0
votes
2answers
70 views

Corrupt external hard disk

I was just making a backup with grsync when I accidentally unplugged my external hard drive. The result is that it won't mount again. I get this error: I tried running sudo fsck /dev/sdb and the ...
116
votes
3answers
69k views

What is the difference between /etc/init/ and /etc/init.d/?

What is the difference between /etc/init/ and /etc/init.d/? More generally, what meaning does the .d suffix convey to a directory?
1
vote
0answers
278 views

Many files in /var/lib/dpkg/info/ corrupted; how to recover

When I run sudo apt-get (anything), I invariably get this error: dpkg: unrecoverable fatal error, aborting: files list file for package 'thunderbird-gnome-support' is missing final newline E: ...
0
votes
2answers
559 views

Help me choose the best filesystem for my PC [closed]

I'm going to do a fresh install of Ubuntu 15.10 on my notebook so i'd like to know which filesystem is the best for me. It's an Acer Aspire E5-511 with 4GB RAM , Intel HD Graphics and a Intel Celeron ...
2
votes
1answer
77 views

Unable to write to disk but disk isn't full

I can't write to any file, even as root, or do any other operation that requires writing. Neither can any process that needs to write, so they're all failing. df says I've got plenty of room: ...
1
vote
0answers
18 views

Filesystem and gparted disagree on free memory [duplicate]

My filesystem says I have: While gparted says: And if I run disk analyser on root partition only: it mentions I only have 6Gb in total, instead of 15 from gparted. I guess gparted is right, ...
0
votes
1answer
95 views

mkfs.vfat unable create file partition

I am trying to create a file system partition using mkfs.vfat uitility. Below are the command i'm using: mkfs.vfat -F 32 -n program /dev/sdb1 mkfs.vfat -F 32 -n init /dev/sdb2 I'm getting below ...
15
votes
2answers
1k views

Disk slowly filling up but no visible file size changes

df Filesystem 1K-blocks Used Available Use% Mounted on /dev/vda1 30830588 22454332 6787120 77% / none 4 0 4 0% /sys/fs/cgroup udev ...
0
votes
0answers
71 views

Low Disk Space on “Filesystem root”

I am using Ubuntu 14.04 with GNOME, and every time I restart the computer it tells me the volume "Filesystem root" has only x MB disk space remaining. I checked with sudo df -h and sudo find / -size ...
1
vote
0answers
24 views

How is it possible storage hard disk failure cause system disk to fail to read/write?

Update: One of the 3TB Seagate Storage Drives was dying and any time I had it connected to the system, I got the IO/read errors, eventually even when the system was booting. As described below, ...
0
votes
0answers
36 views

Read/Write Mac Disk From Ubuntu USB

I have loaded Ubuntu on an USB key to try to recover all my files on my Mac. I have installed hfsprogs and I am trying to run: ubuntu@ubuntu:~$ sudo mount -t hfsplus -o force,rw /dev/sda2 ...
125
votes
6answers
48k views

How to understand the Ubuntu file system layout?

In Windows there’re perhaps only a couple of important folders (by important I mean important in my logical picture of the Windows file system) in the installation drive (in my case C:\). Namely ...
1
vote
0answers
65 views

Change filesystem blocksize when installing 15.10

so, I'm very much out of my depth in the whole world of *nix here. I'm searching all over about file system block sizes, and I found this script which determines what I can tell are read-speeds with ...
0
votes
3answers
3k views

Why the “Filesystem root” has only XXX disk space remaining?

The title is pretty obvious and common: the error below happens very often. What I am asking is why does it happen. I mean, look at the output of GParted (the first 4 partition are required by ...
1
vote
0answers
39 views

How to tell filesystem type of digital camera

I have a Fuji X-M1 digital camera and I need to find out what filesystem type is, I have attached it via USB to my Ubuntu GNOME 15.04 machine, but upon right-clicking on it in Nautilus I do not get ...
11
votes
2answers
1k views

Where is the $HOME folder located?

I read recently that .desktop files that are used as desktop shortcuts are placed in the $HOME/Desktop directory. Where is this directory? Also, what does the $ part mean / do?