SolarOS 4.17.7 manual · command
disk
Show persistent-storage status.
Usage
| Usage | Description |
|---|---|
disk [status] | Show persistent-storage status. |
disk lsblk | List internal flash and detected removable block devices and partitions. |
disk mount [flash|sd0pN] [mount] | Mount the default volume or an explicit persistent volume. |
disk mount <image.img> <mount> [partition] | Mount a raw FAT image; select an MBR primary partition from 1 to 4 if needed. |
disk create <image.img> <MiB> | Create a new MBR/FAT hard-disk image without overwriting an existing file. |
disk umount [flash|sd0pN|imgN|mount] | Unmount the default volume or an explicit volume/image/mount point. |
disk format <flash|sd0|sd0pN> --force | Create a FAT filesystem, permanently erasing the unmounted target. |