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

learn more… | top users | synonyms

6
votes
2answers
3k views

Why has Ubuntu moved the default mount points?

Why has Ubuntu and many other Linux distributions moved the default mount points from /media to /media/$USER Example I plug in a USB drive and it's name is EXT4-250GB-USB it used to show up in ...
6
votes
2answers
5k views

What is the default character encoding?

I don't myself know how deep this question actually goes (for example, for all I know there could be several, depending on my task). Particularly, I am interested in what kinds of strings are used to ...
6
votes
1answer
568 views

Why do I need the x permission to cd into a directory? [duplicate]

ls -la prints the following: drwxrwxrw- 2 www-data www-data 4096 Aug 12 11:04 files My username does not belong to www-data. When trying to cd into files I get a "permission denied" though the ...
6
votes
1answer
739 views

Where on the filesytem could a user find the Unity scope files?

I am wanting to find the Unity scope folder so that I can study how the scopes are set up and programmed. Where on the filesytem could I find the Unity scope files?
6
votes
1answer
7k views

How to get rid of unused jfsCommit processes?

On a Dell Poweredge T620 with Xeon hexacore processor, i notice that there are 14 extraneous processes for the jfs filesystem. On another server, there are similar processes for the xfs filesystem as ...
6
votes
2answers
4k views

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

I have separate / and /home partitions, of which both use ext4 as their filesystem. How can I merge them, and what is the easiest way?
6
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 ...
6
votes
3answers
1k 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 ...
6
votes
2answers
2k views

Technical differences between ways in which UNIX and Windows “mount” devices

Question from which this arose is here: What does it mean to mount something? Since asking about which is "better" or which "worse" can lead to subjective and argumentative answers, I'd like to know ...
6
votes
2answers
641 views

Tell the kernel to strongly cache a particular directory

This question is a rephrasing of Optimizing EXT4 performance. I have a directory that contains build files, most very small, but totaling 5.6G. I usually access the same subset of files (some ...
6
votes
2answers
520 views

How can I create a filesystem “view” of a folder that excludes certain files?

I want to have a path in the filesystem that shows the entire contents of some other path, excluding a few certain files of my choosing. For example, if the following already exists, original-path ...
6
votes
2answers
3k views

Can I override an SD card's write-protect switch?

The write-protect switch on an SD card doesn't connect to any internal electronics, so it must just be respected by the software controlling the card reader. Is there any way for me to override this ...
6
votes
3answers
927 views

Symlinks and their paths are confusing - how can they be used effectively?

When exploring directories from a symlink (symbolic link) using Nautilus or Gnome Commander, the directory structure is displayed as if the symlink were a regular directory. When I open a document, ...
6
votes
1answer
3k views

What is a safe ulimit ceiling?

This is the output of ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) ...
6
votes
1answer
2k views

System displays “File system maintenance error, press ctrl+d” while booting

In my office I've Ubuntu 8.10 desktop installed and it's running for a long time. When ever the system is started, I'll get a file system maintenance error and something it's prompted for the root ...
6
votes
3answers
1k views

1TB SATA HDrive on Marvell Adapter disappears after 10.10 upgrade - Why?

Thanks for taking the time. I have a problem I've never had after an upgrade. One of my hard drive, a 1TB NTFS drive connected with the marvell SATA connector (88sx or smth like that ) to my Asus ...
6
votes
2answers
9k views

Why does Ubuntu 13.10 not detect my Win7 partition?

I'm trying to install Ubuntu 13.10 alongside Windows 7 on my DELL INSPIRON 14z 5423 laptop and I'm new to all of this. I'm using the Ubuntu 13.10 64-bit ISO burned onto a CD. The first time I tried ...
6
votes
1answer
806 views

File operations freeze when putting files larger than 10MB on an SD card [closed]

I have the newest Ubuntu 13 with all updates. When copying files to my 32GB SD card, the file operations freeze just before it finishes. It does not complete. Files greater than 10MB do this. ...
5
votes
4answers
918 views

Ubuntu won't allow to use “/” symbol

I'm trying to rename directory and I need to use "/" symbol but ubuntu won't allow it. Is where any way to "cheat" ubuntu into allowing me to use it?
5
votes
5answers
17k 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 ...
5
votes
5answers
3k 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. ...
5
votes
2answers
4k views

Why cant I create a directory in /sys

I'm learning Ubuntu and experimenting with things. I noticed I couldnt create a directory within /sys Is this a special directory or something? Are there other types of directories? (I did a sudo ...
5
votes
3answers
662 views

Is possible to make symlinks that 'follow' the file?

Behavior: me@local: tree . |-- ba | `-- file.txt |-- foo | `-- file.txt -> ba/file.txt `-- foobar now, let's say i move the file.txt from ba to foobar: me@local: mv ba/file.txt ...
5
votes
2answers
431 views

Cannot mount second drive at “/”

I have a second drive that I want to be mounted at the root. The drive contains the following folders: /home /shared I want those two folders to be accessible at "/". I can mount the drive at ...
5
votes
3answers
662 views

How to check which filesystem current kernel supports?

I would like to know if it's possible to check which filesystems my kernel supports. (like btrfs, raiserfs, exfat, ...). Man mount shows many options, but it's not really possible to use all
5
votes
6answers
24k 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 ...
5
votes
3answers
2k views

Which union filesystem is best supported?

I'm interested in knowing the answer to this unanswered question from the Ubuntu Forums: I am trying to get one folder to display the content of two other folders. ... I am a bit troubled by ...
5
votes
1answer
3k views

What is the best way to partition, and what is the best file-system for a new Hard Disk? [duplicate]

Possible Duplicate: What's your recommendation on drive partitioning schemes for a desktop and home server? Is Btrfs in Maverick considered stable? Bonus: What is the "best" filesystem ...
5
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). ...
5
votes
1answer
247 views

How to combine similarly structured directories?

I have two directories that look like this: /folder1/sub1/file1.txt /folder1/sub1/file2.txt /folder1/sub2/file1.txt /folder1/sub2/file2.txt /folder2/sub1/file3.txt /folder2/sub1/file4.txt ...
5
votes
2answers
18k views

How do I auto mount my partition?

I've a partition on /dev/sda2 of 279 GB Ext4 filesystem, but I'm not able to auto mount it on login. I've added the partition entry /dev/sda /home ext4 defaults 0 0 in /etc/fstabt still it ...
5
votes
1answer
5k views

Default file system on ubuntu 12.10

Why does ubuntu 12.10 default to ext2 file system? Is ext4 not stable enough?
5
votes
1answer
6k 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 /var -printf '%s %p\n' | sort -nr | head 13140140032 ./lib/mlocate/mlocate.db.cgLMAM ...
5
votes
1answer
1k views

What triggers file system check?

What are the conditions that trigger file system check at system startup in Ubuntu 11.10?
5
votes
5answers
613 views

Search files by name instantly

Under Windows there is a smart software "Everything" listening to changes in NTFS that allows it to search files by names instantly - for a second or less. Is there such ability for Ubuntu?
5
votes
1answer
388 views

My home directory just goes away. Why?

I'm running an older Dell GX280, with a new 500GB drive and 2GB RAM. Fresh install with my ~ directory copied from an older HD I got the 500GB to replace. I think I'm running ext4 on both my / and ...
5
votes
1answer
4k views

Delete corrupted folder

I am trying to delete a folder in my home directory; its name is completely garbled. In Nautilus, the garbled text is followed by 'Invalid Directory.' Deleting it with Nautilus stalls; I can't type ...
5
votes
1answer
441 views

How can I make nautilus use my installed FUSE file systems automatically?

Is there a way to have Nautilus automatically use my FUSE file systems to (for example) open ISOs as folders, or archives as folders, or what ever other 'locations' FUSE supports?
5
votes
2answers
714 views

What is the default behaviour of atime?

I have an Ubuntu 11.04 installation. The /home directory is on a partition which uses the ext4 filesystem. I haven't changed the default configuration so the filesystem is mounted at boot time with ...
5
votes
2answers
166 views

How can I know which folders are created by which program?

I have /usr/share/gtksourceview-2.0/ and I think it maybe due to Mousepad or Geany or Medit text editors. But how can I know for sure without uninstalling them and reinstalling one-by-one? (I don't ...
5
votes
2answers
29k views

Mount USB drive with write permissions for everyone or specific user

I know there are similar questions but I get some specific problem I can't overcome. I have: HDD split into two partitions. /dev/sdb1 and /dev/sdb2. sdb1 is NTFS and I don't need it. I need sdb2 ...
5
votes
3answers
7k views

List of all shared folders

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

How to navigate to connected iPhone? Filesystem path to `afc://`?

When I connect my iPhone to Ubuntu 11.10, it gets automounted as afc://ca60751cc4b1ebb427c2f9da324914b0643a21f8/ and I can see that there are photos stored in ...
5
votes
1answer
4k 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 ...
5
votes
2answers
3k views

What's wrong with my ext4 partition?

What is wrong with this picture? Top is output from "df -h", bottom is gparted. I suspect I'm missing a lot of free space. No problems other than that (yet). Can somebody suggest the best ...
5
votes
2answers
3k views

Can I configure low disk space warning to a lesser threshold?

Ubuntu warns me about low disk space even when there are about 2 GiBs free. For me "low disk space" is 50 MiB or less as I use to use my disks at 100% capacity. The warning could be useful for me if ...
5
votes
1answer
4k 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 ...
5
votes
1answer
687 views

Can I undo file operations?

When do you think to add the "undo file operations" like Windows does? If (for a mistake) I move a file I want to CRTL+Z to undo the operation.
5
votes
1answer
276 views

File rollback in U1

We have an XLS file that has been corrupted (we use LibreOffice and it appears that some sort of corruption has taken place). The corrupted file then synced to U1. Is it possible to rollback or ...
5
votes
3answers
3k views

Guide to installing a fully encrypted file system? [duplicate]

Possible Duplicate: How to create an encrypted partition? I have a little Netbook on which I want to install Ubuntu 10.10 (32-Bit) on. However, since it is a portable PC I want to ...