The program creates a list of attached disks without root privileges.

Add a Review
2 Downloads (This Week)
Last Update:
Download lsdisk-0.15.tar.gz
Browse All Files



Conditions: Kernel 2.6.31 (or later) with kernel filesystem sysfs (/sys) and proc (/proc)
Content : Devicename, start-/end-sectors, sector size; label and UUID; filesystem and mountpoint (if mounted).

Standard Call - List : blank od -l
- System name (if lsb_release installed)
- Architecture (with uname)
- Kernel loaded (/proc/cmdline)
- BIOS- or EFI-mode loaded
- Device (/dev/sdXY) and partition count
- Model name, disk size and logical/physical sector size
- start, end and size in sectors and Bytes
- filesystem (if mounted)
- mountpoint (if mounted)
- label

When the script runs with root privileges, there are three more information: EFI- or BIOS-Mainboard, name of the partition table (msdos. GPT, ...) and the partion-id by partition without UUID, e.G.: ID 05, extended.

Call with option -a:
List information about the partition table
- MBR (Boot + ID, Start-CHS, ID, End-CHS, LBA1, LBA2)
- GPT ( all entries, incl. GUIDs)

lsdisk Web Site

Update Notifications

Write a Review

User Reviews

Be the first to post a review of lsdisk!

Additional Project Details



Intended Audience

End Users/Desktop, System Administrators

User Interface

Command-line, Console/Terminal

Programming Language

Unix Shell


Screenshots can attract more users to your project.
Features can attract more users to your project.

Icons must be PNG, GIF, or JPEG and less than 1 MiB in size. They will be displayed as 48x48 images.