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
0answers
11 views

How to find the first device address of request using blktrace?

I have traces of running an "f2fs" on an usb-drive. I would like to use them as inputs to DiskSim. DiskSim requires the first block number that has been traced. Is there a way I can find that by ...
0
votes
0answers
27 views

The volume “Filesystem root” has only 0 MB

Yes this is a question that on surface has been asked previously. The difference with this question is that all the answers supplied make no results that work to fix this problem. I read, understood ...
1
vote
0answers
19 views

Ubuntu 15.10 doesn't seem to support sparse files

On Ubuntu 15.10 using ext4 when I perform truncate -s 512M test.img du -h test.img the output is 513M test.img however if I run du -h --apparent-size test.img the output is 512M ...
15
votes
3answers
43k views

Gtk-WARNING : Calling Inhibit failed

I was trying to use gedit, when I came across the following problem: myPC@TM77:~$ sudo gedit /etc/pm/config.d/config (gedit:12512): IBUS-WARNING **: The owner of /home/myPC/.config/ibus/bus is not ...
0
votes
0answers
23 views

xfs on raid0(mdadm) proper mounting

Reading manuals on howto tune xfs on raid is totally crazy. In my case I have raid0 of 2 disks with 512K chunk size. Physical disk block size is 4096 The correct su and sw should be su=512k and sw=2? ...
0
votes
0answers
21 views

How do I move a .iso file to root in Ubuntu? Tells me I do not have permissions

To create a bootable sd card I need to move the Ubuntu.iso to root so that Unetbootin will see it. The system tells me I do not have permissions.
20
votes
4answers
44k views

What does /dev/null mean in a shell script?

I've started learning bash scripting by using this guide: http://www.tldp.org/LDP/abs/abs-guide.pdf However I got stuck at the first script: cd /var/log cat /dev/null > messages cat /dev/null ...
19
votes
7answers
20k views

How to determine where biggest files/directories on my system are stored?

I was wondering how do you know where the largest files in my system are stored. For example--- Disk Space Used: 1GB Java: 500MB Java Percentage: 50% maybe represented in a pie chart. Maybe? I know ...
2
votes
3answers
8k views

Why can not change the file /proc/sys/net/ipv4/ip_forward?

$ sudo echo 1 >/proc/sys/net/ipv4/ip_forward bash: /proc/sys/net/ipv4/ip_forward: Permission denied then I try to get write privilege, also failed. $ sudo chmod a+wx ...
60
votes
2answers
33k 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
1answer
59 views

Desktop shortcuts getting corrupted in Ubuntu 14.04 LTS

If I create a desktop shortcut in Ubuntu, for my folder(s) off my local drive, and when I login the next time, the shortcut link will be EXPIRED! If I try clicking that link, I get a message that the ...
358
votes
8answers
336k views

How do I determine the total size of a directory (folder) from the command line?

Is there a simple command to display the total aggregate size (disk usage) of all files in a directory (folder)? I have tried these, and they don't do what I want: ls -l, which only displays the ...
1
vote
2answers
29 views

File system goes read-only when using file explorers

I have a problem with my 15.10 system and it goes as follows: When using Nemo or Nautilus (these are the two I've tried) works fine as long as I explore my home directory only. Visiting 'File ...
2
votes
2answers
69 views

mounting error to access the drives in ubuntu 15.04

While trying to mount the drive it showing me an error like below...and  drive is not being mount ... “ Error mounting /dev/sda3 at /media/ubuntu/B840AE6C40AE30D4: Command-line `mount -t "ntfs" -o ...
15
votes
2answers
11k views

Why can't I copy a 5G file?

I'm trying to backup my VirtualBox, but when I try to copy the .VirtualBox directory to my external hard drive I get an "File too large" error: [130 amanda@luna ~]$ cp -r .VirtualBox ...
4
votes
3answers
450 views

Size of device file ( missing in ls -l output )

When I try to print the device file output shows binary data in hexadecimal format. But upon doing a ls -l /dev/sda I get: brw-rw---- 1 root disk 8, 0 Jan 29 12:29 /dev/sda I don't ...
1
vote
1answer
31 views

Mount a disk at different points

What if I mount the same disk at two locations using different file systems? Will they just be like hardlinks referring to the same location or would it cause any issues? ex: # mount -t ext3 ...
14
votes
4answers
32k views

How do I change UUID of a disk to whatever I want?

I have an unique situation where I need to change UUID of usb flash drive to previous UUID. I formatted it and obviously number changed... I've ubuntu server setup with 1TB hdd, and 4GB usb flash ...
1
vote
1answer
48 views

Switching back to read-only filesystem

I am using the Nexus 4 with UbuntuTouch installed. I switched to a writable filesystem by this command: sudo mount -o remount,rw / and it worked perfectly. How to switch back correctly to ...
1
vote
3answers
113 views

How to make a line of directories with one command?

With the mkdir command if I want this location to exist ~/test/panda/fat when only the ~ part of it exists so far I have to do something like this: mkdir ~/test mkdir ~/test/panda mkdir ...
8
votes
3answers
4k views

What can I move to RAM drive to have the system working faster?

Which files/directories can I move to RAM drive to have the system working faster? I'm planning to upgrade my laptop's memory to 8GB soon, so I'll have some fast memory to use. How to configure the ...
0
votes
1answer
45 views

Recover unreadable directory on ext4 partition

One of my directories in a ext4 filesystem on my SSD became unredable and I need to recover the files. Here is what I did to crash the filesystem: I accidentally created 1.5 million small files in ...
0
votes
0answers
25 views

mount xbox 360 formated disk

I have a game save data on a usb pen drive. Ubuntu doensnt recognize the disk file system though. I used the command fdisk -l, and tried installing netware 386 packages, but the disk still wound ...
131
votes
1answer
88k 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 ...
5
votes
3answers
18k 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 ...
1
vote
1answer
65 views

How to format a FAT32 USB as EXT4

I have a USB device /dev/sda1 and I want to format it as ext4. I have tried sudo mkfs.ext4 /dev/sda1 It gives warning, goes ahead and completes formatting without error. But when I check it using ...
1
vote
1answer
51 views

Accidentally Wiped Root Partition - System Still Running

Alright, this is one of those times when I am are saying... Breathe deep, don't panic. What happened? As a usual part of leisurely tinkering with my system, I was trying write a 24.5 MB img file to ...
1
vote
1answer
76 views

After update chrome won't open desktop is read only

I'm running Ubuntu 15.10 and just did a software update via the software update manager. Now chrome will not open neither will Firefox and if I try to copy anything to my desktop I get an error ...
2
votes
3answers
97 views

Why are there redundant directories for .desktop files?

I know that the .desktop files of installed applications will be found in /usr/share/applications. Today, I came across the directory /usr/share/app-install/desktop. It contains the same .desktop ...
38
votes
3answers
55k views

How do I use OverlayFS?

This answer and email message indicate that something called "OverlayFS" is available in Ubuntu 11.10 and will forcefully replace aufs in Ubuntu 12.04. How do I use it? Where is its documentation?
1
vote
0answers
25 views

Directory converted to a file

I have an external HD formatted to ext4. Somehow a directory is now showing up as a file (i.e. it is missing the 'd' in the attributes). fsck does not show any errors. I don't believe that the ...
0
votes
1answer
32 views

WD Passport external device not recognized

I am getting following error when I connect my external HDD. Error mounting: mount exited with exit code 13: The disk contains an unclean file system (0, 0). The file system wasn't safely closed on ...
0
votes
0answers
66 views

“My Passport” USB Drive corrupted

My Passport drive corrupted. When I type: dmesg | tail I get: [ 667.778316] sd 6:0:0:0: [sdb] CDB: Read(10) 28 00 00 00 00 00 00 00 08 00 [ 667.778321] blk_update_request: I/O error, dev sdb, ...
0
votes
0answers
31 views

SFTP access and editing files outside the home folder

I would like to be able to edit all files on Ubuntu server 14.04 using Filezilla and SFTP. Is there another way to do that except connecting with root user ? If I connect with other user, then I ...
6
votes
3answers
830 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 ...
27
votes
3answers
10k views

How to find the creation time of a file?

I need to find the creation time of a file, when I read some article about this issue, all mentioned that there is no solution like Site1, Site2. When I tried stat command it state Birth: - So how ...
1
vote
1answer
626 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 ...
8
votes
4answers
40k views

Why has my file-system turned read-only after updates?

I'm running 11.10 and I applied some updates. After that whenever I use my computer, I can, but only for about 2 or 3 minutes before it becomes read-only. Any sudo command entered gives me the ...
0
votes
0answers
747 views

blk_update_request: I/O error, dev fd0, sector 0

This happened after a kernel update. Whenever I try to boot, my computer says "Error getting authority: Error initializing authority: Could not connect: No such file or directory (g-io-error-quark, 1) ...
2
votes
0answers
48 views

Mounting VFAT SD card on Ubuntu 14.04 not possible w/ x-gvfs-show option? [duplicate]

[Ubuntu 14.04.3 x86_64] I have a 128MB SD card that I want to use as a read-only tripwire binary and database volume. Using UDisks I reformatted (complete wipe) that card with FAT-16 bit version as ...
0
votes
0answers
66 views

Proper way to mount a hfs+ dive for read and write

So I have this drive from my old Mac Pro which contains a lot of data (about 1.5TB). I switched to a Linux box (running Ubuntu 15.10) and now I need r/w access to it. I got it working using this ...
3
votes
1answer
182 views

How to list compression ratio on compression enabled btrfs?

I enabled compression on a btrfs volume. Now how do I know the compression ratio of files or directories? Or at least the overall stats?
2
votes
3answers
5k views

Where in linux file system can i see files of Hadoop HDFS?

I am a just data analyst hails from non cs background (not a hardcore system programmer) working on linux OS. While exploiting analysis using hadoop, a question was coming to my mind that ... / is a ...
0
votes
0answers
31 views

Partition system id FDISK

if I change a partition system id to FAT16 with fdisk command and make another file system such as ext2 on that partition with mkfs command what is problem? every thing is ok ! so what does (partition ...
23
votes
3answers
6k views

What does `~/ ` mean?

I'm new to Linux and Ubuntu. People keep using ~/filename in their answers to my questions. What does ~/ mean?
41
votes
1answer
22k views

What is the rationale for the `/usr` directory?

What is the rationale for the "unix system resources", or /usr directory, as described here, which duplicates many of the directory names under the root directory /? My purpose: I'm installing Oracle ...
14
votes
5answers
9k views

Is NTFS-3G safe for writing?

These days, I have to use the NTFS-3G driver to write to an NTFS drive (which will later be used in Windows). But I still remember the olde times of Linux ntfs driver which clearly said in the docs: ...
0
votes
1answer
333 views

Mount FAT32: Can't find a valid FAT filesystem

Xubuntu 14.04. nfts-3g is installed. /dev/sdc is the Flash drive. I have created new partition with fdisk (tried with cfdisk too). Tried with W95 FAT32 code and W95 FAT32 (LBA) code. ("b" and "c" in ...
2
votes
1answer
1k views

ramdisk, compressed, writeable, no swap

I need a ramdisk who handle transparent realtime compression on write and decompression on read. Example : I use /dev/shm, or I create a new tmpfs, mount it writeable and compressed. I wrote and ...
9
votes
1answer
735 views

Can I hide files so that they are hidden on both Windows and Linux?

I have my computer set up to use the same home folder / user profile for Linux and Windows. As a consequence I have files like NTUSER.DAT that are hidden on Windows showing up when I ls and in my file ...