Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

Methods

Constructors

Properties

Methods

  • lsblk(all?: ILsblk): Promise<Record<never, never>>
  • List all block devices

    example

    Get basic information

    await lsblk();
    await lsblk({all: false});
    example

    Get all information

    await lsblk({all: true});
    

    Parameters

    • all: ILsblk = {}

      toggles --all flag in lsblk

    Returns Promise<Record<never, never>>

Generated using TypeDoc