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

learn more… | top users | synonyms

5
votes
4answers
22k views

Damaged SD card (badly unmounted?) How to fix?

First Off I'm using Ubuntu 12.04 on a laptop with a built in card reader. I have a sandisk 8Gig micro sd card that came with my HTC Desire HD phone. Unfortunately I had mounted it to a windows ...
4
votes
2answers
1k views

What software is available to de-fragment Ubuntu filesystems?

I would like to defragment Ubuntu; however, I cannot find software that I can download. What is available?
4
votes
3answers
1k views

How do I remove an application? [duplicate]

Possible Duplicate: How to uninstall software How do I remove an app (Tonido) in Ubuntu?
4
votes
2answers
233 views

Is 1.abc!``!+123 a valid file name?

Is this a valid file name 1.abc!``!+123 in Ubuntu? I issued the command rm 1.abc!``!+123 and got error message -bash: !``!+123: event not find Why? How to I delete the file?
4
votes
2answers
799 views

Which book should I buy to learn file system in Ubuntu? [duplicate]

Possible Duplicate: How to understand the Ubuntu file system layout? I am very new to Ubuntu and Linux and looking to learn Ubuntu/Linux. Which book should I buy to learn file system in ...
4
votes
1answer
189 views

Must apps submitted to the Software Center run from the /opt directory?

I read this question, but I'm more confused yet. In developer.ubuntu.com/showdown I read: "(2) run out of /opt" (I understand "run out" is not in /opt *Am I wrong?*) In ...
4
votes
2answers
13k views

I cannot save php.ini in ubuntu 12.04

I want to change the upload_max_filesize = 2M to 50M, then I started edit on php.ini, but when try to save it, it displays error message below Could not create a backup file while saving ...
4
votes
5answers
2k views

I created a separate /home partition, is this a good idea?

I have a question that I do not know exactly how to address, so I'm deeply sorry if this one has already been posted by other users. I'm an extremely newbie with Linux, but very eager to learn. ...
4
votes
3answers
612 views

How can I find the total size of the contents of my Trash folder?

Is there any way I can find out exactly how much is in my Trash folder? I can see the size column, but if I have a folder in the trash, it shows the number of items in the folder rather than the total ...
4
votes
1answer
233 views

What are these files in my /dev directory?

I know that most devices are presented in the /dev directory, but only now have I actually noticed two very strange, yet familiar names in there... I'm talking about stdin@ and stdout@ down there: ...
4
votes
3answers
9k views

How to mount a yaffs2 filesystem

I have a .img file that uses the yaffs2 filesystem (an Android partition image) that I want to mount. I can't seem to do it with the mount command. How can I do this? I'm using Ubuntu 12.04. Also, I ...
4
votes
5answers
18k views

How to partition my hard drive for Ubuntu use?

Till now I was windows user. From now on I want to use only Linux. I have 500Gb HDD. How do I partition it properly? I read that there is no right or wrong way, but still, I am confused. I did ...
4
votes
2answers
19k views

How do I select a root file system when partitioning?

I want to install Ubuntu on the C: partition where my Windows 7 is, simply to replace the systems. I've also tried to install it on another partition (without formating it), which failed! All I get ...
4
votes
2answers
218 views

Is there an app which graphically logs/displays file-system I/O?

System Monitor gives me a graphical display of Network data flow. Is there something similar for the data flow on the local file-system itself?
4
votes
2answers
259 views

How to change Nautilus to show “file system” instead of “computer”?

Nautilus use to have the label for the file system in it's tree as "File System". Recently that was changed to now show "Computer" in the tree to open the file system. Regardless of why this change ...
4
votes
2answers
12k 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 ...
4
votes
1answer
327 views

Deleting without permission in $HOME

I experienced some weird stuff: berni@zero:~$ touch wiki berni@zero:~$ sudo chown root. wiki berni@zero:~$ sudo chmod 000 wiki berni@zero:~$ ls -l wiki ---------- 1 root root 0 2010-12-11 15:14 ...
4
votes
1answer
185 views

Where are the root folder names coming from?

/bin /dev /etc /lib /lost+found /opt /proc /root /sbin /srv /sys /usr /var Can anyone tell me where they come from?
4
votes
3answers
1k views

Is it possible to find out which files are deleted during a filesystem recovery check?

Some files/inodes are deleted during filesystem check if corrupted in a way after a system crash. fsck only reports "some inodes were deleted". Is it possible to know exactly what files were deleted ...
4
votes
2answers
2k views

Which is better for a home media server: zfs or btrfs or LVM/md? [closed]

I'm looking at building a new home server and would like a flexible filesystem. Both btrfs and zfs are interesting. I want to be able to do soft raid and have flexible solution allowing me to expand ...
4
votes
1answer
722 views

Why are there infinitely many x11 subdirectories in /usr/bin/x11?

Why does the /usr/bin/x11 folder hold another x11 folder and when you open that x11 you get another x11 and then another and another? I did it about 6 times and got frustrated so I have no idea how ...
4
votes
2answers
11k views

Is it safe to delete a lost+found folder?

I have an empty seperate partition used for my vhd/virtualbox. mounted at /mount/win7. I've deleted everything now and there's a lost+found folder left over. It takes up about 5gigs Is it safe to ...
4
votes
1answer
6k views

What is the default permission for /var/www?

After upgrading to 12.04, I had to reinstall the LAMP stack. Then I brought all my www project folders from a pen drive to the /var/www folder (using sudo nautilus, and dragging the files in there). ...
4
votes
1answer
3k views

How do I reduce the size of mlocate database?

I'm out of space on /var 25G 25G 0 100% /var It looks like mlocate.db is the problem: # find . -printf '%s %p\n' | sort -nr | head 13140140032 ./lib/mlocate/mlocate.db.cgLMAM 12409839616 ...
4
votes
3answers
2k views

Find a file with exact name without using wildcard

I have been using Ubuntu for abuot 2 weeks and and still frustrated with simple file operations. I want to find a file called 9.jpg. Every internal command and 3rd party program I have tried, gives ...
4
votes
2answers
2k views

Difference Between Filesize and Size on DIsk

When checking the properties of my Downloads folder I saw that it said Total Size on Files: 5.3GB Size on Disk: 43.0GB o__O I have noticed this in Windows, but I've been too lazy to inquire further ...
4
votes
1answer
2k views

How do I create a file and mount it as a filesystem?

How do I create a file of size 10M, format it with ext3 filesystem and then mount it in /media/fuse? I tried with mkfs -t ext3 file then to mount it mount -t ext3 file /media/fuse It didn't ...
4
votes
2answers
181 views

Automatically recreate partition if corrupt

I'm going to be embedding Ubuntu on an embedded device. I'm using a combination of aufs and a read only root to ensure that my root fs doesn't get corrupt. However, I want to be able to store logs, so ...
4
votes
1answer
453 views

Can Windows filesystem files show different size after being copied on a linux filesystem?

I copied a folder containing other subfolders, with some thousands of text files inside, from a FAT32 usb drive to the desktop of ubuntu. After doing this, I checked the folder properties, to be sure ...
4
votes
2answers
2k views

List of all shared folders

Is there possible to list all shared folders (with their physical locations) from command line?
4
votes
2answers
2k views

What is the easiest way to merge / and /home?

I have a separate / and /home partition. Both have the same filesystem (ext4.) How can I merge them? (What is the easiest way to merge them?)
4
votes
2answers
2k views

What differences do I need to know choosing between ext4 and NTFS (Performance etc)

I understand that ext4 if faster than NTFS. But whats the speed difference if its like < 20MB/s, perhaps its better to use NTFS for convinence? What are the other implications of this apart from ...
4
votes
2answers
372 views

Is it possible to take a snapshot of / (or other) filesystem, like in VirtualBox?

Taking snapshot of root partition will make possible to roll back to previous state. This is very helpful when something went wrong and/or data loss occurs. This feature can be seen in VirtualBox HDD ...
4
votes
1answer
1k views

USB devices and Flash disks mount as root instead of the user

After reinstalling Ubuntu 12.04 I am facing a strange problem. Anytime I plug in a flash key, Kindle etc., I can see it, but can't write. Owner of the device on say /media/usb0 is root. When I try to ...
4
votes
1answer
986 views

How does Ubuntu handle file-system fragmentation? [duplicate]

Possible Duplicate: Why is defragmentation unnecessary? This could be for any file system but EXT4 works. Does Ubuntu need to be defragged like windows. Does it do this on its own.
4
votes
2answers
738 views

How can I get a redundant filesystem which grows easily?

I want to use Ubuntu Server on a computer which I want to use for my backups. I would like to be able to add extra disk space if that would be required in the future. Basically, I like what the Drobo ...
4
votes
3answers
2k views

How to format FAT32 filesystem infected with windows virus and that is write protected

I have a pendrive with FAT32 filesystem. it is infected with virus dont know which but has autorun.inf and create exe file within folder. I tried to format it with various filesystems and even try to ...
4
votes
3answers
598 views

How can I create a new user with the equivalent of a Windows guest-user's permissions?

Basically, I want the new user to have only a few permissions -- can't read the normal users' home directories, can only read or write files to one directory (can only read or write /home/user/... can ...
4
votes
1answer
1k views

How to Mount NFS Root in Maverick

After upgrading to 10.10 Maverick, my NFS root is not mounted correctly during boot. What is the correct method? 10.04 and earlier I had my /etc/fstab setup to use /dev/nfs as my root device, but it ...
4
votes
1answer
926 views

How do I recover a BTRFS partition formatted by mkfs.btrfs?

I've accidentally formatted one of my partitions with btrfs 0.19 filesystem, on 11.04, kernel 2.6.38-8-generic. The command issued was: mkfs.btrfs -L EADS-old /dev/sdd2. After this I didn't write ...
4
votes
1answer
2k views

ext[34] `commit` option and filesystem integrity

I'm running a fairly fresh and vanilla 10.10 install, built from scratch about a month ago on an Acer Aspire 5742 laptop. I use openbox as my window manager and run neither the KDE nor Gnome desktop ...
4
votes
3answers
2k views

recover LVM after hdd crash

Yesterday, one hdd of my LVM crashed (smart-error) The Machine has the following setup: - 4 hdds - 1 Partition Raid10 (System, 4*50GB) - 1 Partition normal (/boot, 200MB, sda) - 1 Partition LVM2 ...
4
votes
1answer
414 views

Problem renaming files in a NTFS partition

I have one partition with Ubuntu and one partition with Windows XP, I have also another NTFS Partition where I share my files. I ve had many times the problem when I use Ubuntu and rename a file ...
4
votes
1answer
3k views

Wammu - USB Device Name?

I'm trying to get to my phone's filesystem through USB in Wammu, but I'm stuck in the configuration wizard when it asks for a USB device name. After about an hour of Internet searching, here are the ...
4
votes
1answer
830 views

How can I mount an Amiga (FFS) formatted hardrive?

I have an old harddrive with some amiga stuff i would like to read. I read on canonicals wiki that Amiga-ffs harddrives should be mountable in Ubuntu - but i had no luck in this. Anyone has any hints? ...
4
votes
3answers
1k views

How do I recover documents from a broken Ubuntu installation?

I installed Ubuntu on a hard drive that had Windows XP installed so I could dual-boot the two operating systems. Everything was fine but now I can't boot into XP or Ubuntu. I had some important ...
4
votes
1answer
2k views

Ubuntu goes into read-only mode randomly

For the last few days, my Ubuntu 12.10 has been going to read-only mode randomly, making me unable to save any edited files, and forcing me to restart my computer, which is a pain because this is the ...
4
votes
0answers
11k views

Ubuntu 11.10 on modern SSD [duplicate]

Possible Duplicate: How do I optimize the OS for SSDs? There is already quite a lot of questions regarding SSD disks with Ubuntu. But the technology moves forward. Are there any new things ...
4
votes
0answers
553 views

Distributed File Synchronization [duplicate]

Possible Duplicate: Make my own Dropbox / Ubuntu One server at home First of all I should define what I mean with "distributed" - I mean to have the same file copy on each associated ...
3
votes
1answer
33k views

How to extract archives to file system in terminal?

I installed jupiter and I use the radiance theme so the icon doesnt look right, so I found this answer on how to change it How can I change the icon for Jupiter?. It mentions needing superuser access ...