blockdev(8) - SerenityOS man pages

#Name

blockdev - query block devices

#Synopsis

$ blockdev [options] <device>

#Description

The blockdev command call ioctls on the given block device.

#Options

#Examples

# Get disk size
# blockdev -s /dev/hda
863718912

# Get block size
# blockdev -b /dev/hda
512