💻 Software
What does sfdisk do, and how does it compare to fdisk or parted?
Fresh7 days ago
Mar 15, 202632475 viewsConfidence Score0%
0%
Problem
I was looking over documentation for ZFS for Linux and I came accross a command that the instructions tell me to run to prepare a disk for use. The command was; The line breaks are included the command took up 3 lines What does sfdisk do? Is it the same and creating a new partition table or is it s…
Error Output
sfdisk -q /dev/zvol/tank/fish << EOF 0, EOF
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: What does sfdisk do, and how does it compare to fdisk or parted?
Low Risk
sfdisk reads and writes partition tables, but is not interactive like fdisk or cfdisk (it reads input from a file or stdin). It's generally used for partitioning drives from scripts or for partition table backup and recovery. Since it's command driv…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix