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

learn more… | top users | synonyms

8
votes
1answer
4k views

How to mount a remote (over SSH) directory to be available like a local directory (incl. in shell, not just in Gnome)? [duplicate]

I've got my files (mostly text/code, nothing of heavy like videos etc.) in a directory on a remote server which I can only access by means of SSH. Can I mount it on my laptop to use it seamlessly from ...
8
votes
3answers
17k 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 ...
8
votes
2answers
3k 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/ ...
8
votes
1answer
3k 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 ...
8
votes
2answers
1k views

Are “file Notes” exclusive to Nautilus; is there a Terminal CLI?

Until today, I've avoided using the file Notes feature in Nautilus (Properties), because of portability problems. ...but they are just so tantalizingly handy! ...Adding notes to a like-named text file ...
8
votes
4answers
1k 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 ...
8
votes
2answers
822 views

How can I find out which user deleted a directory?

My Ubuntu server has about roughly 30 active users on it. I personally know everyone using the server. Recently, a few friends and I were working on project. We made a new directory for the project ...
8
votes
2answers
2k views

How to monitor what files are opened

Is there a tool to monitor what processes open what files on the system so you can track down which process keeps touching a specific file? Lsof can find out if you run it while the process has the ...
8
votes
3answers
133 views

How to run a script when a directory is changed by another user?

I know has been a bit of discussion about topics similar to this. But here is what I am basically trying to do. I have a watch directory called watched and whenever a file is added to that directory, ...
8
votes
4answers
14k views

Very slow boot due to mounting filesytem

I just installed Ubuntu 11.04 over an older version of Ubuntu, and am dual-booting with Windows 7. Most things seem to be working well (i.e. wifi, sound, etc.) but boot time is problematically long. ...
7
votes
3answers
361 views

How do I batch rename files?

I have a few hundred files named hortstu01-01-14 then hortstu01-02-14... Do you get the idea? Well half of the files are named hortstu_01-03-14 then hortstu_01-04-14. This messes up sorting the ...
7
votes
1answer
65k 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 ...
7
votes
2answers
9k views

Can I change personal folder locations?

I did this in Windows 7. My Documents, Videos, Music and other personal folders are in D:\ because it is my media disk. In case of a system failure, I will always have access to these files when I ...
7
votes
1answer
194 views

Where do deleted files go in Ubuntu?

I have a very simple question. Where do files go when you delete them? I know when I send files to "Trash", they go to "trash", but when I delete them, I do not know where they go.
7
votes
2answers
22k 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 ...
7
votes
7answers
5k views

Which Large File System Format to use for USB Flash drive compatible with Ubuntu/Mac/Windows?

I've had this problem for a long time and can't find a solution. I switch between the 3 OSes all the time and use a 1TB USB Drive to do so. I can't seem to find a format that is compatible across ...
7
votes
2answers
821 views

Can't get rid of fake floppy drive

In my system it says I have "floppy0" mounted and I can't get rid of it. It isn't a real drive of any sort, since my computer doesn't even have a disk drive, when I click on it it says "unable to ...
7
votes
4answers
7k views

How does ecryptfs impact harddisk performance?

I have my home directy encrypted with ecryptfs. Does ecryptfs lead to fragmentation? I have the feeling that reading files, displaying folders and login became continuously slower and slower ...
7
votes
3answers
11k 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 ...
7
votes
2answers
1k views

How to mount an internal HDD on start-up?

I have a 500GB internal HDD where I store all my music and photos but it is annoying to manually mount it after a restart and I was wondering how to mount it automatically and make it available to ...
7
votes
2answers
17k 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 ...
7
votes
4answers
30k views

Why has my file-system turned read-only after updates?

I'm running 11.10 and I applied some updates. After that whenever I use my computer, I can, but only for about 2 or 3 minutes before it becomes read-only. Any sudo command entered gives me the ...
7
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 ...
7
votes
3answers
11k 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 ...
7
votes
2answers
18k 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 ...
7
votes
2answers
27k 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 ...
7
votes
1answer
2k 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
1k 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
2k 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
3answers
10k 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
1k 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
8k 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?
7
votes
1answer
2k 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
5answers
9k 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?
6
votes
6answers
4k 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
929 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 ...
6
votes
2answers
3k 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
4answers
34k 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 ...
6
votes
2answers
872 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
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
5k 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
5answers
9k views

Is it possible to pull data off a linux hard drive using windows 8.1?

My Ubuntu laptop died recently and I've pulled the hard drive out of it. I'm trying to read the data on it from a windows 8.1 laptop but I don't think its recognizing the file system. I've tried ...
6
votes
3answers
343 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
4k 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
216 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
8k views

Cdrom is mounted, but where?

A Nautilus folder will be opened automatically when inserting a CD in a drive. It is under Devices with name Audiodisk. As long as the files are accessed via Nautilus everything is fine. The problem ...
6
votes
1answer
791 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
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
720 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?