← 返回命令列表

Linux command

gnome-disks 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start GNOME Disks

gnome-disks

Open a specific block device

gnome-disks --block-device [/dev/sda]

Restore disk image

gnome-disks --restore-disk-image [image.img]

说明

gnome-disks is a graphical disk management utility for the GNOME desktop. It manages disks, partitions, filesystems, and RAID arrays through a user-friendly GTK interface. The tool handles formatting, mounting, imaging, and benchmarking. It integrates with udisks2 for privileged operations and supports encrypted volumes.

参数

--block-device _DEVICE_
Open the specified block device (e.g. /dev/sda).
--restore-disk-image _FILE_
Restore disk image.
--format-device
Open the format dialog for the specified block device (used with --block-device).
--xid _XID_
Parent window XID for the dialog.
--help
Display help information.

FAQ

What is the gnome-disks command used for?

gnome-disks is a graphical disk management utility for the GNOME desktop. It manages disks, partitions, filesystems, and RAID arrays through a user-friendly GTK interface. The tool handles formatting, mounting, imaging, and benchmarking. It integrates with udisks2 for privileged operations and supports encrypted volumes.

How do I run a basic gnome-disks example?

Run `gnome-disks` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --block-device _DEVICE_ do in gnome-disks?

Open the specified block device (e.g. /dev/sda).