SMDEVINFO(1)
π 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 πΈ
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. π¦ππΈ
π¦ where this page comes from
- debian bookworm: libsmdev-utils 20190315-2+b2 Β· LGPL-3.0-or-later
- debian trixie: libsmdev-utils 20190315-3 Β· LGPL-3.0-or-later
- ubuntu jammy: libsmdev-utils 20190315-2build1 Β· LGPL-3.0-or-later
- ubuntu noble: libsmdev-utils 20190315-2.1build1 Β· LGPL-3.0-or-later
- ubuntu questing: libsmdev-utils 20190315-3
- ubuntu resolute: libsmdev-utils 20190315-3build1 Β· LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms