SMDEVINFO(1)

πŸ“¦
this version Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute

πŸ’– smdevinfo β€” the storage-media gossip girl πŸ’–

okay bestie, so smdevinfo is a local manual page (section 1, if you're keeping track, and you should be) and it's literally here to spill the tea on your storage media (SM) devices. no cap. let's get into it. ✨


✨ NAME ✨

smdevinfo β€” determines information about a storage media (SM) device

πŸ¦‹ SYNOPSIS πŸ¦‹

smdevinfo [-hivV] source

πŸ’… DESCRIPTION πŸ’…

so smdevinfo is a utility to determine information about a storage media (SM) device. that's it, that's the job, and it eats every time. πŸ‘‘

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

source is the source file. yes, that's the whole vibe β€” you point it at a source and it tells you what's up.

The options are as follows:

  • -h β€” shows this help. your lil emergency exit when you forget everything.
  • -i β€” ignore data file(s). it's giving "not me, not today" energy.
  • -v β€” verbose output to stderr. for when you want the full commentary track.
  • -V β€” print version. say hi to the era you're running.

🌈 ENVIRONMENT 🌈

None. nothing. zero. the environment is not involved in this relationship, bestie. 🫢

πŸŽ€ FILES πŸŽ€

None. also nothing. no files were harmed (or used) in the making of this output.

⭐ EXAMPLES ⭐

okay here's the moment you've been waiting for, the main character demo:

# 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

like. look at all that. bus type, vendor, model, serial, media type, media size, bytes per sector. she's serving data. πŸ’…βœ¨

πŸ’€ DIAGNOSTICS πŸ’€

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

heads up though β€” verbose and debug output are only printed when enabled at compilation. so if you compiled without them, no amount of -v is gonna summon them. iykyk. 😭

πŸ™ˆ BUGS πŸ™ˆ

Please report bugs of any kind to <joachim.metz@gmail.com> or on the project website: https://github.com/libyal/libsmdev/

(not me asking you to snitch on the bugs, but also... yes, exactly that. the maintainers want to know. πŸ›)

πŸ‘‘ AUTHOR πŸ‘‘

These man pages were written by Joachim Metz.

Copyright (C) 2010-2019, 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.

read that again bestie β€” NO warranty, not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. it's giving "you're on your own, but like, affectionately". πŸ’œ

🧚 SEE ALSO 🧚

  • smdevexport(1)

and that's the whole page, periodt. πŸ’– this cutie lives in the libsmdev package and this manual page is dated March 8, 2019. slay, stay safe out there with your storage media, and don't forget to -v when you need the drama. πŸ¦‹πŸŽ€πŸŒΈ