partprobe - Unix, Linux Command



NAME

partprobe - inform the OS of partition table changes

SYNOPSIS

partprobe [-d] [-s] [devices...]

DESCRIPTION

partprobe is a program that informs the operating system kernel of partition table changes, by requesting that the operating system re-read the partition table.

OPTIONS

TAG DESCRIPTION
-d Don't update the kernel.
-s Show a summary of devices and their partitions.
-h Show summary of options.
-v Show version of program.

EXAMPLES

Example-1:

Display summary of devices and their partitions:

# partprobe -s

output:

/dev/sda: msdos partitions 1 2 <5>
/dev/sdb: msdos partitions 1 2 <>
/dev/mapper/ubuntu--vg-swap_1: loop partitions 1
/dev/mapper/ubuntu--vg-root: loop partitions 1

Example-2:

Display summary of devices and their partitions:

# partprobe -s /dev/sda

output:

/dev/sda: msdos partitions 1 2 <5>

Example-3: Do not update to kernel, no info will be printed on terminal:

# partprobe -d

output:

no output observed on screen

Example-4:
 
Print the version:
 
# partprobe -v
 
output:
partprobe (GNU parted) 2.3
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by <http://git.debian.org/?p=parted/parted.git;a=blob_plain;f=AUTHORS>.
Print
Advertisements