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
0answers
40 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?
2
votes
3answers
778 views

Why do we have .desktop files?

I wonder why do we have .desktop files, I downloaded a trivial .jpg picture from internet (yes, I'm a newbie, currently learning command line), and saw that when I list the file, I saw .desktop ...
0
votes
0answers
49 views

btrfs kenel error

getting some kernel error while mounting btrfs for remove the missing devices. Oct 19 07:31:57 backup kernel: [ 1883.691633] ------------[ cut here]------------ Oct 19 07:31:57 backup kernel: [ ...
0
votes
1answer
300 views

Unable to format hard drive

I cant format the drive using fdisk and gparted. Gparted takes longer time to search for /dev/sda partition and then it thrown errors. Error creating file system: Command-line `mkfs.ext4 -F -L "" ...
2
votes
1answer
1k views

Sort files in directory by creation date(Birth)

In my Download folder I have a lot of files.I need first a way to arrange them by type second files with same type arrangement become by the type that i added(or can say downloaded or birth (if i am ...
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 ...
4
votes
1answer
991 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 ...
8
votes
3answers
22k views

Read-only SD cards

I've got an IcyBox USB hub/card reader combo in my computer, running Ubuntu 12.10. It's got an issue with SD cards. It always mounts them read-only, regardless of the write-lock switch. This is ...
0
votes
1answer
62 views

how to sync files in linux - command prompt?

I see the following files in my directory - -rw-rw-r-- 1 sjos sjos 401 Oct 12 15:29 Makefile -rw-rw-r-- 1 sjos sjos 401 Oct 12 15:29 Makefile~ -rw-rw-r-- 1 sjos sjos 336 Oct 12 15:12 ...
1
vote
1answer
27 views

Which directories contain system files?

When installing Ubuntu, I don't want to format the partition that is going to be /. Installation wizard prompts me that Directories containing system files (/etc, /lib, /usr, /var...) that already ...
0
votes
0answers
37 views

Where to install activator

I'm installing Typesafe Activator and wondering where best to put the files. According to their documentation, it requires read/write access to the directory it's located in as it creates files for ...
-1
votes
1answer
46 views

How do I install windows back? :( Ubuntu is basically useless for me now, for some reason I can not do anything with it. [duplicate]

I can't do anything on ubuntu anymore because of an error that says "Errors were found while checking the disk drive for /" Everytime I choose to ignore it and still able to boot up, all my files are ...
2
votes
1answer
169 views

Can't write to /dev/sdc, because it is opened read-only

I have a flash memory that I can delete or write anything to it when I try to delete the partition or format it , I got this message Can't write to /dev/sdc, because it is opened read-only. How ...
4
votes
1answer
1k views

Is there a file system best suited for a torrent partition?

Following on from an excellent answer provided by user Gilles, I'd like to ask whether there's a file system particularly well-suited for fairly heavy torrent use. Soon I'll be setting up an Ubuntu ...
60
votes
5answers
22k views

Why have both /mnt and /media?

It seems to me that having both /mnt and /media is a little redundant. Is there any tangible difference between the two that I'm not aware of? Is there a standard that most people follow for where to ...
0
votes
1answer
70 views

How to edit a directory file on linux

Thanks for viewing my question seemed silly enough. Since directory is a kind of file, I am wandering whether it can be edit or not.I tried several editor but failed to do it. So is there any ways to ...
0
votes
1answer
60 views

How to start services only after BTRFS filesystem has been mounted?

I've been trying to make some services only start after a BTRFS system gets mounted, with no success. I have the following in my service start/stop script: # Required-Start: $local_fs $remote_fs ...
13
votes
2answers
3k views

btrfs partition won't mount after upgrading 64bit Ubuntu 11.10 laptop

I have tried many ideas from the net, but none of them work. This looks correct and in good order **sudo btrfs filesystem show /dev/sda2** failed to read /dev/sr0 Label: none uuid: ...
0
votes
1answer
215 views

how to update firefox on ubuntu? [duplicate]

The firefox on my ubuntu requires me to update Flash plugin and follow the link I get to the page which ask me to download the latest Firefox package. I download the tar.gz and unzip it. It is the new ...
0
votes
1answer
95 views

tune2fs mount-count: is it disabled by default (set to -1).

This may be in part duplicate . However my installation is 15.04 64 bit desktop. And no one has answered on that question. It seems to be a basic query albeit very important one . I did sudo tune2fs ...
6
votes
1answer
101 views

Resized VirtualBox VM disk, but when partitioning can't use all new available space

yesterday I've resized a VM Virtual disk from about 15 GB to about 26 GB. If I run fdisk I can check that disk is resized: Disk /dev/sda: 26.2 GB, 26214400000 bytes 255 testine, 63 settori/tracce, ...
19
votes
3answers
13k views

Where is the user's profile picture stored in Gnome 3?

In Ubuntu 11.10, I can set my profile picture through the User Accounts settings panel. I can select an existing picture and it will help me crop that picture to look nice. The final product is not ...
0
votes
1answer
48 views

Setting up storage servers with data replication and failover fallback

Environment: 2 x Web Servers 2 x Storage Servers How can I setup my web servers to have access put data into Storage Server #1, and have a failover so that if Storage Server #1 is down, it should ...
4
votes
2answers
6k views

Why are boost package libs installed to /usr/lib/x86_64-linux-gnu?

After running sudo apt-get install libboost-all-dev on ubuntu 14.04 amd64 desktop (Trusty Tahr), I found that all the libs are installed into /usr/lib/x86_64-linux-gnu/ instead of /usr/lib/ ...
0
votes
1answer
57 views

Cannot mount /dev/dm-2 . And filesystem for dm-2 shows empty

My server has /dev/dm-0 , /dev/dm-1, /dev/dm-2 . The first two could be mounted successfully while the third one fails with the message mount: you must specify the filesystem type . dm-2 was ...
0
votes
1answer
14 views

How can I transfer the users from an old mysql install with having access to ONLY the physical files?

So, I had crashed my server into a non-bootable state. I reinstalled, but not before grabbing the /etc,/usr, and /var directories. I reinstalled mysql on the new install, and was able to copy the old ...
0
votes
1answer
64 views

unable to format usb drive, it showing read-only message

Opened disk Read-Only - You have no permission to write sudo fdisk -b 4096 /dev/sdc1 Note: sector size is 4096 (not 512) Command (m for help): p Disk /dev/sdc1: 16.0 GB, 16008577024 bytes 64 heads, ...
1
vote
1answer
60 views

How do I create a device like /dev/zero, /dev/random to echo a specific value in demand?

I wish to have a customized device to echo a specific value like /dev/zero or /dev/random. But /dev/zero always outputs 0, /dev/random outputs a random number. The specific value may be configured, ...
1
vote
2answers
619 views

How to format USB stick for car audio system?

UPDATE: The pendrive was for my parents. When I got a chance, I got it formatted from a Windows machine at my friend's house. I can't try any suggessions in the comments or answers, because I have ...
4
votes
2answers
836 views

Ubuntu for phones - is there a terminal similar to the one known from PC's?

I am thinking about install Ubuntu on a phone. I spend a lot of time in terminal while working on my PC. There are much things I do using bash scripts, for example. Then, is there a terminal on ...
0
votes
0answers
181 views

How to troubleshoot cause of read-only file system errors

I'm running Xubuntu off of a fairly new Samsung EVO 250GB SSD. Recently my root file system has been going into read-only mode and I need help troubleshooting it. These are all the errors (and many ...
0
votes
2answers
197 views

Does rsync verify file copies on local drives?

I use rsync to do incremental backup of the local ext3 HD in my laptop onto an ext4 HD connected through USB to the laptop. I assume that rsync treats both these HDs as local, so I'm wondering if ...
0
votes
0answers
31 views

Make mounted media use the “noatime” property

How can I configure Ubuntu (15.04) to use the "noatime" property with any media that I mount (whether it be flash-drives, SD-cards, etc.)? I understand that partitions that are mounted on start-up can ...
1
vote
2answers
45k views

Recover from a corrupted filesystem when fsck do not help

Something went wrong with my filesystem, Ubuntu set it to read-only and now under Ubuntu Live Disc, fsck can't fix it. I'm running 13.04 and it won't boot - at startup, it just shows the grub rescue ...
1
vote
1answer
282 views

How to recover deleted files in ubuntu using live usb? [based on filetype]

I had accidentally deleted a few files from an Ubuntu Desktop. Now I need to recover only the perl files which had been sitting in /home/user directory. How can this be done? I am able to boot using ...
17
votes
2answers
53k views

Where does Wine install programs in the filesystem?

I have recently installed MS Office using Wine. Can someone tell me where are the files installed. I mean like in Windows application are installed in program files folder by default, where are they ...
2
votes
3answers
1k views

Creating filesystem from nothing

I need to create filesystem with just one partition from nothing (/dev/zero). I tried this sequence of commands: dd if=/dev/zero of=mountedImage.img bs=512 count=131072 fdisk mountedImage.img n ...
3
votes
2answers
3k views

Where does Thunderbird store archived IMAP emails?

I am using Thunderbird to read my gmail and yahoo emails. Both using IMAP. Then in the Synchronization & Storage option of the account, I tick the check-box with the message: Keep messages for ...
0
votes
1answer
61 views

Have I compromised my security because of unpacking an installation archive?

I'm NOT a technical person. I use only Ubuntu 14.04 lts on my computer, no other OS. Today I downloaded a package called 'Tor browser bundle' (tor-browser-linux64-5.0.2_en-US.tar.xz) from Tor-website ...
2
votes
2answers
223 views

How to rename file names to avoid conflict in Windows or Mac?

How can I batch rename file names so that they do not include characters that clash with other file systems as for instance, Screenshot 2015-09-07-25:10:10 Note that the colons are the issue in ...
0
votes
1answer
22 views

If my /proc/filesystems doesn't contain fat32 it doesn't support it?

nodev sysfs nodev rootfs nodev ramfs nodev bdev nodev proc nodev cgroup nodev cpuset nodev tmpfs nodev devtmpfs nodev debugfs nodev securityfs nodev sockfs nodev pipefs nodev ...
-1
votes
1answer
3k views

Where are downloaded files stored?

Today I installed 12.10 as my second OS. I made all updates and upgrades. Then I downloaded crunch-3.4tgz and fern-wifi-cracker 1.6 all.deb but I could nowhere find these files to be able to install ...
0
votes
0answers
40 views

Why does this folder keep reappearing after I rm -rf?

I'm running Docker on Ubuntu 15.04 and I'm inside a 14.04 container. I have a database called magento. There's no volumes mounted. It has a folder under /var/lib/mysql/magento. I want to rm -rf that ...
0
votes
1answer
35 views

Removing duplicate volume group with missing physical volumes

I was working with some maintenance folks to try and replace a dead hard drive on a station running RHEL5 (old, I know...). Instead of getting some brand new drives, they used some drives from an old ...
13
votes
1answer
10k views

Reasonable size for “filesystem reserved blocks” for non-OS disks?

When creating a file system ( mkfs ...) the file system reserves 5% of the space for its own use because, according to man tune2fs: Reserving some number of filesystem blocks for use by ...
1
vote
1answer
23 views

High load when playing music files audio or video

Why do I keep getting high loads when I play music videos and audio files? Sometimes the computer hangs and everything stops working because of filesystem corruption and I have to repair it before am ...
2
votes
1answer
219 views

ubuntu doesn't boot without flash drive

I just installed Ubuntu 11.04 on my Netbook. I had to use a flash key and during the installation i tried putting Ubuntu on a separate partition, but it kept showing a no root file system is defined ...
1
vote
3answers
12k views

How to wipe/format entire disk using gparted?

With gnome-disk-utility alias palimpsest there is an option to format entire disk with partitioning scheme "none" or something similar. How do I do that in gparted? (? is it the "loop" option ?) Or ...
0
votes
2answers
42 views

list files or dirs starting with 'jre'

I need to list files and dirs with names starting with jre (small and capital letters are allowed). When I execute: ls | grep jre ...it greps just low capital letters and gives output with jre not ...