Monday 10 September 2012

Linux OS ( 10 Sep. 2012 )


There is no drive letter in Linux
                  Than
How to access our hard drive partition/drives ?
Mount Point :
When we make available a hard drive/partition into a folder is called mounting a folder and in which folder/directory, where partition is mounted (made available) is called mounting point
A mount point is a physical location in the partition used as a root filesystem. Many different types of storage exist, including magnetic, magneto-optical, optical, and semiconductor (solid-state) drives. Magnetic media are still the most common (as of 2012) and are available as floppy and hard disk drives. Before any of them can be used for storage, the means by which information is read and written must be organized and knowledge of this must be available to the operating system. The organization is called a filesystem. Each different filesystem provides the host operating system with meta data so that it knows how to read and write data. When the medium (or media, when the filesystem is a volume filesystem as in RAID arrays) is mounted, this meta data is read by the operating system so that it can use the storage.

A mount point is a directory (typically an empty one) in the currently accessible filesystem on which an additional filesystem is mounted (i.e., logically attached).
A filesystem is a hierarchy of directories (also referred to as a directory tree) that is used to organize files on a computer system. On Linux and other Unix-like operating systems, at the very top of this hierarchy is the root directory, which contains all other directories on the system, inclusive of their subdirectories, etc. A variant of this definition is the part of the entire hierarchy of directories (i.e., of the directory tree) that is located on a single partition or disk. A partition is a logically independent section of a hard disk drive (HDD).

  • Ø  All drives in Linux are in  /dev  folder
  • Ø     /dev/hd   is a folder which contains all IDE drives
  • Ø  1 2 3 4 nos are reserved for primary partitions

Steps To mount a partition
1.      Get the disk address/ id by command            Fdisk –l
2.      Make mount point by command                    mkdir foldername
3.      Type in Mount device mount point name
4.      To go to mount point cd foldername



Click here for hard disk types


Hard Disk Drive

 - It is a non-volatile storage device which stores digitally encoded data on rapidly rotating platters with magnetic surface.

Types of HDD :
  1. IDE : Integrated Drive Electronics. IDE drives are also known as PATA drives( Parallel advance technology attachment )
  2. SATA : Serial advance technology attachment 
  3. SCSI : Small Computer System Interface. SCSI is pronounced as scuzzy.
  4. SAS : Serial Attached SCSI


Linux Commands
To create folder                                              mkdir foldername
If  U want to give space in folder name            mkdir “foldername name”
To create more than one folders                       mkdir folder1 name folder2 name  folder3 name
3 cmds to logout                                             exit / logout / Ctrl+d
To exit drive                                                    cd..
To open optical drive                                      eject
To close optical drive                                      eject –t
3 cmds to shutdown                                       power off / halt /
To list all storage devices                                fdisk -l


//fb like box