dev/sda1), this advantage disappears because hard drives and partitions are counted by their controllers, and can thus change. If you switch to (or are stuck using) the old method of using device identifiers to select partitions (i.e. Let’s say your /home partition is on a second hard drive and you end up moving it to an external hard drive fstab will still find that partition and mount it correctly, avoiding a failed boot. Since it cannot be changed, this is the ideal way to select file systems for mounting, especially for important ones. Each file system, during formatting, gets assigned a Universally Unique Identifier, which it takes to the grave. You’ll notice all of the entries begin with UUIDs. Fstab is configured to look for specific file systems and mount them automatically in a desired way each and every time, preventing a myriad of disasters from occurring. The computer could load the file systems in a different order, potentially messing things up. Suppose you swapped hard disks on your IDE or SCSI controller. This is where fstab came in, and it was awesome. ![]() ![]() This held true for DVDs, CDs, and even floppies (remember those?).īack then, your only alternative was the tell the computer that anytime a specific device was plugged in, it should be automatically mounted in a specific place. Nowadays, you can plug in a USB drive of any kind and it’ll just pop up in Nautilus like it does in Windows and Mac OS, but once upon a time, you had to manually mount those disks to a specific folder using the “mount” command. If you want a review of file systems, be sure to check out our other article, HTG Explains: Which Linux File System Should You Choose? In the old days, it was the primary way that the system mounted files automatically. Read about mounting windows partitions here and configuring fstab hereįstab is your operating system’s file system table.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |