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

learn more… | top users | synonyms

-1
votes
0answers
13 views

how do I remove mtab headers in checkroot.sh? [on hold]

as u probably noticed n00b in linux , please help me . my checkroot file looks like this :- #! /bin/sh ### BEGIN INIT INFO # Provides: checkroot # Required-Start: mountdevsubfs hostname ...
2
votes
3answers
177 views

How can I discover where apt-get has installed applications?

I have installed 2 development tools named maven and ant using this command: sudo apt-get install maven ant How can I discover what are the installation directories for these tools on my system?
1
vote
0answers
33 views

Accessing root files on Ubuntu Phone from my eOS based on Ubuntu. [duplicate]

I'm wondering if its possible to access the root files on my Ubuntu Phone E5 from my computer. I know I can access them from the terminal on the phone but its not ideal using that touchscreen to ...
0
votes
1answer
33 views

Backup of MySQL database manuelly

in the datadir of mysql are the folders named like the database. If I want to install this database on an other server manuelly, could I copy this folder on a e.g. USB stick and put it on the datadir ...
0
votes
0answers
11 views

How can I allow *any* user to write files `/sys/kernel/debug/…`?

How can I allow any user to write files /sys/kernel/debug/...? While creating a debugfs file, I realized that only root on my ubuntu machine can access the debugfs files in /sys/kernel/debug/..., even ...
1
vote
1answer
11 views

What is this file(bamf-2.index)?

I have found out this file while learning about Ubuntu file system today under the location /usr/share/applications/. What actually is the purpose of this file. Googling doesn't pop up anything I ...
0
votes
0answers
26 views

Packaging files into a .deb package

I'd like to package up my program's source code into a .deb package. I've looked into many different packing guides, but all of them suppose that you know where you want your files placed in the ...
0
votes
0answers
23 views

Extra folders in /media?

I have a few folders in /media/ and I am not sure why they are there. Two of them are drives I have explicitly mounted in fstab (ssd-linux-data, linux-data), but I am not sure where the other two are ...
0
votes
0answers
13 views

Can't mount encrypted usb stick

I had a truecrypt encrypted usb stick, which I decided to reencrypt in LUKS through disk-utilities. I encrypted it, tested if I can mount it and put all my files on it. However, after a reboot I can't ...
0
votes
1answer
25 views

What is the best HDD format for Ubuntu? [closed]

What is the best HDD format for Ubuntu?
0
votes
0answers
13 views

VFS: Can't find ext4 filesystem

I'm using a Ubuntu 14.04 server. There are errors in the /var/log/syslog file, like this: Jun 26 11:25:36 compute4 kernel: [64813.543046] FAT-fs (nbd4): bogus number of reserved sectors Jun 26 ...
1
vote
1answer
35 views

Install ubuntu with the command line

I want to install Ubuntu without using Ubiquity. I want to install it through the command line only. Not looking for Ubuntu Server install. Just help on how I can install it through the command line. ...
0
votes
1answer
37 views

File system root low disk space

I installed Ubuntu Gnome 14.04 a month back. It all worked perfect but after two days I repeatedly got the notification - File system root low disk space 0 MB left. I had installed everything ...
0
votes
0answers
16 views

File transfer to virtualBox issue - files have the original URL for a name, all files in the same subfolder

I am trying to get some files onto my virtualBox. I have run into an issue. I tried "dragging and dropping" a folder with many subfolders to my machine, and now all of the files are not organized in ...
1
vote
0answers
32 views

read only file system after upgrade to 15.04 with

The problem is occurring when loading ubuntu with systemd. If I'm manually starting with upstart (from boot menu) then everything works fine. I've checked the disk with badsector and I have no ...
1
vote
3answers
52 views

error removing file no such file or directory

I am not being able to delete certain files with an error no such file or directory. A file on my desktop as well as a file in my movies folder is not being deleted. I am 100% sure the problem isn't ...
2
votes
1answer
238 views

What is upstart and why has it made a 38.1 GB file in ~/.cache

Randomly today I got a "disk is full" dialog, indicating I only had 1gb left on / and this quickly became 100mb of free space. So I ran the disk analyzer and found a massive 38.1 GB in ...
0
votes
0answers
23 views

How to configure systemd to ignore fstab drive mount failures?

When I have first set up Ubuntu 15.04 (which is first to switch to systemd AFAIK) I was puzzled by why does it only boot some times and then become unbootable (failing to the systemd shell instead of ...
0
votes
0answers
11 views

Ext3 Journaling Questions

I was going through Journaling and JBD and wanted to ask you a very basic question for which I was not getting an answer: Why Journal Inode number comes as 8 when we do ./dumpe2fs? So far my ...
2
votes
1answer
45 views

How to view folders with a large amount of files? [duplicate]

I have folder, for example, with 1500000 images. I'm trying to open that folder to scroll through files, look at them and open some that I want to look at in image viewer. But when I open that folder ...
3
votes
2answers
125 views

2015: Is BTRFS stable?

I know, questions like this have been asked before, but I'd like to get some up to date experiences.. From what I've read in various discussions, BTRFS seems like it's relatively stable, but once in a ...
0
votes
1answer
22 views

How are reserved GDT blocks used after online resizing?

I am working on Ext3 and after looking at FS layout - ext3 reserves ~1024 blocks as Reserved Group Descriptor Table (reserved GDT blocks are between Group Descriptor blocks and Bitmap blocks). These ...
5
votes
1answer
92 views

An inaccessible directory with a random name has appeared in my home directory

It's name is KAzdyLisjm and when I try to list it's contents or delete it, those operations never return a result. It does appear to occupy over 300MB of space though, according to ls -lh, from the ...
1
vote
0answers
16 views

How can I repair my LUKS / ext4 file system?

my computer was running the whole night and my only open windows where IntelliJ IDEA and Google Chrome. Today my file system seems completely corrupted. Linux Mint can't read any files and folders ...
2
votes
2answers
54 views

Can't mount ISO file as loop device: Error: “failed to setup loop device”

sudo mkdir -p /media/cdrom cd ~ sudo mount -o loop ubuntu-* / mount: ubuntu-*: failed to setup loop device: No such file or directory
0
votes
2answers
19 views

Where should I put an executable jar?

Executable files (built programs and shell scripts) normally go in /bin or /usr/bin but what about a jar file? It is a 'program' making me think it should go in bin, but on the other hand it requires ...
0
votes
1answer
36 views

Strange data file in /

I have got a strange data file in my / directory for some months. It's named tmpUGy0UNqBDAN8BRg_iwbGcvv6S .w62on1kHPb4UtBeezebArfjiGrbJLSdyO6MX7tz_qUyFLz53UZaMWRN ...
0
votes
1answer
16 views

Ext4 to Ext4 file copy slows down whole system

When I try to copy big file/files >= 10 GB, my whole system slows down. Applications take long time to open. Even I can't type smoothly, video player starts frame drop. But everything goes normal ...
1
vote
2answers
49 views

How to view designated Ubuntu file partition after installing Ubuntu?

I was finally able to get Ubuntu 15.04 to fully install and boot on my laptop. Then found that when I opened the file manager, there was only one of my two partitions (I have one for windows and one ...
0
votes
1answer
58 views

Problem reading exFAT XQD card Ubuntu 12.04

I am having a problem reading files from an exFAT formatted XQD card. The card was formatted by a Sony fs7 camera and contains 4k video files shot using the fs7. The card is a lexar 64gb and the card ...
1
vote
0answers
21 views

add/delete ubuntu specific folder or file right click context using bash

I want to change the right click context menu of ubuntu specific folder using bash script. When bash script executes, it first create a file or folder having only two right click context menu option. ...
1
vote
1answer
51 views

Is it safe to delete /media/cdrom?

My Ubuntu Server media center install doesn't have a CD drive (and never has) but it still has a /media/cdrom directory. I assume it's there to act as a mount point if a CD were inserted into a ...
0
votes
1answer
71 views

BTRFS bad tree block start

First some background on my setup. I have 7 Hard Drives in a raid 5 (I know, move to raid 6, but not the issue here) array. On top of that, I run LVM, with a partition for btrfs. BTRFS is at version ...
0
votes
0answers
31 views

Filesystems not mounting on boot?

I'm getting this fail after rebooting: I tried the instructions here and no dice. I also found a thread about getting rid of Btrfs but I'm not sure if that's a good idea to try. This is all on ...
1
vote
3answers
50 views

do I still have to defrag my NTFS drive

so I know that my primary ext SSD doesn't need to be defragmented, but I have a storage HDD that is formatted as NTFS. Does this drive still need to be defragged? If so, what programs would you ...
0
votes
0answers
13 views

How do I remove syslog after centralizing to a remote server?

How do I remove syslog from a client after I have centralized it to a sever? Here are my syslog configurations of the client server $ModLoad imtcp $InputTCPServerRun 514 @@:192.168.0.101 I want to ...
0
votes
0answers
20 views

How many number this file has been modified before?

I suppose this is not that easy, but for that I'm asking here. So my question is how to record all modifications have done to certain file. In other words I would know how many times a given file is ...
2
votes
3answers
81 views

Disk space issue after apt-get update

I did a system update with sudo apt-get update and rebooted. After the reboot an error came up showing that i'm out of disk space. was barly able to access my desktop. I checked the space util and ...
1
vote
1answer
34 views

recover filesystem from nuked hard drive

OK, I'll admit it, it was a dumb thing to do. I was using dd to copy a disk image onto an SD card for a Raspberry PI, but managed to copy the image onto /dev/sda instead of /dev/sdc. Problem now is, ...
2
votes
1answer
79 views

SD card is recognized but won't mount “can't read superblock”

When attempting to look at the files on my SD card I get the following message. ## Unable to access “16 GB Volume” ## Error mounting /dev/mmcblk0p1 at /media/automat0n/6366-3430: Command-line `mount ...
0
votes
0answers
26 views

Ubuntu 14.04, ext4 remounts read-only 10-30 minutes after hibernate

After waking the laptop from hibernate, it successfully resumes. There are no errors in /var/log/pm-suspend.log and the filesystem is mounted read-write. After 10-30 minutes of regular use including ...
1
vote
0answers
33 views

sh file installation (CMake package)

newbie's question : I need to install latest cmake on my ubuntu. I've downloaded .sh file allowed this to execute as a program and run. seems it was not a fully functional setup but an archive only ...
0
votes
1answer
40 views

How to add directory bookmark when the parent directory is not readable?

In file dialogs and file managers, it's possible to add bookmarks representing directories, used similar to other "places". To add a bookmark for a directory, I have to enter the parent directory and ...
0
votes
0answers
32 views

Error while installing ubuntu 14.04 alongside windows10 using wubi

I am using windows10 in my system. I tried to install Ubuntu 14.04 alongside windows 10 using wubi. It shows the following error. If I click "ok", then it shows the same error again.
0
votes
0answers
18 views

How to prevent Truectypt volumes from appearing on the launcher panel?

I am using Truecrypt for some purposes (yes, I know it is considered compromised but I believe it's enough for my case and I find it very convenient) and I don't want the volumes I mount with it to ...
0
votes
0answers
41 views

Ext4 file system creation failed

Every time I try to install it gives me the error file system creation failed, or failed to mount. I'm trying to install Ubuntu as the sole OS. I was trying to install alongside Windows 7 but clicked ...
0
votes
0answers
45 views

Unable to mount secondary BTRFS filesystem to specific subvolume

So I'm trying to wrap my head around BTRFS and set up my fileserver using BTRFS filesystems. Here is my setup: /dev/sda1 : BTRFS filesystem, contains @, @home subvolumes mounted to / and /home. ...
0
votes
0answers
27 views

How can I make proper use of subvolumes in btrfs?

In the past, I've always used three ext4 partitions to fulfill my needs: /dev/sda2: / /dev/sda3: /home /dev/sda4: /mnt/Data Right now, I'm using Ubuntu 15.04 with the btrfs filesystem. After ...
1
vote
0answers
27 views

Zenity (alike) File Browser with custom filesystem Root

I am creating ubuntu application which need to display file browser from command line, and request file selection from user. I am aware usage of zenity --file-selection --file-filter="MP3 Files | ...
1
vote
0answers
36 views

How can I restore system files that were accidentally deleted in /usr/share and /var/lib/dpkg?

So ya, earlier today I accidentally ran a rm -rf /usr/share and let it run for about 15 seconds. And then in trying to fix the error I went ahead and uninstalled all of my desktops and a bunch of ...