Linux File System: Part 3

Well sorry it has taken so long but here is the third installation in the series on the Linux file system. In case you haven’t been following before now, here are the links to part1 and part2.

In this portion I will discuss the following directories/partitions: /lost+found /lib /mnt and /tmp.

/lost+found

So you are working and all of a sudden there is a power outage. Or even worse your system suddenly crashes for no reason. Well the next time you boot up your machine Linux will try to recover any lost data/files. The result of this recovery attempt will be saved here. Sure the files in here might not make much sense but there is a small chance that there might be something that you might be able to actually use. Finally, for those of you that really want to know, this recovery is done by using the fsck command. Look into it yourself, since this isn’t the place to go into depth on it.

/lib

The location of all the shared library files. Think DLL files on Windows.

/mnt

This is the generic place to mount other file systems. Such as internal/external hard drives, CD-ROMS, DVD, and floppy disk if people still use those. For more information on mounting see the link to the post dedicated to this topic.  But I should mention that you can make any location a mount point, but it’s usually a good idea to have them all relatively “close” to each other.  Plus try not to overdo it, because really 50 different mount points might just be a little excessive.

/tmp

Temporary files are stored here. In other words, DON’T SAVE IMPORTANT STUFF HERE! This directory is cleared upon each reboot of the system. As a side note, this is really useful for getting around disk quotas. Just save your files here and then when you restart they will be gone. All you have to do is make sure that you won’t be needing those files ever again.

Advertisements

2 Responses to Linux File System: Part 3

  1. […] part 2-and part 3, if it is needed, I will discuess each of these directories.  Nothing too detailed but it should […]

  2. […] system.  If not, or you would just like to reread them just follow these links: part1, part2, and part3.  I’ll admit that I didn’t finish this series as I had originally planned, but it does […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: