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
1answer
3k views

Will 11.04 use other filesystem than ext4?

I heard something of a filesystem change. Is it gonna happen in 11.04?
6
votes
2answers
8k views

New ext4 partition and used space

I have fresh ext4 partition, which means I just formated it with mkfs.ext4 -m 0.1 /dev/mapper/abak-home, and there's already 27G space used. Setting reserved root space (-m) to 0 didn't have any ...
6
votes
3answers
4k views

Fsck gets mad when the file system is mounted

When I run fsck -fy in a terminal it says something similar to: WARNING!! FILE SYSTEM MOUNTED!! You will cause seviere damages. Why is that? This might be a little off-topic but I ran that ...
6
votes
3answers
213 views

What's the difference between “cd ../” vs. “cd /..”?

What do these two commands mean? cd ../ cd /.. I am ending up in two directories upwards the tree on the first command and in the root directory from the second command. Why does that happen?
6
votes
3answers
8k views

ext4 partition size / free space discrepancies

While creating a 250GiB backup partition for my data, I have noticed lots of discrepancies between reported partition size and free space in Nautilus, gParted, df, tune2fs, etc. At first I thought it ...
6
votes
3answers
3k views

How to speed up rsync/tar of large Maildir?

I have a very large Maildir I am copying to a new machine (over 100BASE-T) with rsync. The progress is slow. VERY SLOW. Like 1 MB/s slow. I think this is because it is a lot of small files that ...
6
votes
2answers
3k views

Best way to list 100 first files in a directory sorted by time

What would be the best way to list 100 first files in a directory sorted by the created timestamp (oldest first). The directory is quite large (around 100000 files). ls piped to head takes an awful ...
6
votes
3answers
8k views

Simple way to consistently access a SMB mount?

Is there any simple GUI way to make an SMB share persistent? I don't quite remember the steps, but on Windows, once you've mapped a share to a drive, you're given the option to 'reconnect on boot' (or ...
6
votes
2answers
208 views

I can continue playing a video after I Shift-Delete it. Is the disk-space freed when I close player?

I've noticed that I can actually Shift-Delete (ie. doesn't go to Trash) a video which is currently playing, and it still keeps on playing, even though there is no named reference to it in nautilus or ...
6
votes
2answers
13k 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 ...
6
votes
2answers
2k 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
3answers
9k 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 ...
6
votes
2answers
12k views

The volume “filesystem root” has only 0 bytes disk space remaining?

I installed 11.10 ~two weeks ago and run into some strange troubles recently. Installation was on brand new laptop with clear 160GB SSD. I opted for encrypting home directory. Apart from that I ...
6
votes
1answer
2k views

How do I use gnome trash for files in different partition?

I have my files in a separate partition that is not mounted to /home, but only linked to it. How do I manage to be able to use the gnome trash in those files? For example: partion 2: mounted on ...
6
votes
2answers
8k views

How can I convert my root partition from BTRFS to EXT4?

Is it possible to convert btrfs to ext4 without losing data? I'm experiencing a very low speed on read/write operations on btrfs.
6
votes
2answers
3k views

How can I optimise ext4 for reliability?

As ext4 was introduced as more reliable than ext3 with block journals, is there any chance to suppose it 100% reliable? What if enabling block journaling on it, which is disabled by default? As ...
6
votes
4answers
2k views

Drive reporting incorrect free space

So I swapped my shiny SATA SSD for an even shinier PCI-E SSD. I run my core OS on the SSD because it's silly-fast. I did this on my old SSD so I created a new EXT4 partition and then just dded the ...
6
votes
1answer
642 views

Is My Filesystem Corrupt or Something?

OK, so for the past 2 days my Ubuntu Install (10.10) has been acting in a very strange manner. Just after the login process is done, and the desktop is loading everything seems to be fine, it is fast ...
6
votes
1answer
320 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
3answers
3k 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
2answers
549 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
393 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
832 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
1k 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
1answer
1k views

How do I make noatime mounts default?

I'm making an Ubuntu derivative, and I want to make noatime the default mount option for all filesystems (instead of relatime which is default in Ubuntu). There seems to be a boolean default_relatime ...
6
votes
3answers
947 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
7k 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
617 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
6k 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
908 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
1answer
40k 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 ...
5
votes
2answers
550 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
3answers
535 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
4answers
11k 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
6answers
20k 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
2answers
14k views

Why can't i paste anything under the /usr/ folder?

I just wanted to install a theme for the start up screen and I have to copy some files over here to /usr/share/kde4/apps/ksplash/Themes/. But the answer i get is: Access denied. Could not write to ...
5
votes
3answers
24k views

How to delete/edit files from readonly filesystem

I am having problem with my memory device (actually a memory card that act external memory device like pendrive). experimentx@workmateX:/var/www/zendtest$ sudo rm ...
5
votes
2answers
2k views

Find out what filesystem a file or directory is part of

I have a lot of filesystems: / on a PCI-E SSD swap on a SATA SSD /media/ned is a RAID5 array /tmp lives on RAM Parts of /home/oli are symlinked and bind-mounted in from ned I also have /media/jeff/ ...
5
votes
2answers
19k views

filesystem types for partitions [closed]

I am going to dual-boot install Ubuntu1 10.04 on my laptop with Windows 7. I was wondering what filesystem types (such as ext2, ext3, ext4, ReiserFS and whatever might come into mind) are ...
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
2answers
4k 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 ...
5
votes
1answer
184 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
2k views

Why does every directory have a size 4096 bytes (4 K)?

As the subject says; I want to know why is every directory having a size equals to 4K even if they contain files with sizes greater than 4K. Please have a look at the following:- a) b) PS: I ...
5
votes
2answers
17k 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 ...
5
votes
1answer
910 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
375 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
2answers
1k 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 ...