Linux Command Library


the GNOME Disks application

gnome-disks [OPTIONS]


is the command to launch the GNOME Disks application. Disks provides a way to inspect, format, partition and configure disks and block devices.

The Disks application is single-instance. What this means is that if the application is not already running when the gnome-disks command is invoked, it will get launched and the command invocation will block until the application exits. Otherwise the existing application instance will be used and the gnome-disks command will exit immediately.

The following options are understood:

--block-device DEVICE

Switches to the Disks application and selects the block device given by DEVICE (for example, /dev/sda).

--block-device DEVICE --format-device [--xid WINDOW-ID]

Shows the "Format Volume" dialog for the block device given by DEVICE (for example, /dev/sdb1). If WINDOW-ID is given, makes the dialog transient to the given XID.

--restore-disk-image FILE

Shows the "Restore Disk Image" dialog for the file given by FILE (for example, /home/user/Downloads/SuperOS.iso) and prompts the user to choose a disk to restore the image unto.

-h, --help

Prints a short help text and exits.

Written by David Zeuthen <> with a lot of help from many others.

Please send bug reports to either the distribution bug tracker or the upstream bug tracker at m[blue][].

gnome-disk-image-mounter(1), udisks(8)

play store download app store download
Sonnenallee 29, 12047 Berlin, Germany

Privacy policy
Successfully copied