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
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
602 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
476 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
3answers
889 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
2k 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
753 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
5answers
8k views

How to enter to the directory with 'cd' command if it has 700 permission

I tried to use sudo cd name_of_dir but getting following error message: sudo: cd: command not found. Is there any other way to open a directory which has 700 permission?
5
votes
4answers
917 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
3answers
3k views

The best choice of linux file system and software that can be accesed from Windows

I am curently having ubuntu and win 7 dual boot and I want to delete my windows 7 and format all my partitions to use a linux file system. But I want to leave a door open in case I have any problems ...
5
votes
3answers
21k 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 ...
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
771 views

Where is the journal stored?

I was reading trough the link on journaling-filesystems and i would like to know where exactly is the journal stored in my Harddisk. Some pointers on this image shown below Thanks, Sen
5
votes
5answers
15k 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
3answers
615 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
6answers
22k 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
5k views

Accessing files in a directory without x-permission?

I am having a bit of trouble understanding what the execute permission means for directories. Do I understand it correctly that anything in a directory for which a user does not have x-rights is ...
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
228 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
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
3answers
4k 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 ...
5
votes
1answer
5k 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
979 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
507 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
376 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
2answers
16k 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
3k 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
423 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
667 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
155 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
5k views

List of all shared folders

Is there possible to list all shared folders (with their physical locations) from command line?
5
votes
1answer
3k 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
2k 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
3k 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
648 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
269 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 ...
5
votes
5answers
483 views

What is the best way to keep all your files when moving from Windows to Ubuntu?

I've been planning to change my OS to Ubuntu, but my hard disk contains 750GB of files (in two NTFS partitions: 250GB and 700GB). I know that it is possible to keep the larger partition and install ...
5
votes
1answer
2k 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 ...
5
votes
1answer
2k views

Best FS for SSD as of 10.10 [duplicate]

Possible Duplicate: How do I optimize the OS for SSDs? Given what I think is a common scenario: SSD used as boot disk Conventional HD(s) for bulk storage Ubuntu 10.10 What's the best ...
5
votes
1answer
103 views

What is the significance of permission of `/etc`?

Trying to replicate the problem described in "/etc/profile permission denied!" where OP of the post in her comments mentions the permission string for her /etc directory being drw-r--r--. I issued ...
5
votes
1answer
5k 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 ...
5
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 ...
5
votes
2answers
2k views

Installing Ubuntu 14.04 on a F2FS partition

How can I install Ubuntu 14.04 on a F2FS partition? I created the partition with Gparted but during the installation the Ubuntu installer could not recognize the filesystem on the partition. I heard ...
5
votes
2answers
5k 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 ...