carta
smdevinfo(1)

smdevinfo1

Determines information about a storage media (sm) device

Usage

smdevinfo [-hivV] source

Overview

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 file.

The options are as follows:

-h

shows this help

-i

ignore data file(s)

-v

verbose output to stderr

-V

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.

History

  • Debian 13 (Trixie) to Debian 11 (Bullseye): the text shown here
  • Debian 10 (Buster)
  • Debian 9 (Stretch)

Bugs

Please report bugs of any kind to <[email protected]> or on the project website: https://github.com/libyal/libsmdev/

Author

These man pages were written by Joachim Metz.

From libsmdev-utils 20190315-3 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.