Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 247
  • Last Modified:

Do We have C: or D: Drives on Linux File system

Hi Experts,
I have A question about Comparing Windows Family and Linux Family.
Do we have C: ,D: or etc on linux File system?
if no, how can i implement it ?

Best Regards
Ronnie

0
ronnie_bobo
Asked:
ronnie_bobo
4 Solutions
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
No you don't.  And generally, you can't.  You can (sort of) implement linux style file systems with Windows however, using Mount Points on 2000 or XP.

Windows assigns drive letters to each partition.  Giving you a maximum of 26 drives.
Linux has you specify a root drive (you might consider this LIKE C:\ but it's not the same and differs notably).  Root is referred to as "/"  Then, you mount any other drives you want to directories.  For example, the closest way to implement D, E, F would be to create folders labeled d, e, f and mount other partitions/drives to them.  So:

/ = Drive "C:"
/d = drive "d:"
/e = drive "e:"
etc

One of the great things about *nix file systems is that you can have hundreds of disks mounted on one system, if you could physically have that many.  And if you use NFS (Network File System) you can even mount "shared" directories like this.  So for example:

Computer 1:
/ = disk 1
/d = disk 2
/e = disk 3
/f = computer2/disk1
/g = computer3/disk1
/e/r = computer8/disk5

etc.

Just understand, Linux is NOT windows.  IF you mount drives like this you'll be the only one.  Don't treat Linux like windows and don't try too hard to get it work just like it.  It doesn't - and that's a good thing.
0
 
ronnie_boboAuthor Commented:

Why Windows divide HDD to Drives but Linux Not ?




0
 
paranoidcookieCommented:
The Linux system is more elegant because its treats everything simply as space which can be mounted at any part of the logical system.
So ofr example if you install a lot of programs in /usr you can add a second disk copy accross the data and mount the new drive as / user.

Whereas windows is inelegant and forces you to treat each disk as a seperate entity (this has been redressed to a certain extent in XP)

Hope that helps anwer your question
0
 
CaseybeaCommented:
Linux does divide drives, at least the logical partitions:

If you have a partitioned drive in Windows, you end up seeing drive letters:   C:, D:, and so on.

In linux, these typically show up as something like:   /dev/hda1, /dec/hda2, and so on.

There are many more distinct differences, but the concept is essentially the same.
0
 
PsiCopCommented:
"Why Windows divide HDD to Drives but Linux Not ?"

Because Windoze is essentially DOS, which itself was derived in large part from CP/M (for example, the DOS program file format .COM was directly modelled on the CP/M program file format .CDM, to aid in automated translation of programs from CP/M to DOS, among other reasons). Windoze started as basically a GUI task switcher for DOS, and it retains those roots, right thru W2K3.

The roots of Linux, on the other hand, derive from UNIX, and the design philosophy behind UNIX was quite different (e.g. process-oriented vs. thread-oriented, solid memory protection vs. no memory protection) - a "tree" paradigm was chosen for the filesystem architecture. The flexibility and adaptability of that architecture has served UNIX well, and the wisdom of the choice has been borne out over time.
0

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now