SlideShare a Scribd company logo
1 of 4
Download to read offline
DISK PARTITION AND MANAGEMENT COMMANDS
(1) gdisk :
Interactive GUID Partition table (GPT) manipulator. GPT fdisk is a text-made menu-driven
program for creation and manipulation of partition tables.
It will automatically convert an old style Master Boot Record (MBR) partition table (or)
BSD disklabel stored without an MBR carrier partition to the newer Globally Unique Identifier
(GUID) Partition Table (GPT) format (or) will load a GUID partition table.
(2) cfdisk :
Dispaly (or) Manipulate a disk partition table. Cfdisk is a curses-based program for
partitioning any block device. The default device is /dev/sda.
Cfdisk is a user-friendly interface. The version 2.25 cfdisk supports MBR(DOS),GPT,SUN
and SGI disk lables, but no longer provides any functionality for CHS (Cylinder-Head-Sector)
addressing.
The version 2.25 cfdisk also does not provide a ‘Print’ command any more.
(3) cgdisk :
Cgdisk is a curses-based GUID Partititon Table (GPT) manipulator. GPT fdisk is a text-
mode family of programs for creation and manipulation of partition tables.
The cgdisk member of this family employs a curses-based user interface for interaction
using a text-mode menuing system.
(4) sfdisk :
Sfdisk - display or manipulate a disk partition table. sfdisk is a script-oriented tool for
partitioning any block device.
The version 2.26 sfdisk supports MBR (DOS), GPT, SUN and SGI disk labels, but no longer
provides any functionality for CHS (Cylinder-Head-Sector) addressing.
(5) sgdisk :
Sgdisk - Command-line GUID partition table (GPT) manipulator for Linux and Unix. GPT
fdisk is a text-mode menu-driven package for creation and manipulation of partition tables. It
consists of two programs: the text-mode interactive gdisk and the command-line sgdisk.
Either program will automatically convert an old-style Master Boot Record (MBR)
partition table or BSD disklabel stored without an MBR carrier partition to the newer Globally
Unique Identifier (GUID) Partition Table (GPT) format, or will load a GUID partition table.
(6) GNU parted :
A Partition Manipulation program. Parted is a program to manipulate disk partitions. It
supports multiple partition table formats, including MS-DOS and GPT.
(7) Fixparts :
MBR Partition table repair utility. Fixparts is a text-mode menu-driven program for
repairing certain types of problems with Master Boot Record (MBR) partition tables.
(8) fdisk :
Manipulate disk partition table. Fdisk is a dialog-driven program for creation and
manipulation of partition tables. It understands GPT,MBR,SUN,SGI and BSD partition tables.
(9) partx :
Tell the kernel about the presence and numbering of on-disk partitions. Partx is not an fdisk
program – adding and removing partitions does not change the disk, it just tells the kernel about the
presence and numbering of on-disk partitions.
(10) addpart :
Addpart is a Linux kernel about the existence of the specified partition. The command is a
simple wrapper around the “add partition” ioctl.
This command doesn’t manipulate partitions on a block device.
(11) delpart :
Delpart asks the Linux kernel to forget about the specified partition (a number) on the
specified device. The command is a simple wrapper arround the “del partition” ioctl.
This command doesn’t manipulate partitions on a block device.
(12) partprobe :
Partprobe is a program that in forms the operating system kernel of partitions on a block
device.
(13) fs :
Filesystem’s – Linux filesystem types : ext, ext2, ext3, ext4, hpfs, iso 9660, JFS, minix,
msdos, ncpfs nfs, ntfs, proc, Reiserfs, smb, sysv, umsdos, vfat, xfs, xiafs.
(14) fsck :
fsck is used to check and optionally repair one (or) more Linux filesystems. The exit code
returned by fsck is the sum of the following conditions :
0 - No errors.
1 - Filesystem errors corrected.
2 - System will be rebooted.
4 - Filesystem errors left uncorrected.
8 - Operational error.
16 - Usage (or) Synatx error.
32 - Checking cancelled by user request.
128 - Shared-library error.
(15) mkdos fs (or) mkfs.fat :
Create an MS-DOS file system under linux on a device (usually a disk partition). If omitted,
mkfs.fat automatically determines the file system size.
(16) mke2fs :
mke2fs is used to create an ext2, ext3, ext4 file syatem, usually in a disk partition named by
device.
(17) badblocks :
badblocks is used to search for badblocks on a device (usually a disk partition). If the output
of badblocks to be fed to the e2fsck (or) mke2fs programs, it is important that the block size is
properly specified, since the block numbers which are generated are very dependent on the block
size in use by the file system.
(1) The default block size is 1024.
(2) -c is the no.of blocks which are tested at a time. The default is 64.
(18) mkfs.bfs :
mkfs.bfs creates an sco bfs file system on a block device (usually a disk partition (or) a file
accessed via the loop device).
The block – count parameter is the desired size of the file system, in blocks. If nothing is
specified, the entire partition will be used.
(19) mkfs.ext :
ext is an eloborate extension of the minix file system. It has been completely suppressed by
the second version of the extended file system (ext2) and has been removed from the kernel.
(20) mkfs.ext2 :
ext2 is the high performance disk file system used by Linux for fixed disks as well as
removable media.
The second extended file system was designed as an extension of the extended file system.
(21) mkfs.ext3 :
ext3 is a journaling version of the ext2 file system. It is easy to switch back and forth
between ext2 and ext3.
(22) mkfs.ext4 :
ext4 is a set of upgrades to ext3 including substational performance and reliability
enhancements, plus large increases in volume, file, and directory size limits.
(23) mkfs.minix :
mkfs.minix creates a Linux minix file system on a device (usually a disk partition). The
device is usually of the following form :
/dev/hda [1-8] (IDE disk 1)
/dev/hdb [1-8] (IDE disk 2)
/dev/sda [1-8] (SCSI disk 1)
/dev/sdb [1-8] (SCSI disk 2)
Exit codes :
The exit code returned by mkfs.minix is one of the following :
0 - No errors.
8 - Operational error.
16 - Usage of syntax error.
(24) GPT :
GPT stands for “GUID Partition Table”. GPT is modern standard for the layout of the
partition table. GPT uses 64-bit logical block addresses, checksums, UUIDs and names for
partitions and an unlimited number of partitions (although the number of partitions is usually
restricted to 128 in many partitioning tools).
(25) MBR :
A DOS-type partition table can describe an unlimited number of partitions. In sector 0 there
is room for the description of 4 partitions (called ‘primary’).
One of these may be an extended partition this is a box holding logical partitions, with
descriptors found in a linked list of sectors, each preceding the corresponding logical partitions.
The four primary partitions, present or not, get numbers 1-4. Logical partitions are
numbered starting from 5.
Manage and Manipulate Disk Partitions

More Related Content

What's hot

Users guide-to-winfe
Users guide-to-winfeUsers guide-to-winfe
Users guide-to-winfeGol D Roger
 
HARD DISK PARTITIONING,FORMATING
HARD DISK PARTITIONING,FORMATINGHARD DISK PARTITIONING,FORMATING
HARD DISK PARTITIONING,FORMATINGchiju chinnu
 
Description of GRUB 2
Description of GRUB 2Description of GRUB 2
Description of GRUB 2iamumr
 
How to mount ntfs in linux
How to mount ntfs in linuxHow to mount ntfs in linux
How to mount ntfs in linuxsiraza5
 
Hp ux-11iv3-multiple-clones-with-dynamic-root-disks-dusan-baljevic-mar2014
Hp ux-11iv3-multiple-clones-with-dynamic-root-disks-dusan-baljevic-mar2014Hp ux-11iv3-multiple-clones-with-dynamic-root-disks-dusan-baljevic-mar2014
Hp ux-11iv3-multiple-clones-with-dynamic-root-disks-dusan-baljevic-mar2014Circling Cycle
 
11 linux filesystem copy
11 linux filesystem copy11 linux filesystem copy
11 linux filesystem copyShay Cohen
 
Veritas Software Foundations
Veritas Software FoundationsVeritas Software Foundations
Veritas Software Foundations.Gastón. .Bx.
 
Comp 129 final exam 100% correct answers
Comp 129 final exam 100% correct answersComp 129 final exam 100% correct answers
Comp 129 final exam 100% correct answersProfessorLance
 

What's hot (20)

Ram Disk
Ram DiskRam Disk
Ram Disk
 
Unix 6 en
Unix 6 enUnix 6 en
Unix 6 en
 
Users guide-to-winfe
Users guide-to-winfeUsers guide-to-winfe
Users guide-to-winfe
 
Virtual Hard disk
Virtual Hard diskVirtual Hard disk
Virtual Hard disk
 
pptdisk
pptdiskpptdisk
pptdisk
 
HARD DISK PARTITIONING,FORMATING
HARD DISK PARTITIONING,FORMATINGHARD DISK PARTITIONING,FORMATING
HARD DISK PARTITIONING,FORMATING
 
Hbcd
HbcdHbcd
Hbcd
 
Mac os x mount ntfs
Mac os x mount ntfsMac os x mount ntfs
Mac os x mount ntfs
 
Windows 7 configuration
Windows 7 configurationWindows 7 configuration
Windows 7 configuration
 
Booy Up
Booy UpBooy Up
Booy Up
 
Description of GRUB 2
Description of GRUB 2Description of GRUB 2
Description of GRUB 2
 
How to mount ntfs in linux
How to mount ntfs in linuxHow to mount ntfs in linux
How to mount ntfs in linux
 
Hp ux-11iv3-multiple-clones-with-dynamic-root-disks-dusan-baljevic-mar2014
Hp ux-11iv3-multiple-clones-with-dynamic-root-disks-dusan-baljevic-mar2014Hp ux-11iv3-multiple-clones-with-dynamic-root-disks-dusan-baljevic-mar2014
Hp ux-11iv3-multiple-clones-with-dynamic-root-disks-dusan-baljevic-mar2014
 
Hdd regenerator
Hdd regeneratorHdd regenerator
Hdd regenerator
 
11 linux filesystem copy
11 linux filesystem copy11 linux filesystem copy
11 linux filesystem copy
 
Lect11
Lect11Lect11
Lect11
 
Tlf2014
Tlf2014Tlf2014
Tlf2014
 
Veritas Software Foundations
Veritas Software FoundationsVeritas Software Foundations
Veritas Software Foundations
 
windows 7
windows 7windows 7
windows 7
 
Comp 129 final exam 100% correct answers
Comp 129 final exam 100% correct answersComp 129 final exam 100% correct answers
Comp 129 final exam 100% correct answers
 

Similar to Manage and Manipulate Disk Partitions

Guide to Windows 7 - Managing Disks
Guide to Windows 7 - Managing DisksGuide to Windows 7 - Managing Disks
Guide to Windows 7 - Managing DisksGene Carboni
 
Linux Survival Kit for Proof of Concept & Proof of Technology
Linux Survival Kit for Proof of Concept & Proof of TechnologyLinux Survival Kit for Proof of Concept & Proof of Technology
Linux Survival Kit for Proof of Concept & Proof of TechnologyNugroho Gito
 
101 2.1 design hard disk layout
101 2.1 design hard disk layout101 2.1 design hard disk layout
101 2.1 design hard disk layoutAcácio Oliveira
 
16° punto Guia Nº2 Sena (Docente Lina P)
16° punto Guia Nº2 Sena (Docente Lina P)16° punto Guia Nº2 Sena (Docente Lina P)
16° punto Guia Nº2 Sena (Docente Lina P)Metal Heads
 
101 4.1 create partitions and filesystems
101 4.1 create partitions and filesystems101 4.1 create partitions and filesystems
101 4.1 create partitions and filesystemsAcácio Oliveira
 
Linux fundamentals Training
Linux fundamentals TrainingLinux fundamentals Training
Linux fundamentals TrainingLove Steven
 
Storage Management in Linux OS.ppt
Storage Management in Linux OS.pptStorage Management in Linux OS.ppt
Storage Management in Linux OS.pptRakesh Kadu
 
logical volume manager.ppt
logical volume manager.pptlogical volume manager.ppt
logical volume manager.pptPandiya Rajan
 
Analyze corefile and backtraces with GDB for Mysql/MariaDB on Linux - Nilanda...
Analyze corefile and backtraces with GDB for Mysql/MariaDB on Linux - Nilanda...Analyze corefile and backtraces with GDB for Mysql/MariaDB on Linux - Nilanda...
Analyze corefile and backtraces with GDB for Mysql/MariaDB on Linux - Nilanda...Mydbops
 
WinFE: The (Almost) Perfect Triage Tool
WinFE: The (Almost) Perfect Triage ToolWinFE: The (Almost) Perfect Triage Tool
WinFE: The (Almost) Perfect Triage ToolBrent Muir
 
Disk and File System Management in Linux
Disk and File System Management in LinuxDisk and File System Management in Linux
Disk and File System Management in LinuxHenry Osborne
 
Comandos linux bash, f2 linux pesquisa, http://f2linux.wordpress.com
Comandos linux bash,  f2 linux pesquisa, http://f2linux.wordpress.comComandos linux bash,  f2 linux pesquisa, http://f2linux.wordpress.com
Comandos linux bash, f2 linux pesquisa, http://f2linux.wordpress.comWlademir RS
 
TLPI Chapter 14 File Systems
TLPI Chapter 14 File SystemsTLPI Chapter 14 File Systems
TLPI Chapter 14 File SystemsShu-Yu Fu
 

Similar to Manage and Manipulate Disk Partitions (20)

Guide to Windows 7 - Managing Disks
Guide to Windows 7 - Managing DisksGuide to Windows 7 - Managing Disks
Guide to Windows 7 - Managing Disks
 
Linux Survival Kit for Proof of Concept & Proof of Technology
Linux Survival Kit for Proof of Concept & Proof of TechnologyLinux Survival Kit for Proof of Concept & Proof of Technology
Linux Survival Kit for Proof of Concept & Proof of Technology
 
101 2.1 design hard disk layout
101 2.1 design hard disk layout101 2.1 design hard disk layout
101 2.1 design hard disk layout
 
windows.pptx
windows.pptxwindows.pptx
windows.pptx
 
Linux admin course
Linux admin courseLinux admin course
Linux admin course
 
FreeBSD Portscamp, Kuala Lumpur 2016
FreeBSD Portscamp, Kuala Lumpur 2016FreeBSD Portscamp, Kuala Lumpur 2016
FreeBSD Portscamp, Kuala Lumpur 2016
 
16° punto Guia Nº2 Sena (Docente Lina P)
16° punto Guia Nº2 Sena (Docente Lina P)16° punto Guia Nº2 Sena (Docente Lina P)
16° punto Guia Nº2 Sena (Docente Lina P)
 
101 4.1 create partitions and filesystems
101 4.1 create partitions and filesystems101 4.1 create partitions and filesystems
101 4.1 create partitions and filesystems
 
Unix Administration 4
Unix Administration 4Unix Administration 4
Unix Administration 4
 
Linux fundamentals Training
Linux fundamentals TrainingLinux fundamentals Training
Linux fundamentals Training
 
Storage Management in Linux OS.ppt
Storage Management in Linux OS.pptStorage Management in Linux OS.ppt
Storage Management in Linux OS.ppt
 
VHD Recovery Tool
VHD Recovery ToolVHD Recovery Tool
VHD Recovery Tool
 
logical volume manager.ppt
logical volume manager.pptlogical volume manager.ppt
logical volume manager.ppt
 
Analyze corefile and backtraces with GDB for Mysql/MariaDB on Linux - Nilanda...
Analyze corefile and backtraces with GDB for Mysql/MariaDB on Linux - Nilanda...Analyze corefile and backtraces with GDB for Mysql/MariaDB on Linux - Nilanda...
Analyze corefile and backtraces with GDB for Mysql/MariaDB on Linux - Nilanda...
 
WinFE: The (Almost) Perfect Triage Tool
WinFE: The (Almost) Perfect Triage ToolWinFE: The (Almost) Perfect Triage Tool
WinFE: The (Almost) Perfect Triage Tool
 
MICROSOFT DOS MUKUND
MICROSOFT DOS MUKUNDMICROSOFT DOS MUKUND
MICROSOFT DOS MUKUND
 
Boot cd
Boot cdBoot cd
Boot cd
 
Disk and File System Management in Linux
Disk and File System Management in LinuxDisk and File System Management in Linux
Disk and File System Management in Linux
 
Comandos linux bash, f2 linux pesquisa, http://f2linux.wordpress.com
Comandos linux bash,  f2 linux pesquisa, http://f2linux.wordpress.comComandos linux bash,  f2 linux pesquisa, http://f2linux.wordpress.com
Comandos linux bash, f2 linux pesquisa, http://f2linux.wordpress.com
 
TLPI Chapter 14 File Systems
TLPI Chapter 14 File SystemsTLPI Chapter 14 File Systems
TLPI Chapter 14 File Systems
 

Recently uploaded

the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 

Recently uploaded (20)

the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 

Manage and Manipulate Disk Partitions

  • 1. DISK PARTITION AND MANAGEMENT COMMANDS (1) gdisk : Interactive GUID Partition table (GPT) manipulator. GPT fdisk is a text-made menu-driven program for creation and manipulation of partition tables. It will automatically convert an old style Master Boot Record (MBR) partition table (or) BSD disklabel stored without an MBR carrier partition to the newer Globally Unique Identifier (GUID) Partition Table (GPT) format (or) will load a GUID partition table. (2) cfdisk : Dispaly (or) Manipulate a disk partition table. Cfdisk is a curses-based program for partitioning any block device. The default device is /dev/sda. Cfdisk is a user-friendly interface. The version 2.25 cfdisk supports MBR(DOS),GPT,SUN and SGI disk lables, but no longer provides any functionality for CHS (Cylinder-Head-Sector) addressing. The version 2.25 cfdisk also does not provide a ‘Print’ command any more. (3) cgdisk : Cgdisk is a curses-based GUID Partititon Table (GPT) manipulator. GPT fdisk is a text- mode family of programs for creation and manipulation of partition tables. The cgdisk member of this family employs a curses-based user interface for interaction using a text-mode menuing system. (4) sfdisk : Sfdisk - display or manipulate a disk partition table. sfdisk is a script-oriented tool for partitioning any block device. The version 2.26 sfdisk supports MBR (DOS), GPT, SUN and SGI disk labels, but no longer provides any functionality for CHS (Cylinder-Head-Sector) addressing. (5) sgdisk : Sgdisk - Command-line GUID partition table (GPT) manipulator for Linux and Unix. GPT fdisk is a text-mode menu-driven package for creation and manipulation of partition tables. It consists of two programs: the text-mode interactive gdisk and the command-line sgdisk. Either program will automatically convert an old-style Master Boot Record (MBR) partition table or BSD disklabel stored without an MBR carrier partition to the newer Globally Unique Identifier (GUID) Partition Table (GPT) format, or will load a GUID partition table. (6) GNU parted : A Partition Manipulation program. Parted is a program to manipulate disk partitions. It supports multiple partition table formats, including MS-DOS and GPT. (7) Fixparts : MBR Partition table repair utility. Fixparts is a text-mode menu-driven program for repairing certain types of problems with Master Boot Record (MBR) partition tables. (8) fdisk : Manipulate disk partition table. Fdisk is a dialog-driven program for creation and manipulation of partition tables. It understands GPT,MBR,SUN,SGI and BSD partition tables.
  • 2. (9) partx : Tell the kernel about the presence and numbering of on-disk partitions. Partx is not an fdisk program – adding and removing partitions does not change the disk, it just tells the kernel about the presence and numbering of on-disk partitions. (10) addpart : Addpart is a Linux kernel about the existence of the specified partition. The command is a simple wrapper around the “add partition” ioctl. This command doesn’t manipulate partitions on a block device. (11) delpart : Delpart asks the Linux kernel to forget about the specified partition (a number) on the specified device. The command is a simple wrapper arround the “del partition” ioctl. This command doesn’t manipulate partitions on a block device. (12) partprobe : Partprobe is a program that in forms the operating system kernel of partitions on a block device. (13) fs : Filesystem’s – Linux filesystem types : ext, ext2, ext3, ext4, hpfs, iso 9660, JFS, minix, msdos, ncpfs nfs, ntfs, proc, Reiserfs, smb, sysv, umsdos, vfat, xfs, xiafs. (14) fsck : fsck is used to check and optionally repair one (or) more Linux filesystems. The exit code returned by fsck is the sum of the following conditions : 0 - No errors. 1 - Filesystem errors corrected. 2 - System will be rebooted. 4 - Filesystem errors left uncorrected. 8 - Operational error. 16 - Usage (or) Synatx error. 32 - Checking cancelled by user request. 128 - Shared-library error. (15) mkdos fs (or) mkfs.fat : Create an MS-DOS file system under linux on a device (usually a disk partition). If omitted, mkfs.fat automatically determines the file system size. (16) mke2fs : mke2fs is used to create an ext2, ext3, ext4 file syatem, usually in a disk partition named by device. (17) badblocks : badblocks is used to search for badblocks on a device (usually a disk partition). If the output of badblocks to be fed to the e2fsck (or) mke2fs programs, it is important that the block size is properly specified, since the block numbers which are generated are very dependent on the block size in use by the file system. (1) The default block size is 1024. (2) -c is the no.of blocks which are tested at a time. The default is 64.
  • 3. (18) mkfs.bfs : mkfs.bfs creates an sco bfs file system on a block device (usually a disk partition (or) a file accessed via the loop device). The block – count parameter is the desired size of the file system, in blocks. If nothing is specified, the entire partition will be used. (19) mkfs.ext : ext is an eloborate extension of the minix file system. It has been completely suppressed by the second version of the extended file system (ext2) and has been removed from the kernel. (20) mkfs.ext2 : ext2 is the high performance disk file system used by Linux for fixed disks as well as removable media. The second extended file system was designed as an extension of the extended file system. (21) mkfs.ext3 : ext3 is a journaling version of the ext2 file system. It is easy to switch back and forth between ext2 and ext3. (22) mkfs.ext4 : ext4 is a set of upgrades to ext3 including substational performance and reliability enhancements, plus large increases in volume, file, and directory size limits. (23) mkfs.minix : mkfs.minix creates a Linux minix file system on a device (usually a disk partition). The device is usually of the following form : /dev/hda [1-8] (IDE disk 1) /dev/hdb [1-8] (IDE disk 2) /dev/sda [1-8] (SCSI disk 1) /dev/sdb [1-8] (SCSI disk 2) Exit codes : The exit code returned by mkfs.minix is one of the following : 0 - No errors. 8 - Operational error. 16 - Usage of syntax error. (24) GPT : GPT stands for “GUID Partition Table”. GPT is modern standard for the layout of the partition table. GPT uses 64-bit logical block addresses, checksums, UUIDs and names for partitions and an unlimited number of partitions (although the number of partitions is usually restricted to 128 in many partitioning tools). (25) MBR : A DOS-type partition table can describe an unlimited number of partitions. In sector 0 there is room for the description of 4 partitions (called ‘primary’). One of these may be an extended partition this is a box holding logical partitions, with descriptors found in a linked list of sectors, each preceding the corresponding logical partitions. The four primary partitions, present or not, get numbers 1-4. Logical partitions are numbered starting from 5.