Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
This isn't a problem just something i'm curious about. I couldn't find anything decent by searching google. I know all about controlling Linux but im still new when it comes to how Linux actually works.
Ok so I know when Windows deletes a file it actually just puts that space on the disk open to be written over. This causes fragmentation because if a file larger than that space is written to it, it has to split the file up and put the other part of the file in a different space. Apparently Linux doesnt fragment your hard drive. So what does Linux do different? Atleast for ext2/3/4 formatted drives if that makes a difference.
Does Linux save data differently depending on the filesystem? Im used to FAT/NTFS where nothing has changed accept the layout that's written to has changed and now treated differently so you can write files over 2/4GB. That and the information of the file is written with the cluster. I only know of the ext file systems for Linux which I assume are the most popular.
I think you are asking about the behavior of different filesystems. In general, I think block devices all have some similar paradigms---eg inodes setup with fixed sizes, data not erased but blocks (inodes) simply being dereferenced, etc.
There's a recent thread that talks about how to see what is written to the disk in different situations--I posted something showing how a modified file gets saved to a new physical location, but the old file is still there (but dereferenced)
(I can't find the thread)