write_byte_cnt_show(9)
π write_byte_cnt_show(9) β the kernel API manual, but make it cute
okay so bestie, welcome to write_byte_cnt_show from the Kernel API Manual β¨ this one is a tiny little show-and-tell function and honestly it's giving "quiet kid in the back of the class who's actually a genius" energy π
πΈ NAME πΈ
write_byte_cnt_show β write byte count, aka the raw count of bytes written to tape ποΈβ¨ no cap, that's literally all it is.
π¦ SYNOPSIS π¦
ssize_t write_byte_cnt_show (struct device *dev , struct
device_attribute *attr , char *buf );
three args, one return type, zero drama π«Ά
π ARGUMENTS π
devβ astruct deviceπ₯οΈ the device in question, just vibing there being a device.attrβ the attribute structure π the whole reason we're all here.bufβ the buffer where the formatted data gets returned π₯ like, this is where you put the pretty output, bestie.
π SEE ALSO π
lowkey the whole friend group lives in the kernel file ./drivers/scsi/st.c and you should absolutely go say hi to all of them π:
scsi_tape_release(9)position_lost_in_reset_show(9)read_cnt_show(9)read_byte_cnt_show(9)read_ns_show(9)write_cnt_show(9)write_ns_show(9)in_flight_show(9)io_ns_show(9)other_cnt_show(9)resid_cnt_show(9)
periodt π they're all icons, they all show things, it's a whole squad π
π«Ά friendly reminder: this page lives under ./drivers/scsi β that's the neighborhood, iykyk.
and that's the whole page, bestie ππ this cutie came from ./drivers/scsi, dated October 2026, and it's filed as write_byte_cnt_show(9) β slay, go read some tape stats β¨ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms