]> git.ipfire.org Git - thirdparty/util-linux.git/blame - disk-utils/sfdisk.8
Merge branch 'path-fixes' of https://github.com/rudimeier/util-linux
[thirdparty/util-linux.git] / disk-utils / sfdisk.8
CommitLineData
5aac7429
KZ
1.\" sfdisk.8 -- man page for sfdisk
2.\" Copyright (C) 2014 Karel Zak <kzak@redhat.com>
fd6b7a7f 3.\"
5aac7429
KZ
4.\" Permission is granted to make and distribute verbatim copies of this
5.\" manual provided the copyright notice and this permission notice are
6.\" preserved on all copies.
7.\"
8.\" Permission is granted to copy and distribute modified versions of this
9.\" manual under the conditions for verbatim copying, provided that the
10.\" entire resulting derived work is distributed under the terms of a
11.\" permission notice identical to this one.
12.\"
7f576918 13.TH SFDISK 8 "June 2015" "util-linux" "System Administration"
fd6b7a7f 14.SH NAME
5aac7429 15sfdisk \- display or manipulate a disk partition table
fd6b7a7f 16.SH SYNOPSIS
b61dfcf5 17.B sfdisk
f49ccec2
BS
18[options]
19.I device
20.RB [ \-N
21.IR partition-number ]
5aac7429
KZ
22.sp
23.B sfdisk
f49ccec2
BS
24[options]
25.I command
fd6b7a7f
KZ
26.SH DESCRIPTION
27.B sfdisk
689d83de 28is a script-oriented tool for partitioning any block device.
fd6b7a7f 29
d5206b96 30Since version 2.26
5dbff4c0 31.B sfdisk
5aac7429
KZ
32supports MBR (DOS), GPT, SUN and SGI disk labels, but no longer provides any
33functionality for CHS (Cylinder-Head-Sector) addressing. CHS has
34never been important for Linux, and this addressing concept does not make any
35sense for new devices.
689d83de 36.sp
b69719b6 37.B sfdisk
86800f5d
KZ
38(since version 2.26)
39.B aligns the start and end of partitions
40to block-device I/O limits when relative sizes are specified, when the default
41values are used or when multiplicative suffixes (e.g MiB) are used for sizes.
42It is possible that partition size will be optimized (reduced or enlarged) due
43to alignment if the start offset is specified exactly in sectors and partition
44size relative or by multiplicative suffixes.
45
46The recommended way is not to specify start offsets at all and specify
47partition size in MiB, GiB (or so). In this case sfdisk align all partitions
48to block-device I/O limits (or when I/O limits are too small then to megabyte
49boundary to keep disk layout portable). If this default behaviour is unwanted
208b2ef0
KZ
50(usually for very small partitions) then specify offsets and sizes in
51sectors. In this case sfdisk entirely follows specified numbers without any
52optimization.
689d83de 53.sp
a8a4887b 54.B sfdisk
689d83de
BS
55does not create the standard system partitions for SGI and SUN disk labels like
56.BR fdisk (8)
57does.
a8a4887b
KZ
58It is necessary to explicitly create all partitions including whole-disk system
59partitions.
60
5aac7429
KZ
61.SH COMMANDS
62The commands are mutually exclusive.
fd6b7a7f 63.TP
f49ccec2 64.RB [ \-N " \fIpartition-number\fR] " \fIdevice\fR
689d83de 65The default \fBsfdisk\fR command is to read the specification for the desired
5aac7429 66partitioning of \fIdevice\fR from standard input, and then create a partition
689d83de
BS
67table according to the specification. See below for the description of the
68input format. If standard input is a terminal, then \fBsfdisk\fR starts an
69interactive session.
70.sp
71If the option \fB\-N\fR is specified, then the changes are applied to
7f576918 72the partition addressed by \fIpartition-number\fR. The unspecified fields
d754d554
KZ
73of the partition are not modified.
74.sp
7f576918
BS
75Note that it's possible to address an unused partition with \fB\-N\fR.
76For example, an MBR always contains 4 partitions, but the number of used
77partitions may be smaller. In this case \fBsfdisk\fR follows the default
78values from the partition table and does not use built-in defaults for the
c805c369 79unused partition given with \fB\-N\fR. See also \fB\-\-append\fR.
fd6b7a7f 80.TP
c805c369
BS
81.BR \-A , " \-\-activate \fIdevice " [ \fIpartition-number ...]
82Switch on the bootable flag for the specified partitions.
83If no \fIpartition-number\fR is specified,
84then list the partitions with an enabled flag.
9a79aa6e 85.TP
c805c369
BS
86.BR "\-\-delete \fIdevice " [ \fIpartition-number ...]
87Delete all or the specified partitions.
aab9be66 88.TP
9a79aa6e 89.BR \-d , " \-\-dump " \fIdevice\fR
7f576918 90Dump the partitions of a device in a format that is usable as input to \fBsfdisk\fR.
689d83de 91See the section \fBBACKING UP THE PARTITION TABLE\fR.
9a79aa6e 92.TP
b06c1ca6 93.BR \-g , " \-\-show\-geometry " [ \fIdevice ...]
349ac672
KZ
94List the geometry of all or the specified devices. For backward
95compatibility the deprecated option \fB\-\-show\-pt\-geometry\fR have the same
96meaning as this one.
7f576918 97.TP
a592b4b5 98.BR \-J , " \-\-json " \fIdevice\fR
7f576918
BS
99Dump the partitions of a device in JSON format. Note that \fBsfdisk\fR is
100not able to use JSON as input format.
9a79aa6e 101.TP
689d83de
BS
102.BR \-l , " \-\-list " [ \fIdevice ...]
103List the partitions of all or the specified devices. This command can be used
9a79aa6e
KZ
104together with \fB\-\-verify\fR.
105.TP
8abdb912
KZ
106.BR \-F , " \-\-list-free " [ \fIdevice ...]
107List the free unpartitioned areas on all or the specified devices.
108.TP
c805c369
BS
109.BR "\-\-part\-attrs \fIdevice partition-number " [ \fIattributes ]
110Change the GPT partition attribute bits. If \fIattributes\fR is not specified,
111then print the current partition settings. The \fIattributes\fR argument is a
689d83de 112comma- or space-delimited list of bits. The currently supported attribute
d1b7bfe5 113bits are: RequiredPartition, NoBlockIOProtocol, LegacyBIOSBootable
689d83de 114and GUID-specific bits in the range from 48 to 63. For example, the string
d1b7bfe5 115"RequiredPartition,50,51" sets three bits.
bc9e8547 116.TP
c805c369 117.BR "\-\-part\-label \fIdevice partition-number " [ \fIlabel ]
80840c16 118Change the GPT partition name (label). If \fIlabel\fR is not specified,
689d83de 119then print the current partition label.
e36fb07a 120.TP
c805c369 121.BR "\-\-part\-type \fIdevice partition-number " [ \fItype ]
689d83de
BS
122Change the partition type. If \fItype\fR is not specified, then print the
123current partition type. The \fItype\fR argument is hexadecimal for MBR,
124or a GUID for GPT. For backward compatibility the options \fB\-c\fR and
c805c369 125\fB\-\-id\fR have the same meaning as this one.
e36fb07a 126.TP
c805c369 127.BR "\-\-part\-uuid \fIdevice partition-number " [ \fIuuid ]
689d83de
BS
128Change the GPT partition UUID. If \fIuuid\fR is not specified,
129then print the current partition UUID.
e36fb07a 130.TP
9a17d946 131.BR \-r , " \-\-reorder " \fIdevice
c805c369 132Renumber the partitions, ordering them by their start offset.
9a17d946 133.TP
b06c1ca6 134.BR \-s , " \-\-show\-size " [ \fIdevice ...]
b0ff9a76
CM
135List the sizes of all or the specified devices in units of 1024 byte size.
136This command is DEPRECATED in favour of
137.BR blockdev (1).
9a79aa6e 138.TP
b06c1ca6 139.BR \-T , " \-\-list\-types"
689d83de 140Print all supported types for the current disk label or the label specified by
9a79aa6e 141\fB\-\-label\fR.
3a5bdedf 142.TP
3f43f5d0 143.BR \-V , " \-\-verify " [ \fIdevice ...]
689d83de 144Test whether the partition table and partitions seem correct.
5aac7429
KZ
145
146.SH OPTIONS
fd6b7a7f 147.TP
703ab082 148.BR \-a , " \-\-append"
689d83de 149Don't create a new partition table, but only append the specified partitions.
fd6b7a7f 150.TP
5aac7429 151.BR \-b , " \-\-backup"
689d83de
BS
152Back up the current partition table sectors before starting the partitioning.
153The default backup file name is ~/sfdisk-<device>-<offset>.bak; to use another
7f576918 154name see option \fB\-O\fR, \fB\-\-backup\-file\fR.
f74478a6 155.TP
7e3b3f47 156.BR \-\-color [ =\fIwhen ]
da25898b
KZ
157Colorize the output. The optional argument \fIwhen\fP
158can be \fBauto\fR, \fBnever\fR or \fBalways\fR. If the \fIwhen\fR argument is omitted,
7f576918
BS
159it defaults to \fBauto\fR. The colors can be disabled; for the current built-in default
160see the \fB\-\-help\fR output. See also the \fBCOLORS\fR section.
da25898b 161.TP
5aac7429
KZ
162.BR \-f , " \-\-force"
163Disable all consistency checking.
f74478a6 164.TP
80840c16
BS
165.BR \-\-Linux
166Deprecated and ignored option. Partitioning that is compatible with
7f576918 167Linux (and other modern operating systems) is the default.
80840c16
BS
168.TP
169.BR \-n , " \-\-no\-act"
170Do everything except writing to the device.
171.TP
172.B \-\-no\-reread
173Do not check through the re-read-partition-table ioctl whether the device is in use.
174.TP
d4a90151
KZ
175.B \-\-no\-tell\-kernel
176Don't tell the kernel about partition changes. This option is recommended together
177with \fB\-\-no\-reread\fR to modify a partition on used disk. The modified partition
178should not be used (e.g. mounted).
179.TP
c805c369 180.BR \-O , " \-\-backup\-file " \fIpath
80840c16
BS
181Override the default backup file name. Note that the device name and offset
182are always appended to the file name.
f42205d8 183.TP
7e3b3f47 184.BR \-\-move-data [ =\fIpath ]
c805c369
BS
185Move data after partition relocation, for example when moving the beginning
186of a partition to another place on the disk. The size of the partition has
187to remain the same, the new and old location may overlap. This option requires
188option \fB\-N\fR in order to be processed on one specific partition only.
f42205d8
KZ
189
190The \fIpath\fR overrides the default log file name
c805c369
BS
191(the default is ~/sfdisk-<devname>.move). The log file contains information
192about all read/write operations on the partition data.
f42205d8 193
c805c369 194Note that this operation is risky and not atomic. \fBDon't forget to backup your data!\fR
f42205d8 195
c805c369
BS
196In the example below, the first command creates a 100MiB free area before
197the first partition and moves the data it contains (e.g. a filesystem),
198the next command creates a new partition from the free space (at offset 2048),
199and the last command reorders partitions to match disk order
200(the original sdc1 will become sdc2).
f42205d8
KZ
201.RS
202.sp
203.B "echo '+100M,' | sfdisk --move-data /dev/sdc -N 1"
204.br
205.B "echo '2048,' | sfdisk /dev/sdc --append
206.br
207.B sfdisk /dev/sdc --reorder
208.sp
209.RE
210
80840c16 211.TP
689d83de 212.BR \-o , " \-\-output " \fIlist
01f9286c
KZ
213Specify which output columns to print. Use
214.B \-\-help
215to get a list of all supported columns.
689d83de 216.sp
01f9286c
KZ
217The default list of columns may be extended if \fIlist\fP is
218specified in the format \fI+list\fP (e.g. \fB-o +UUID\fP).
219.TP
5aac7429
KZ
220.BR \-q , " \-\-quiet"
221Suppress extra info messages.
f74478a6 222.TP
689d83de 223.BR \-u , " \-\-unit S"
b0ff9a76
CM
224Deprecated option. Only the sector unit is supported. This option is not
225supported when using the --show-size command.
f74478a6 226.TP
689d83de
BS
227.BR \-X , " \-\-label " \fItype
228Specify the disk label type (e.g. \fBdos\fR, \fBgpt\fR, ...). If this option
229is not given, then \fBsfdisk\fR defaults to the existing label, but if there
35ca5118
KZ
230is no label on the device yet, then the type defaults to \fBdos\fR. The default
231or the current label may be overwritten by the "label: <name>" script header
232line. The option \fB\-\-label\fR does not force \fBsfdisk\fR to create empty
233disk label (see the \fBEMPTY DISK LABEL\fR section below).
01f9286c 234.TP
b06c1ca6 235.BR \-Y , " \-\-label\-nested " \fItype
689d83de
BS
236Force editing of a nested disk label. The primary disk label has to exist already.
237This option allows to edit for example a hybrid/protective MBR on devices with GPT.
15b5e942
KZ
238
239.TP
589b6931
BS
240.BR -w , " \-\-wipe "\fIwhen
241Wipe filesystem, RAID and partition-table signatures from the device, in order
242to avoid possible collisions. The argument \fIwhen\fR can be \fBauto\fR,
243\fBnever\fR or \fBalways\fR. When this option is not given, the default is
bb881527
KZ
244\fBauto\fR, in which case signatures are wiped only when in interactive mode;
245except the old partition-table signatures which are always wiped before create
246a new partition-table if the argument \fIwhen\fR is not \fBnever\fR. In all
247cases detected signatures are reported by warning messages before a new
248partition table is created. See also
15b5e942
KZ
249.BR wipefs (8)
250command.
251
3d6db3fd
KZ
252.TP
253.BR -W , " \-\-wipe-partitions "\fIwhen
254Wipe filesystem, RAID and partition-table signatures from a newly created
255partitions, in order to avoid possible collisions. The argument \fIwhen\fR can
256be \fBauto\fR, \fBnever\fR or \fBalways\fR. When this option is not given, the
257default is \fBauto\fR, in which case signatures are wiped only when in
258interactive mode and after confirmation by user. In all cases detected
259signatures are reported by warning messages after a new partition is created.
260See also
261.BR wipefs (8)
262command.
263
689d83de
BS
264.TP
265.BR \-v , " \-\-version"
266Display version information and exit.
e1422de3 267.TP
5aac7429
KZ
268.BR \-h , " \-\-help"
269Display help text and exit.
fd6b7a7f 270
9a79aa6e
KZ
271.SH "INPUT FORMATS"
272.B sfdisk
273supports two input formats and generic header lines.
274
275.B Header lines
276.RS
689d83de
BS
277The optional header lines specify generic information that apply to the partition
278table. The header-line format is:
279.RS
280.sp
9a79aa6e 281.B "<name>: <value>"
689d83de
BS
282.sp
283.RE
9a79aa6e
KZ
284The currently recognized headers are:
285.RS
286.TP
287.B unit
689d83de 288Specify the partitioning unit. The only supported unit is \fBsectors\fR.
9a79aa6e
KZ
289.TP
290.B label
689d83de 291Specify the partition table type. For example \fBdos\fR or \fBgpt\fR.
9a79aa6e
KZ
292.TP
293.B label-id
689d83de
BS
294Specify the partition table identifier. It should be a hexadecimal number
295(with a 0x prefix) for MBR and a UUID for GPT.
9a79aa6e
KZ
296.RE
297.sp
689d83de 298Note that it is only possible to use header lines before the first partition
9a79aa6e
KZ
299is specified in the input.
300.RE
301
689d83de
BS
302.B Unnamed-fields format
303.RS
9a79aa6e 304.RS
689d83de
BS
305.sp
306.I start size type bootable
307.sp
308.RE
9a79aa6e 309where each line fills one partition descriptor.
689d83de 310.sp
11aa2aa2
IW
311Fields are separated by whitespace, comma or semicolon possibly
312followed by whitespace; initial and trailing whitespace is ignored.
313Numbers can be octal, decimal or hexadecimal; decimal is the default.
314When a field is absent, empty or specified as '-' a default value is
315used. But when the \fB-N\fR option (change a single partition) is
316given, the default for each field is its previous value.
689d83de 317.sp
9a79aa6e
KZ
318The default value of
319.I start
689d83de 320is the first non-assigned sector aligned according to device I/O limits.
c805c369 321The default start offset for the first partition is 1 MiB. The offset may
80840c16 322be followed by the multiplicative suffixes (KiB, MiB, GiB, TiB, PiB,
ce9f568c 323EiB, ZiB and YiB) then the number is interpreted as offset in bytes.
689d83de 324.sp
9a79aa6e
KZ
325The default value of
326.I size
11aa2aa2
IW
327indicates "as much as possible"; i.e. until the next partition or
328end-of-device. A numerical argument is by default interpreted as a
329number of sectors, however if the size is followed by one of the
330multiplicative suffixes (KiB, MiB, GiB, TiB, PiB, EiB, ZiB and YiB)
331then the number is interpreted as the size of the partition in bytes
332and it is then aligned according to the device I/O limits. A '+' can
333be used instead of a number to enlarge the partition as much as
334possible. Note '+' is equivalent to the default behaviour for a new
335partition; existing partitions will be resized as required.
689d83de
BS
336.sp
337The partition
9a79aa6e 338.I type
689d83de
BS
339is given in hex for MBR (DOS), without the 0x prefix, a GUID string for GPT, or
340a shortcut:
9a79aa6e
KZ
341.RS
342.TP
689d83de 343.B L
9a79aa6e
KZ
344Linux; means 83 for MBR and 0FC63DAF-8483-4772-8E79-3D69D8477DE4 for GPT.
345.TP
689d83de 346.B S
9a79aa6e
KZ
347swap area; means 82 for MBR and 0657FD6D-A4AB-43C4-84E5-0933C84B4F4F for GPT
348.TP
349.B E
350extended partition; means 5 for MBR
351.TP
352.B H
353home partition; means 933AC7E1-2EB4-4F13-B844-0E14E2AEF915 for GPT
354.TP
355.B X
356linux extended partition; means 85 for MBR.
d09c06ba
KZ
357.TP
358.B U
300e24a8 359EFI System partition, means EF for MBR and C12A7328-F81F-11D2-BA4B-00A0C93EC93B for GPT
9a79aa6e 360.RE
11aa2aa2
IW
361.PP
362The default
363.I type
364value is
365.I L
9a79aa6e 366
689d83de 367.I bootable
11aa2aa2
IW
368is specified as [\fB*\fR|\fB-\fR], with as default not-bootable. The
369value of this field is irrelevant for Linux - when Linux runs it has
370been booted already - but ir might play a role for certain boot
371loaders and for other operating systems.
9a79aa6e
KZ
372.RE
373
689d83de 374.B Named-fields format
9a79aa6e 375.RS
d35df4db 376This format is more readable, robust, extensible and allows to specify additional
80840c16 377information (e.g. a UUID). It is recommended to use this format to keep your scripts
9a79aa6e 378more readable.
689d83de
BS
379.RS
380.sp
381.RI [ "device \fB:" ] " name" [\fB= value "], ..."
382.sp
383.RE
384The
9a79aa6e 385.I device
c805c369 386field is optional. \fBsfdisk\fR extracts the partition number from the
689d83de 387device name. It allows to specify the partitions in random order.
97325257 388This functionality is mostly used by \fB\-\-dump\fR.
689d83de 389Don't use it if you are not sure.
9a79aa6e
KZ
390
391The
392.I value
689d83de
BS
393can be between quotation marks (e.g. name="This is partition name").
394The currently supported fields are:
9a79aa6e
KZ
395.RS
396.TP
689d83de
BS
397.BI start= number
398The first non-assigned sector aligned according to device I/O limits. The default
ce9f568c
KZ
399start offset for the first partition is 1 MiB. The offset may be followed by
400the multiplicative suffixes (KiB, MiB, GiB, TiB, PiB, EiB, ZiB and YiB) then
401the number is interpreted as offset in bytes.
9a79aa6e 402.TP
689d83de
BS
403.BI size= number
404Specify the partition size in sectors. The number may be followed by the multiplicative
9a79aa6e
KZ
405suffixes (KiB, MiB, GiB, TiB, PiB, EiB, ZiB and YiB), then it's interpreted as size
406in bytes and the size is aligned according to device I/O limits.
407.TP
689d83de
BS
408.B bootable
409Mark the partition as bootable.
9a79aa6e 410.TP
689d83de
BS
411.BI attrs= string
412Partition attributes, usually GPT partition attribute bits. See
b06c1ca6 413\fB\-\-part\-attrs\fR for more details about the GPT-bits string format.
9a79aa6e 414.TP
689d83de 415.BI uuid= string
9a79aa6e
KZ
416GPT partition UUID.
417.TP
689d83de 418.BI name= string
9a79aa6e
KZ
419GPT partition name.
420.TP
689d83de
BS
421.BI type= code
422A hexadecimal number (without 0x) for an MBR partition, or a GUID for a GPT partition.
423For backward compatibility the \fBId=\fR field has the same meaning.
9a79aa6e
KZ
424.RE
425.RE
426
35ca5118
KZ
427.SH "EMPTY DISK LABEL"
428.B sfdisk
429does not create partition table without partitions by default. The lines with
430partitions are expected in the script by default. The empty partition table has
431to be explicitly requested by "label: <name>" script header line without any
432partitions lines. For example:
433.RS
434.sp
435.B "echo 'label: gpt' | sfdisk /dev/sdb"
436.sp
437.RE
438creates empty GPT partition table. Note that the \fB\-\-append\fR disables this feature.
439
689d83de
BS
440.SH "BACKING UP THE PARTITION TABLE"
441It is recommended to save the layout of your devices.
9a79aa6e
KZ
442.B sfdisk
443supports two ways.
689d83de
BS
444.sp
445Use the \fB\-\-dump\fR option to save a description of the device layout
446to a text file. The dump format is suitable for later \fBsfdisk\fR input.
447For example:
9a79aa6e
KZ
448.RS
449.sp
450.B "sfdisk --dump /dev/sda > sda.dump"
451.sp
452.RE
689d83de 453This can later be restored by:
9a79aa6e
KZ
454.RS
455.sp
456.B "sfdisk /dev/sda < sda.dump"
457.RE
458
689d83de
BS
459If you want to do a full (binary) backup of all sectors where the
460partition table is stored,
461then use the \fB\-\-backup\fR option. It writes the sectors to
462~/sfdisk-<device>-<offset>.bak files. The default name of the backup file can
463be changed with the \fB\-\-backup\-file\fR option. The backup files
464contain only raw data from the \fIdevice\fR.
465Note that the same concept of backup files is used by
466.BR wipefs (8).
467For example:
9a79aa6e
KZ
468.RS
469.sp
470.B "sfdisk --backup /dev/sda"
471.sp
472.RE
689d83de 473The GPT header can later be restored by:
9a79aa6e
KZ
474.RS
475.sp
c805c369
BS
476.nf
477.B "dd if=~/sfdisk-sda-0x00000200.bak of=/dev/sda \e"
478.B " seek=$((0x00000200)) bs=1 conv=notrunc"
479.fi
9a79aa6e
KZ
480.sp
481.RE
689d83de
BS
482Note that \fBsfdisk\fR since version 2.26 no longer provides the \fB\-I\fR option to
483restore sectors.
5593132a 484.BR dd (1)
9a79aa6e
KZ
485provides all necessary functionality.
486
da25898b
KZ
487.SH COLORS
488Implicit coloring can be disabled by an empty file \fI/etc/terminal-colors.d/sfdisk.disable\fR.
489
490See
491.BR terminal-colors.d (5)
492for more details about colorization configuration. The logical color names
493supported by
494.B sfdisk
495are:
496.TP
497.B header
498The header of the output tables.
499.TP
500.B warn
501The warning messages.
502.TP
503.B welcome
504The welcome message.
505
9a79aa6e 506.SH NOTES
689d83de 507Since version 2.26 \fBsfdisk\fR no longer provides the \fB\-R\fR or
b06c1ca6 508\fB\-\-re\-read\fR option to force the kernel to reread the partition table.
689d83de 509Use \fBblockdev \-\-rereadpt\fR instead.
9a79aa6e 510.PP
b06c1ca6
WP
511Since version 2.26 \fBsfdisk\fR does not provide the \fB\-\-DOS\fR, \fB\-\-IBM\fR, \fB\-\-DOS\-extended\fR,
512\fB\-\-unhide\fR, \fB\-\-show\-extended\fR, \fB\-\-cylinders\fR, \fB\-\-heads\fR, \fB\-\-sectors\fR,
513\fB\-\-inside\-outer\fR, \fB\-\-not\-inside\-outer\fR options.
9a79aa6e 514
68e422ec 515.SH ENVIRONMENT
47dd6918
KZ
516.IP SFDISK_DEBUG=all
517enables sfdisk debug output.
68e422ec
KZ
518.IP LIBFDISK_DEBUG=all
519enables libfdisk debug output.
520.IP LIBBLKID_DEBUG=all
521enables libblkid debug output.
522.IP LIBSMARTCOLS_DEBUG=all
523enables libsmartcols debug output.
524
612721db 525.SH "SEE ALSO"
612721db 526.BR fdisk (8),
5aac7429 527.BR cfdisk (8),
c64061c9
VD
528.BR parted (8),
529.BR partprobe (8),
5593132a 530.BR partx (8)
689d83de 531
5aac7429
KZ
532.SH AUTHOR
533Karel Zak <kzak@redhat.com>
534.PP
535The current sfdisk implementation is based on the original sfdisk
536from Andries E. Brouwer.
537
86d62711 538.SH AVAILABILITY
601d12fb 539The sfdisk command is part of the util-linux package and is available from
d673b74e 540https://www.kernel.org/pub/linux/utils/util-linux/.