Question

In: Computer Science

Differences Between Linux and Windows Operating Systems Two key differences between a Linux operating system and...

Differences Between Linux and Windows Operating Systems Two key differences between a Linux operating system and a Windows operating system are the concepts of “mounting” and “drive” letters. Provide an example for each. Why is it important to plan disk partitioning before installing Linux? Discuss the advantages of disk partitioning. Also discuss what logical volume management (LVM) is and why or why you might use it.

Solutions

Expert Solution

Here is the perfect answer for your question:

Concepts of “Mounting”

Unix systems have a single directory tree. All accessible storage must have an associated location in this single directory tree.Mounting is the act of associating a storage device to a particular location in the directory tree.

For example, when the system boots, a particular storage device (commonly called the root partition) is associated with the root of the directory tree, i.e., that storage device is mounted on / (the root directory).

Let's say you now want to access files on a CD-ROM. You must mount the CD-ROM on a location in the directory tree (this may be done automatically when you insert the CD). Let's say the CD-ROM device is /dev/cdrom and the chosen mount point is /media/cdrom. The corresponding command is

mount /dev/cdrom /media/cdrom

After that command is run, suppose you want to access a folder named Packages in the cdrom, then it will be now accessible on your system as /media/cdrom/Packages/

When you've finished using the CD, you run the command

umount /dev/cdrom

or

umount /media/cdrom

(both will work; typical desktop environments will do this when you click on the “eject” or ”safely remove” button).

Concepts of “Drive Letter”

In the Windows world, drives can be identified by their names (such as "Windows7_OS") and their drive letters (such as "C:"). The important thing to remember is that Windows really only cares about the drive letter. That has to be unique; you can't have two drives labeled E: on the same computer.

The drive letter plays an important role in telling Windows where to look. A file in C:\Users probably isn't also in D:\Users.

By default, in Windows (and in DOS before it), the boot drive is C:.
Other drives, whether they're internal, external, optical, or additional partitions, get other letters, usually in the order they were assigned: D:, E:, and so on.

Example:

Here the widows operating system is installed on Drive letter : C and we have another drive also with letter as D.

Advantages of disk partitioning

There are several advantages of having partitions on your hard drive.

Faster disk access:

Careful planning might yield you a faster speed. You will be able create different file system types that best suits the type of files that you will store in that particular disk partition. Smaller or an optimum sized partition will increase lookup times in the address tables by keeping the size of the tables lower.

Isolating Data Corruption:

It is possible for the sectors on the drive to go bad. It is also possible for a rogue or experimental software to corrupt data. In such cases, partitions help by isolating the data corruption to a limited scale.

Separate area for swap/paging:

Usually the swap size uses a different file system type will need to be in a separate partition by itself.


Logical separation of data:

This allows you to keep different file types separate. The system files can be maintained separately from the user files. Even within the user files, you could keep the media files separated from the software specific files or text files. Even though the backup files should be kept on a separate disk altogether, it can be kept in a different partition if a secondary drive is not available.

Ease of use :

Make it easier to recover a corrupted file system or operating system installation.


Performance :

Smaller file systems are more efficient. You can tune file system as per application such as log or cache files. Dedicated swap partition can also improve the performance.


Security :

Separation of the operating system files from user files may result into a better and secure system. Restrict the growth of certain file systems is possible using various techniques.


Backup and Recovery :

Easier backup and recovery.


Stability and efficiency :

You can increase disk space efficiency by formatting disk with various block sizes. It depends upon usage. For example, if the data is lots of small files, it is better to use small block size.


Testing :

Boot multiple operating systems such as Linux, Windows and FreeBSD from a single hard disk.

Logical Volume Management

Logical Volume Manager allows for a layer of abstraction between your operating system and the disks/partitions it uses. In traditional disk management your operating system looks for what disks are available (/dev/sda, /dev/sdb, etc.) and then looks at what partitions are available on those disks (/dev/sda1, /dev/sda2, etc.).

With LVM, disks and partitions can be abstracted to contain multiple disks and partitions into one device. Your operating systems will never know the difference because LVM will only show the OS the volume groups (disks) and logical volumes (partitions) that you have set up.

Because volume groups and logical volumes aren’t physically tied to a hard drive, it makes it easy to dynamically resize and create new disks and partitions.

Kindly hit the thumbs up button if my answer was helpful. Thanks in advance. :) Also feel free to put the details in the comment section if you need more help on this task.


Related Solutions

Study PC operating system such as windows and linux etc and mobile operating system such as...
Study PC operating system such as windows and linux etc and mobile operating system such as Android and iOS, find out whether there are functions and features that are provided in PC OS but not in mobile OS, and if there is any, analyze why these functions and features are not provided by these mobile OS. In your opinion for the future development will PC operating system and mobile operating system be the same or different? Give the details.
Why are general-purpose operating systems, such as Linux or Windows, not suitable as real-time system platforms?
Why are general-purpose operating systems, such as Linux or Windows, not suitable as real-time system platforms?
Consider Unix, Linux, MacOS, Android and Windows operating systems. Consider the primary application of each in...
Consider Unix, Linux, MacOS, Android and Windows operating systems. Consider the primary application of each in the marketplace. How does each OS implement threads? How does the usage of threads impact application (usage) ?
CSC241_FA20_01 Windows Server Operating Systems
CSC241_FA20_01 Windows Server Operating Systems
Provide a full detailed comparison table of the differences between Windows, Solaris, Unix,Linux OS and MacOS
Provide a full detailed comparison table of the differences between Windows, Solaris, Unix,Linux OS and MacOS
What have been the major changes in the file systems for Windows and for Linux?
What have been the major changes in the file systems for Windows and for Linux?
application that uses linux operating system amd justify the linux operating system. provide a suitable application...
application that uses linux operating system amd justify the linux operating system. provide a suitable application that uses linux os and justify the usage of linux os in the considered application.
a) b) c) Compare and contrast systems programming in Windows as against systems programming in Unix/Linux....
a) b) c) Compare and contrast systems programming in Windows as against systems programming in Unix/Linux. CR, 8 Explain the term structured exception handling (SEH) as used in systems programming and give a practical example of how it can be used to handle errors in a block of code. AP, 7 Write a C/C++ system program to delete an unwanted file in the Windows file system. Compile and run the program and copy the source code into your answer booklet....
Operating Systems: Describe in your own words the similarity or differences between any two desktop or...
Operating Systems: Describe in your own words the similarity or differences between any two desktop or mobile operating systems in terms of process management and file systems implementation. Mention proper references for your source of information. Please choose systems OTHER THAN iOS and Android. Thanks.
a.) For desktops, the current market share for Windows is 79%. If the operating systems are...
a.) For desktops, the current market share for Windows is 79%. If the operating systems are checked for 20 randomly selected desktops, what is the probability that 17 of them are running Windows? Answer this question without using R or a binomial calculator function. I want you to simplify the combination manually, but a calculator can certainly be used to multiply the combination by ?? ∙(?−?)?−?. b.) A certain drug treatment cures 90% of cases of hookworm in children. Suppose...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT