mkswap Verified for current stable LTS

Mkswap Command: Specify Swap Label Linux

Use for specify swap label linux with Mkswap. Exact CLI syntax to specify swap label linux using Mkswap.

When to use this: Use for specify swap label linux with Mkswap.

Command Syntax

sudo mkswap -L <label> </dev/sdXY>

Live Command Builder

Final Command

sudo mkswap -L <label> </dev/sdXY>

Command Breakdown

-L
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to specify swap label linux using Mkswap.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Mkswap directory