Linux File System

Linux uses a whole different file system philosophy than Windows. Windows automatically assigns a drive letter to every partition and drive it finds. But Linux makes every partition and drive a subdirectory of the root (/) partition. If you are a Windows user, you may get confused when you try to use Linux. No matter how many partitions, hard drives, or floppy drives your computer has, the Linux File Manager displays everything in a single directory tree under the root directory indicated by a slash (/). Every partition or drive is “mounted” onto the directory tree, and appears in File Manager as a subdirectory.

Linux needs at least three partitions to work, the root partition, the /boot partition, and the swap partition. The root partition is mounted at startup. The root directory itself doesn’t contain any files, just subdirectories. The /boot partition contains files used to boot the system. The swap partition is used as “virtual memory”.

When the operating system needs more memory than there is available in the system’s RAM, it can use disk space to emulate memory. As the system operates, data is swapped back and forth between RAM and the swap partition. The swap partition doesn’t have a mount point because it’s a system file and is never accessed directly by the user.

Note: Linux, the Internet, and the rest of the computing world use forward slashes to form directory paths. Only Windows uses back-slashes to form directory paths. The back-slash also represents an ASCII escape character, resulting in all kinds of bugs in Windows programs. In Windows you just insert a floppy disk into the drive and it’s accessible. With Linux, before you can access devices such as a CD ROM or a floppy drive, you have to “mount” the drive. For example, to mount the floppy drive, insert the disk into the drive and then select Main Menu | Programs | System | Disk Manager. The “User Mount Tool” utility will appear. In the “User Mount Tool” click on the “Mount” button to the right of /dev/fd0.

Note: Linux abstracts every device attached your computer, including the hard drive and floppy drive as a file. Files in the /dev/ folder are equivalent to device driver files in Windows. Linux provides device files for most common devices, but if you install an uncommon device, you may need a special device file.

After mounting the drive, you can access the floppy disk. Before removing the disk, you have to “unmount” the drive. If you find yourself frequently mounting and unmounting drives, you can right-click on “Disk Manager” in the menu and select “Add this launcher to panel”.

When you installed Linux, information about devices on computer was stored in the file /etc/fstab. If the device that you want to mount was not configured during installation, use the LinuxConf utility to configure the device before you mount it.

For example, if you wanted to configure a floppy drive to access DOS floppy disks, insert a DOS floppy disk into the drive, then log in as root and open LinuxConf – Main Menu | Programs | System | LinuxConf. In the LinuxConf window Config tab, click on “+” next to “File systems” to open that branch. Under “File systems” click on “Access local drive”. The “Local volume” windows appears.

In the “Local volume” window, click on the Add button. The “Volume specification” window appears. In the “Partition” text box type /dev/fd0. Then click on the drop down button for the “Type” text box and select msdos. In the “Mount point” text box type /mnt/floppy. Click on the “Accept” button. Then click on the “Mount” button.

Note: To mount a partition or drive you have to use an existing subdirectory as the mount point. By convention, drives use the /mnt/ subdirectory as the mount point. To copy files to and from the mounted floppy diskArticle Search, drag and drop them to and from the directory /mnt/dosfloppy just as you would any other directory.

Advertisements
  1. i love it

  2. This website just made my week! I have been searching close to for facts on this. I’m glad now that I ran across this webpage. Woohoo!

  3. Hello there, Are you going to be publishing a follow up piece? My husband and me have squandered some time browsing over your web page and surprisingly enough you touched on some thing we were discussing only the other week with our accountant. We often notice ourselves quarrelling over the smallest of problems, isn’t it childish? At any rate we wish you best wishes from the Usa.

  4. I have been surfing online more than three hours today, yet I never found any interesting article like yours. It is pretty worth enough for me. Personally, if all webmasters and bloggers made good content as you did, the internet will be much more useful than ever before.

  5. Very nice post. I just stumbled upon your blog and wished to say that I have really enjoyed browsing your blog posts. In any case I’ll be subscribing to your feed and I hope you write again very soon!

  6. Thank you for the auspicious writeup. It in fact was a amusement account it. Look advanced to more added agreeable from you! However, how could we communicate?

  7. Hiya! Quick question that’s totally off topic. Do you know how to make your site mobile friendly? My blog looks weird when viewing from my iphone. I’m trying to find a template or plugin that might be able to correct this problem. If you have any recommendations, please share. Cheers!

  8. Keep up the good work, bookmarked and referred some mates.

  9. Only wanna state that this is invaluable , Thanks for taking your time to write this.

  10. I do enjoy the manner in which you have framed this issue and it does provide me personally a lot of fodder for thought. Nevertheless, because of just what I have personally seen, I just trust as the comments stack on that people remain on point and don’t start upon a tirade regarding the news of the day. Anyway, thank you for this exceptional point and while I do not concur with this in totality, I regard the standpoint.

  11. hopefully this comment doesn’t appear multiple times (it seems to freeze once i try to post my comment.. not sure if it’s really posting), but all I truly wanted to say was fantastic post and thanks for sharing.

  12. This really solved my problem, thank you!

  13. There will not be many web sites with information like this man! Bookmarked!

  14. some really rattling work on behalf of the owner of this web site , perfectly great articles .

  15. Tremendous content we need to spread the word about this site.You should have extra interest .

  16. I absolutely accept as true with what you have explained. In fact, I browsed throughout your other articles and I do believe that you are completely right. Great job with this site.

  17. Nice Blog! Please let your readers know that I found an awesome site they would enjoy too – http://aboutandroid.com – Everything about android! Android just started outselling the iphone too!

  18. I am not in a position to view this website properly on firefox I believe there’s a drawback

  19. Magnificent goods from you, man. I’ve understand your stuff previous to and you’re just extremely fantastic. I really like what you have acquired here, really like what you are saying and the way in which you say it. You make it enjoyable and you still take care of to keep it wise. I can not wait to read far more from you. This is actually a wonderful web site.

  20. I couldn’t currently have asked for a much better blog. You happen to be available to give excellent guidance, going instantly to the point for quick understanding of your readership. You’re really a terrific professional in this arena. Thanks a lot for always being there individuals like me.

  21. Hi I definetly enjoy this story and it is so fine hence I am definetly going to bookmark it. I Have to say the Superb analysis this article has is greatly exceptional ! Who does that additional research these days? Bravo .. Just another tip to you is that you definetlyget a Translator Application for your Worldwide Users ..

  22. I loved studying your post thank you. I’m likely to add your internet site to my blog reader so down the road I could look over much more of this posts.

  23. some really nice and useful information on this web site

  24. Hiya, I am really glad I’ve found this info. Today bloggers publish only about gossip and web stuff and this is really irritating. A good website with interesting content, that’s what I need. Thanks for making this web-site, and I’ll be visiting again. Do you do newsletters? I Can’t find it.

  25. I would like to thnkx for the efforts you’ve put in writing this web site. I’m hoping the same high-grade web site post from you in the upcoming also. Actually your creative writing skills has encouraged me to get my own site now. Really the blogging is spreading its wings fast. Your write up is a good example of it.

  1. No trackbacks yet.

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: