Linux Commands Examples

A great documentation place for Linux commands

partprobe

inform the OS of partition table changes


see also : parted

Synopsis

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


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

1
source
            
sudo losetup /dev/loop0 /mnt/fuck/image/u.img
sudo partprobe /dev/loop0
sudo mount /dev/loop0p1 /mnt/live
sudo cp load /mnt/live
1
source
            
sudo losetup /dev/loop0 /mnt/fuck/image/u.img
sudo partprobe /dev/loop0
sudo mount /dev/loop0p1 /mnt/live
sudo cp live /mnt/live
0
source
            
_deploy_static_elf /partprobe.elf /partprobe/partprobe
(
_output_cpiod_bin_file /parted /parted.elf
_output_cpiod_bin_file /parted /parted.elf
_output_cpiod_bin_file /partprobe /partprobe.elf
) | _deploy_cpiod /generic-bin.cpiod
}
0
source
            
parted $VOL2 mkpart primary 0GB $VOLUME_SIZE
partprobe $VOL1
partprobe $VOL2
mdadm --create /dev/md0 --level=1 --raid-devices=2 $VOL1 $VOL2
0
source
            
mount /dev/sdf1 /usr/sandeep
partprobe /dev/sdf1
0
source
            
_deploy_static_elf /partprobe.elf /partprobe/partprobe
(
_output_cpiod_bin_file /parted /parted.elf
_output_cpiod_bin_file /partprobe /partprobe.elf
_output_cpiod_bin_file /partprobe /partprobe.elf
) | _deploy_cpiod /generic-bin.cpiod
}

description

This manual page documents briefly the partprobe command.

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

This program uses short UNIX style options.

-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.


see also

parted .


author

This manual page was written by Timshel Knoll <timshel[:at:]debian[:dot:]org>, for the Debian GNU/Linux system (but may be used by others).

How can this site be more helpful to YOU ?


give  feedback