Skip to content

Latest commit

 

History

51 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lsblk for OpenBSD

This project aims to implement a clone of lsblk(8) for OpenBSD.

Install

# Clone the repo.
git clone git://stuerz.xyz/openbsd/lsblk

# Build & Install lsblk(8).
make && doas make install

# Optional: Make non-roots be able to run lsblk(8).
doas make unroot

Quirks

  • It requires root privileges Workaround: make unroot

TODO

  • lsblk sd0
  • lsblk sd0a
  • lsblk -f duid,size
  • Don't use manual padding.
  • Support disks that have more than 2 letters, like vnd0
  • Sort drives by name
  • Add an option to make the output script-friendly (like -c for CSV).
  • Maybe: Display the child device of a RAID partition
  • Show the DUID
  • Explain the exact meaning of every field in lsblk.8

Contributing

If you find any bugs or have suggestions/patches, please contact me at benni@stuerz.xyz.

About

Clone of util-linux' lsblk(8) for OpenBSD

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages