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

learn more… | top users | synonyms

1
vote
1answer
38 views

What are the best default locations for specific file types?

For an application I created, I am trying to find the best folder locations. I installed the application, as suggested by documentation, in /usr/share/company_name/product_name, save a config.ini file ...
0
votes
0answers
9 views

/etc/../run and /run have different i-node. How can I safely resolve this issue?

My system shows different inode for /etc/../run and /run. $ ls -iald /etc/../run 393217 drwxr-xr-x 2 root root 4096 sep 6 19:18 /etc/../run $ ls -iald /run 9221 drwxr-xr-x 31 root root 1060 sep 25 ...
2
votes
1answer
148 views

Most stable filesystem to create a usb startup disk?

I don't care about compatability or speed; I just want stability, that it is quick to respond, won't wrestle with me when I need to unmount it, etc. Ext4, btrfs, xfs, or what?
1
vote
0answers
26 views

What is the equivalent of the following directories in relation to windows for ubuntu? [duplicate]

I'm still learning the linux file system and understanding where everything is installed. I'm coming from windows mindset and would like to wrap my head around the following directory equivalents: ...
12
votes
2answers
2k views

Display folder sizes in file manager

In nautilus (or nemo) file manager, the "Size" column shows the filesize for files and the number of items contained in a folder for subdirectories: Number of items is not that important for me, it ...
3
votes
2answers
325 views

Accidentally deleted /opt, how do I create it again?

I am new to Ubuntu, today I was learning how to delete files and folders but accidentally I deleted the /opt directory that located in Computer. I don’t know if what I deleted is important or not. So ...
0
votes
1answer
32 views

remove files on NTFS with \n in the filename

I was moving files using Windows (had to at that time) from one NTFS partition to another but the computer switched off. Some files have been transferred, but some remain. I'm not able to delete them ...
1
vote
2answers
438 views

Loop through all folders and executing script

I have a bash script install.sh in my current directory and I have a directory apps which contains multiple directories. I want to loop through these sub directories in app folder and execute some ...
0
votes
1answer
271 views

How do you restore an encrypted hard drive? Password being available

Installed by Ubuntu 14.04 LTS Installer: I have installed Ubuntu 14.04 LTS Desktop onto my notebook PC, and I made a wrong decision to alter the file ownership and permissions from the root drive as ...
0
votes
0answers
231 views

“No root file system defined” error while installing ubuntu

I am not a computer techie. I installed Ubuntu side-by-side with Windows 8.1 on a Lenovo laptop but I keep getting stuck at an error 'No root file system is defined, please correct this from the ...
0
votes
0answers
152 views

Error: Unable to access jarfile spl.jar for stanford portable library

I'm trying to install the Stanford library for Harvard's CS50 but I'm running into a few problems... I've got the .h files in usr/local/include/spl and I've got the libcs.a in usr/local/lib but I'm ...
27
votes
4answers
26k views

Why are hard links not allowed for directories?

I am using Ubuntu 12.04 and I am pretty new Linux world. I am really amazed when I try to create hard link for any directory and fail. I can create hard links for files inside file system boundary. I ...
0
votes
1answer
142 views

Corrupted filesystem - unable to mount /home

Ubuntu 12.04 is not able to mount /home partition and I run: fsck /dev/sda5 which is in state Pass 1D: Reconciling multiply-claimed blocks (There are 41608 inodes containing multiply-claimed ...
1
vote
1answer
274 views

/var/log taking up 8.9 GB! What should I do? [duplicate]

I am running Ubuntu 14.04 on my ASUS N550JV laptop. Just today I got a pop-up notification telling me that there were less than 100 MB in my root partition. I checked it and find /var/log is taking up ...
1
vote
1answer
46 views

How can I get rid of /etc/../run?

For some reason (most probably happened during an upgrade more than one year ago), my system has a directory called /etc/../run (strange, right?). It is empty but I cannot remove it: $ ls ...
1
vote
2answers
458 views

Upgrade went horribly wrong: libc.so.6: version 'GLIBC_2.17' not found

File system is mounted readonly, so I boot into recovery mode to run fsck, and I get the following message: mountall: /lib/i386-linux-gnu/libc.so.6: version 'GLIBC_2.17' not found (required by ...
1
vote
1answer
52 views

When deleting a lot of files everything is very slow

I don't know this is a bug or just a limitation of hard disk -- when trying to delete a lot of files (e.g. empty trash directory when it contains lot of files), everything becomes very slow! From ...
10
votes
5answers
10k 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 ...
3
votes
4answers
4k views

Is it possible to check when a folder or a file is created?

I am looking for a way to check when a specific folder and also a specific file were created. Is it possible? My system uses the ext3 file system. Thanks a lot!
0
votes
2answers
126 views

Annoying file system check, when starting the computer with WOL

Sometimes I need to get some files from my desktop computer, so I send a wake on LAN package (using my laptop) to the computer and it turns on. But every 30 times I have to wait ~30 minutes for the ...
3
votes
1answer
38 views

What are the layers between Nautilus and a removable storage device?

My question is somewhat large, but I couldn't figure out how to break it down without ruining it. There doesn't seem to be a very good (functioning) way of mounting a Nexus 4 in Ubuntu, so I was ...
0
votes
2answers
737 views

how can i mount partitons in recovery mode

I am unable to login to my account and I want to back up my data from Documents folder so I need to know how to mount other partitions from recovery mode. How can I do this? mv ...
0
votes
0answers
111 views

File errors on Ubuntu 12.04 OS

I am getting FPDMA READ failed errors during Ubuntu bootup. Has the hard drive gone bad? dmesg output: [ 4.912493] ata1.00: exception Emask 0x0 SAct 0x10600624 SErr 0x0 action 0x0 [ 4.912509] ...
0
votes
1answer
16 views

Retrieve data from a FreeSpace volume [previously ext4 volume]

Morning, Afternoon, Evening, any thing you wish. I'm using an HP-ProBook 4540S 750 Gb HDD 4 Gb of memory Intel Core i3-3110M CPU 2.40GHz x 4 I'm a software developper,so I use to install 2 Ubuntu ...
1
vote
1answer
357 views

Deduplication using SDFS file system

I am trying deduplication with sdfs.(ubuntu 13.10 on Vm). (http://opendedup.org/quickstart) followed the same steps as this mounted the file system on /media/pool0/ When copied a directory ...
1
vote
1answer
15 views

file missing, help with recovery

I have Ubuntu 12.04 LTS with Windows 7 as dual boot. While on Ubuntu, I was using files and folders from the windows partition. I made a folder in the windows partiton, copied in it a ".docx" document ...
1
vote
1answer
22 views

What are the system created files in $HOME?

I'm writing a home backup routine and want to omit certain files and directories from everyone's home folder. I'm planning to omit all of these, but here's the question. What are they used for? ...
1
vote
2answers
7k views

How do I access files on my Windows partition from Ubuntu?

I'm new to how Ubuntu works and installed it yesterday alongside Windows 7, but in doing so I have created a few problems. I have partitions for Windows, Ubuntu, System Recovery, and storage for all ...
2
votes
2answers
109 views

How do I combine hundreds of folders using command line

I have 535 folders (recup_dir.1, recup_dir.2, ..., recup_dir.535) and I want to merge (combine?) the contents of those folders into a single folder (lets say a folder named recup_dir). Some files ...
0
votes
1answer
45 views

Why can't all the mount point in root directory changed to /mnt/temporary & /mnt/removable? [closed]

It seem a obsoleted in the root directory with all the mount point. For example: /cdrom /media /mnt So, why can't it change to something like this: New Hierarchy: /mnt/temporary #Can short it to ...
0
votes
1answer
48 views

sharing drives, folders, and files between kububntu and windows running in virtualbox

am running kubuntu as my host and running windows 7 inside virtualbox. so far everthing is running fine, but as yet cant get it to let me share external drives, any folders or files on any of the ...
0
votes
0answers
263 views

Boot-tasks are being executed twice after upgrade to 14.04

after a distribution upgrade from 12.04 LTS to 14.04 LTS I noted that the boot-process took longer than it should. I took a look at boot.log and saw that some boot-tasks have been executed twice. ...
2
votes
1answer
40 views

What is the role of /proc/fs/jbd2/sda6-8/info in Ubuntu?

I am using the Ubuntu 14.04. Today I was going through the file system and I found that in the file at /proc/fs/jbd2/sda6-8/info following thing mentioned. 9286 transactions (8421 requested), ...
-1
votes
2answers
34 views

Listing an empty folder shows two items . and .. , what are they?

When I make a folder test and cd into it, it's empty. However, running ls -la returns: total 8> drwxrwxr-x 2 algosig algosig 4096 august 15 23:09. drwxr-xr-x 41 algosig algosig 4096 august 15 ...
0
votes
0answers
55 views

How to recover accidently formatted partitioned hard disk while i was checking centos dvd

My story is a bit different, i was just check a custom allot centos dvd to verify that it was burnt correctly on a dvd, so i booted from the dvd, and it gave me some options to continue into the gui ...
45
votes
8answers
29k views

How to find (and delete) duplicate files

I have a largish music collection and there are some duplicates in there. Is there any way to find duplicate files. At a minimum by doing a hash and seeing if two files have the same hash. Bonus ...
0
votes
2answers
47 views

file system associated with /var?

while reading about linux,I got the following: The /var directory may be put in its own filesystem so that growth of the files can be accommodated and the file sizes do not fatally affect the system. ...
2
votes
0answers
221 views

orphaned inodes on root file system (ext4); persistent problem

On my trusty systems (VMs under vmWare, desktops, and laptops), we have the following issue. The root file system seems to have inodes that are never marked as "free". After a month of a working ...
-1
votes
1answer
235 views

How to format a HDD in ubuntu 14.04

So i recently switched to Ubuntu from Opensuse, and i'm loving it. There's one problem though. I've found that the control centre is minimalistic (to say the least) and, coming from a guy with Yast2, ...
1
vote
2answers
52 views

Difference between /usr and /home from installation perspective

I am not a pro in Linux and I was thinking that where does the files get stored when I do apt-get install. I understand that different linux distributions do things differently, but I am taking a ...
1
vote
1answer
42 views

Two Volumes? Want to Merge!

I apologize ahead of time for how confusing this may be. I am very new to things such as partitions, disks, and hard drives. When I installed Ubuntu there were two options, install on a 24 GB HD and ...
8
votes
1answer
9k views

How to merge folders and subfolders?

I have two folders (ORIGINAL A and ORIGINAL B), and both do have subfolders. How do I merge these two folders (and subfolders) to DESTINATION C? a) ORIGINAL A and ORIGINAL B do have the same ...
0
votes
0answers
35 views

Grub “unknown filesystem” Boot-Repair didn't find a solution

after booting my PC yesterday I encountered a Boot-Error and only the grub rescue prompt. error: unknown filesystem. After searching the Internet I booted into the Boot-Repair and tried the standard ...
1
vote
1answer
138 views

Macintosh HD will only mount ro, because it is journaled

A little history first, I've installed 14.04 on another partition of a MacBook 5.1 because of a completely botched Mavericks upgrade which has left OS X unusable. I had to use rEFInd to get it to ...
1
vote
1answer
218 views

what does device node 'none' means in file system?

when I tried $ mount command on my system (14.04 LTS), I found some of the results like... none on /sys/fs/cgroup type tmpfs (rw) none on /sys/fs/fuse/connections type fusectl (rw) none on ...
0
votes
1answer
109 views

what are the specifications a mount command provide?

while reading about linux I got the following.. Typing mount without any arguments will show all presently mounted filesystems. when I tried this on my system , I got.. anupam@JAZZ:~$ mount ...
0
votes
0answers
41 views

Computer randomly wen't into read only filesystem

I was just typing in AbiWord and opened up the filesystem and realized everything had the 'lock' image over it. So I opened the terminal to run an update to see if everything was alright and just as I ...
0
votes
2answers
6k views

Is It Possible To Recover A Partial LVM Logical Volume?

Background It is an Ubuntu 12.04 VirtualBox VM with 5 virtual HDDs (VDI), NOTE this is just a test VM, so not well planned ahead: ubuntu.vdi for / (/dev/mapper/ubuntu-root AKA /dev/ubuntu/root) and ...
0
votes
0answers
40 views

Understanding result of sudo fdisk -l

Please help me decipher the following terminal response: sudo fdisk -l Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = ...
0
votes
0answers
57 views

Unable to mount gfs2 in 14.04

I've installed gfs2-utils 3.1.6-0ubuntu1. The package has a broken symbolic link, /usr/sbin/gfs2_mount, which points to a non-existing /sbin/mount.gfs2. Therefore mounting fails with 'unknown ...