Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I used fdisk -l command to check out the partitions under my linux system and it gave me the following output: Code: Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2011
    Posts
    10

    Partitions under linux system


    Hi,
    I used fdisk -l command to check out the partitions under my linux system and it gave me the following output:
    Code:
    
    
    Disk /dev/sda: 320.1 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0x0f5bc770
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1            2048      206847      102400   de  Dell Utility
    /dev/sda2   *      206848    30926847    15360000    7  HPFS/NTFS/exFAT
    /dev/sda3        30926848   415423151   192248152    7  HPFS/NTFS/exFAT
    /dev/sda4       415424512   625139711   104857600    f  W95 Ext'd (LBA)
    /dev/sda5       415426560   422817791     3695616    7  HPFS/NTFS/exFAT
    /dev/sda6       422819840   625139711   101159936   83  Linux
    but i am not able to understand what does all this information is all about. I just know that these are the device files and used as an interface for the device drivers.
    Can someone please help me explain this output.

    I am also trying to create a file in one separate partition in linux. How should i do that? Is it possible to create the file in one of the partitions mentioned above?

  2. #2
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,274
    shwety1085!

    I hope some guru can explain this in detail too since I don't understand it much myself. Meanwhile, I suggest you try to look into your
    Code:
    $ man fdisk
    . for the meantime. I have to do a bit more reading on it myself.

    Good luck!
    nujinini
    Linux User #489667

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    That command is list all available partitions. /dev/sda2 and sda3 are Primary Partitions having NTFS filesystem. /dev/sda1 is Dell Recovery partition. /dev/sda4 is an Extended Partition. /dev/sda5 and sda6 are Logical Partitions inside Extended Partition having NTFS and ext* filesystem.

    I am also trying to create a file in one separate partition in linux. How should i do that? Is it possible to create the file in one of the partitions mentioned above?
    Could you explain a bit more? Do you want create another Partition by resizing Linux partition or something else?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •