Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 500 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 500 Bytes

This linux-compatible console tool displays MBR contents

Run this as a root user, or a member of disk group

Installation

git clone https://github.com/sekvanto/lsmbr/
cd lsmbr
gcc -Wall lsmbr.c -o lsmbr

Usage

sudo ./lsmbr <disk>

Examples

This tool reads first 512 bytes on a specified disk, then analyzes it and outputs detailed info.

Example on dos-labeled disk:

dos1 dos2

Gpt-labeled disk:

gpt