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

learn more… | top users | synonyms

0
votes
1answer
53 views

Why are the MBR and GRUB present as files in the Linux filesystem?

A computer's master boot record consists of raw binary and does not reside on any sort of partition. Legacy GRUB and GRUB 2 are installed to the sectors inbetween the end of the MBR and the start of ...
0
votes
0answers
42 views

How to Confirm user group permissions in the current fuse user group

I have created a folder "mtp" in /Media and its /media/mtp. The basic property tells: Type:- Folder(inode/directory) and in Permissions it shows Owner and Group as root. It says you are not the ...
1
vote
2answers
30 views

Number pair prefix to config files

I have noticed some config files having a prefix. E.g. Inside my /etc/php5/cli/conf.d: 05-opcache.ini 10-pdo.ini 20-curl.ini ... Could someone explain this? I am thinking something along the ...
70
votes
1answer
47k views

Differences between /bin, /sbin, /usr/bin, /usr/sbin, /usr/local/bin, /usr/local/sbin [duplicate]

I'm running an Ubuntu Server 13.04, but I see the same on a 12.04: I have six directories with command files. These are: /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin What are the ...
0
votes
2answers
64 views

Is there anyway to undo wipefs?

So I (very stupidly) performed a wipefs on my XFS formatted 4tb Linux (software) raid 5 array in trying to convert over to a bcache setup (I was following some instructions online and should have paid ...
0
votes
1answer
112 views

Cannot delete a folder

I have Segate backup + 1TB external HDD recently since 1 month i am unable to copy the files effectively sometimes the copying is 10 kb/s like that. and sometimes iam getting error like Input/output ...
0
votes
1answer
59 views

chown not working on remote filesystem, other commands (e.g., chmod) do work

I am trying to change the ownership of a file on a remote filesystem, but chown responds with chown: changing ownership of ‘foo’: No such file or directory However, as you can see, foo is there and ...
1
vote
1answer
130 views

File system went read only after adding ssh key

I followed this guide to set up ssh key on my digital ocean droplet, but since I made step 4 my file system went read-only. I changed /etc/ssh/sshd_config from PermitRootLogin yes to PermitRootLogin ...
1
vote
1answer
719 views

print contents of a directory structure (filesystem) to CSV on the command line

How can I catalog the contents of a filesystem to a CSV file? This is particularly useful for removable media. I've found a couple links that point in this direction: AskUbuntu.com: listing files ...
0
votes
1answer
108 views

File creating permission Denied [duplicate]

I have removed Windows 7 and installed Unbuntu 14.04. I have successfully installed LAMP but the problem is that I cannot save a file with a PHP extension in local-server using the Bluefish editor . ...
2
votes
1answer
13k views

Difficulty trying to mount an ISO file “mount: you must specify the filesystem type”

I have an .iso file which I would like to mount. I have made a folder in /mnt/iso as a mount point. Now I try: sudo mount -o loop filename.iso /mnt/iso and the reply is: mount: you must specify ...
0
votes
0answers
45 views

How to disable LVM for sda?

When I installed Ubuntu 14.04, I check use LVM option. I want to disable LVM for sda, but I don't want to wipe this disk. Is it possible?
0
votes
0answers
220 views

Unable to create a directory on a mounted file system (FUSE). mkdir: cannot create directory `dirname': File exists

I was trying out the FUSE file system. I downloaded fuse 2.9.3 and installed it to a directory in my Home directory. I did rest of the work as superuser (as I was denied to manipulate the mounted ...
0
votes
1answer
51 views

Copy a file from one ext4 partition to other

I have two ext4 partition and I want to copy some files from one partition to other in GUI not using terminal, but it does not allow me to do so. It simply a root permission problem. I just want to ...
4
votes
2answers
205 views

Is XFS a distributed file system or a journaling file system?

Is XFS a distributed file system or a journaling file system? In Wikipedia it says that XFS is a journaling file system, but in the Berkely website they mentioned that it is a serverless file ...
0
votes
2answers
1k views

Why have all my files become read-only?

Okay so I was trying to install spotify onto my ubuntu...and I don't know what I did wrong, but I do not have spotify and all of my files have become read-only (everything in the file system has a ...
0
votes
0answers
50 views

gdisk before umount -> file system corrupted

I think I did something stupid, but I don't know how to fix it... Please help: I connected a NTFS format 2TB HDD to my ubuntu, and would like to format it to ext4 I mounted it, and copied the files ...
1
vote
0answers
534 views

An error occurred while mounting /

for no reason I have not been able to boot Ubuntu 14.04 today. Splash screen at first displayed "An error occurred while mounting /". I tried to do filesystem check: ubuntu@ubuntu:~$ sudo fsck.ext4 ...
5
votes
2answers
3k views

Block-level deduplicating filesystem

I'm looking for a deduplicating copy-on-write filesystem solution for general user data such as /home and backups of it. It should use online/inline/synchronous deduplication at the block-level using ...
0
votes
1answer
23 views

New File System drivers for ubuntu [closed]

I have done some kernel development previously, simple ones really. I wanted to know what direction I should be looking in to create a custom files system of my own. Most things I have found with a ...
0
votes
1answer
805 views

Gradle using terminal with Android Studio install on Ubuntu 12.04

Can not get the terminal commands to work with gradle. I trying to get Gradle to work outside of Android Studio as a prelude to scripting up various flavors of my app. I got the flavors to build ...
43
votes
2answers
23k views

Whats the .local folder for in my Home Directory

What is the ~/.local folder good for and is it safe to remove the content within this folder?
0
votes
0answers
40 views

Encrypting filesystems on 14.04

I recently installed Ubuntu 14.04.1 server on an HP ProLiant ML110 which had previously been running 12.04 and which has two additional hard disks containing data in an unencrypted form. I didn't ...
0
votes
2answers
59 views

Media Scanner Script

I am a beginner with Bash scripting. I have recently been working on a script to harden Ubuntu computers for a school project. Everything is going well, except that the students are not allowed to ...
0
votes
0answers
34 views

Mount disk with write permissions but leave it untouched

I have a raw image that I would like to mount to my system (Ubuntu 12). The problem is that I don't want to write anything to the disk itself, so the raw image will stay as it was before mounted. I ...
44
votes
4answers
108k views

How to get a drive formatted with exfat working?

In Ubuntu 13.04 there was an option to use the PPA by Relan in order to get ExFat functionality. Seeing that in Ubuntu this functionality is now available from the repositories without the PPA I tried ...
24
votes
3answers
17k views

Is there a simple way to add exFAT support? [duplicate]

When I insert a USB stick or camera flash card I get the following error: unknown filesystem type 'exfat' Is there a simple way to add exFAT support to Ubuntu without kernel patching?
23
votes
1answer
34k views

Mount unknown filesystem exfat [closed]

When trying to mount an exfat filesystem, I get the following error: Error mounting /dev/sda6 at /media/gkp/Backup: Command-line `mount -t "exfat" -o "uhelper=udisks2,nodev,nosuid" "/dev/sda6" ...
0
votes
1answer
14 views

What file lets me change the directories linked to through the places menu

I'm sure I've edited this before but I've searched around for answers and I can't seem to find what the file was. (ex to change the location of the pictures link under the places menu to somewhere ...
11
votes
4answers
42k views

Force fsck.ext4 on reboot, but really “forceful”

One of my Ubuntu 10.04 servers is giving me trouble. When I run fsck.ext4 -n /dev/sda5 it tells me there are errors in the free inode count, free block count, and more. I have tried: touch ...
1
vote
2answers
32 views

Default to showing and using pathbar in Ubuntu file dialogs?

I have fresh installs of Ubuntu and am trying to get it to default to showing the path bar in file open dialogs. Currently, if I am prompted to save or open a file a file dialog is shown but defaults ...
1
vote
1answer
122 views

How to Create Virtual Block Devices

I want to create multiple virtual block devices like /dev/sda and then use them to create an md device for test purpose. I have mounted my root filesystem on /dev/sda1 and don't have extra space to ...
2
votes
1answer
128 views

Accidentally partitioned media drive as ext3 during install (was ext4), how can I recover?

I recently did a fresh install of ubuntu on a system with an old ubuntu install. I have a separate hard-drive which used to have a single ext4 partition, but during the install I accidentally selected ...
1
vote
1answer
21 views

Minimizing effects of large number of files

I need to manage a filesystem with a large number of files (hundreds of thousands). This filesystem is rsynced periodically. The vast majority of files don't change often, but since there's so many, ...
-1
votes
1answer
159 views

How do I fix a bad /etc/fstab if the hard disk read-only?

I had created a bootable hackintosh usb stick but I found that I had a problem that could be solved by renaming a file or editing another. But the usb stick was read only and, in a moment of ...
2
votes
1answer
78 views

Large discrepancy between df and du

My / partition which holds everything (including /home), was suddenly using 100% of disk space. I removed a few files and now df shows $ df -h /dev/sda1 Filesystem Size Used Avail Use% Mounted ...
0
votes
0answers
62 views

Can't remove or list a file inside Dropbox directory

I tried to delete a directory named .dropbox.cache under Dropbox folder(dropbox was not running or not started yet) with sudo rm -r -f <directory_name> but it results rm: can't remove ...
0
votes
0answers
40 views

Can't install OR liveboot 14.04.1

At the moment, I'm constantly having "can't find a medium with a filesystem" thrown back at me. This is an improvement from the thousands of squashfs errors I used to get (using a differnet USB drive, ...
2
votes
2answers
81 views

Directory using more space than expected

I have a directory on Ubuntu that contains 262144 files. Each file is a 25x25 png image. On average these files are approximately 1.14kb and no file is larger than 2kb. Yet this directory is using ...
0
votes
0answers
39 views

Windows VBox ubuntu vdi Error: unknown filesystem … grub rescue

Win 2003 Server --> Virtual Box --> Ubuntu 14 After running chkdsk/f on Win 2003 one VM (.vdi) stopped working Error: unknown filesystem. Entering rescue mode... grub rescue> _ And there it hangs. ...
3
votes
1answer
145 views

How to get a larger root partition on Touch

I'm trying to make Touch (14.10) work as an Ubuntu server. However the root partition is only 2 GB and is insufficient for the packages I need to install. Is there any way to get more space on the ...
4
votes
3answers
2k views

Very large log files, what should I do?

(This question deals with a similar issue, but it talks about a rotated log file.) Today I got a system message regarding very low /var space. As usual I executed the commands in the line of sudo ...
0
votes
1answer
660 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
1answer
82 views

How can I make update-manager require less free disk space on root partition

My system contains a relatively small root partion (around 16) and the rest on home. Now my upgrade from 14.04 to 14.10 fails because it needs 8 GB of free space on root but I only have 4 GB and I see ...
10
votes
3answers
11k views

Change the default Downloads directory

I originally had a Downloads folder, but decided to create a separate partition for it. So I renamed Downloads to Downloads2. I know, I should have just cut and pasted the content, but this seemed ...
1
vote
1answer
74 views

Monitor folder contents changes

I can monitor the content changes of a file using tail -f command Is there a similar way of monitoring the changes of a directory structure the way tail -f monitors file? I have a long running ...
1
vote
0answers
23 views

I have lags when I'm deleting files from desktop with Xubuntu

I have Xubuntu 14.04 and I am experiencing some lags when I work with desktop icons, especially when I'm deleting them. Haven't notice that with Thunar filemanager and in System Monitor couldn't ...
0
votes
0answers
43 views

setup tmpfs on same partition as /etc

I'm using 12.04 LTS. How do I setup tmpfs (I'm assuming this is the tmp directory, please be patient with me I'm not very advanced with Linux) on the same partition as the /etc directory? Current df ...
0
votes
1answer
44 views

Best underlying file system type and configuration for HDFS

I would like to reformat a local drive partition and turn it into a partition for HDFS. Which file system would be most performant for running HDFS on top of it? Any optimizations I should take care ...
6
votes
4answers
32k views

How to delete/edit files from readonly filesystem

I am having problem with my memory device (actually a memory card that act external memory device like pendrive). experimentx@workmateX:/var/www/zendtest$ sudo rm ...