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

learn more… | top users | synonyms

7
votes
1answer
1k views

What is stored in the “/var/lib/dpkg/updates” folder?

I've seen some folks have errors relating to files in /var/lib/dpkg/updates. All I can find about the directory is that the files in it are numbered 0000, 0001 etc. and that the error messages often ...
7
votes
2answers
962 views

Is the copy speed from ext4 to NTFS the same as from NTFS to NTFS?

I've created a file sharing server with Ubuntu server and samba, the drive for sharing is on ext4, but all the users are on windows 7/XP Would the copy speed be faster if the drive would be on NTFS?
7
votes
2answers
1k views

Are pre-existing files in a mountpoint directory safe and uneffected?

I've noticed that pre-existing files in a "mountpoint" directory disappear when the mount command is applied... and then they re-appear when the directory is unmounted. Are these files just on ...
7
votes
4answers
975 views

How can I share files over a Windows network?

I have a media computer which I recently reformatted to Ubuntu 10.04. I am probably just missing something obvious but I can't figure out how to share folders and files, so that I can browse to them ...
7
votes
3answers
9k views

How well is the HFS+ filesystem supported?

How well does Ubuntu support HFS+ (i.e. Mac formatted) filesystems? Can it read and write to them, and are there any potential problems to watch out for?
7
votes
3answers
782 views

Files button on the side opens a new window instead of minimized window? [closed]

If I open my hard drive from the hard drive icon (I have 2 hard drives) and then I minimize it, it minimizes to the files and when I try to restore it it opens a new file manager (this happens weather ...
7
votes
2answers
6k views

How to convert ext2 to ext4?

I installed Ubuntu 12.10, and I don't know why, I have an ext2 partition. How can I convert this ext2 file system to an ext4? Will I lose all my data?
6
votes
3answers
2k views

Why do I get more free space than ext4 after formatting in XFS?

I've bought a 1TB external hard drive and after formatting the entire drive in ext4 Nautilus says there are 934.3 GB of free space. I've also tested formatting the drive in XFS, and in this case ...
6
votes
5answers
3k views

Filesystem filling up due to large uvcydnctrl-udev.log file

Now my installation of Ubuntu costs me more than 100 GB of the hard drive space. And whenever I try fslint and fdupes, they say Permission denied to delete the duplicates. Please help me guys. ...
6
votes
3answers
9k views

Change the default Downloads directory

I originally had a Downloads folder, but decided to create a separate partition for it. So I renamed Downloads to Downloads2. I know, I should have just cut and pasted the content, but this seemed ...
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
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
241 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
9k 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
4k 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
2answers
212 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
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 ...
6
votes
3answers
11k 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
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
2answers
14k 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
9k 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
686 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
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
1answer
374 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
5k 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
571 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
421 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
862 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
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
968 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
8k 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
655 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
7k 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
912 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
749 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 ...
5
votes
2answers
620 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
12k 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
555 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
16k 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
2answers
11k 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 ...
5
votes
6answers
21k 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
26k 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/ ...