Scroll to navigation

SMDEVINFO(1) General Commands Manual SMDEVINFO(1)

NAME

smdevinfodetermines information about a storage media (SM) device

SYNOPSIS

smdevinfo [-hvV] source

DESCRIPTION

smdevinfo is a utility to determine information about a storage media (SM) device

smdevinfo is part of the libsmdev package. libsmdev is a library to access and read storage media (SM) devices

source is the source device.

The options are as follows:

shows this help
verbose output to stderr
print version

ENVIRONMENT

None

FILES

None

EXAMPLES

# sudo smdevinfo /dev/sdg
smdevinfo 20130329

Device information:
	bus type		: USB
	vendor			: TestCo
	model			: TEST-98Z7YX6
	serial			: 123A45678B9C

Storage media information:
	media type		: Fixed
	media size		: 931 GiB (1000204886016 bytes)
	bytes per sector	: 4096

DIAGNOSTICS

Errors, verbose and debug output are printed to stderr when verbose output -v is enabled. Verbose and debug output are only printed when enabled at compilation.

AUTHORS

Joachim Metz <joachim.metz@gmail.com>

BUGS

Please report bugs of any kind on the project issue tracker: https://github.com/libyal/libsmdev/issues

COPYRIGHT

Copyright (C) 2010-2026, Joachim Metz <joachim.metz@gmail.com>.

This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

June 23, 2026 Linux 6.12.0-160000.37-default