sfdk
Manage Salesforce DX projects and metadata
TLDR
Execute a subcommand
Execute a subcommand on a custom working directory
Execute a subcommand with a given configuration set
Display help
Display help for specific topic (building, testing, maintaining, ide, all)
Display version
SYNOPSIS
sfdk device [command] [options]
PARAMETERS
device
The storage device to operate on (e.g., /dev/sda).
create
Creates a new partition with the specified type, starting position, and size.
delete
Deletes the specified partition.
format
Formats the specified partition with the given filesystem (e.g., ext4, xfs).
list
Lists the existing partitions on the device.
raid create
Creates a RAID array with the specified level and devices.
raid delete
Deletes the specified RAID array.
--help
Displays the usage help message.
DESCRIPTION
sfdk is a command-line utility for partitioning and managing storage devices.
It provides a user-friendly interface to create, delete, and format partitions, as well as manage RAID arrays.
Unlike more complex tools like fdisk or parted, sfdk aims to be simpler and faster, focusing on common partitioning tasks.
The main advantage of this simplicity is the improved speed compared to other tools. It is designed to be less powerful but faster to complete basic functions.
CAVEATS
sfdk is a simplified tool and may not support all advanced partitioning features.
Always back up your data before performing partitioning operations.
EXAMPLE USAGE
To list partitions on /dev/sdb:
sfdk /dev/sdb list
To create a primary partition of size 10G on /dev/sdb:
sfdk /dev/sdb create primary 0 10G
To format the second partition on /dev/sdb as ext4:
sfdk /dev/sdb format 2 ext4