parted: align-check
1
1 2.4.1 align-check
1 -----------------
1
1 -- Command: align-check ALIGN-TYPE N
1
1 Determine whether the starting sector of partition N meets the
1 disk's selected alignment criteria. ALIGN-TYPE must be 'minimal',
1 'optimal' or an abbreviation. When in script mode, if the
1 partition does not meet the alignment requirement, exit with status
1 1; otherwise (including on older kernels for which alignment data
1 is not available), continue processing any remaining commands.
1 Without '--script', print either 'N aligned' or 'N not aligned'.
1
1 Example:
1
1 (parted) align-check minimal 1
1 1 aligned
1