resid_cnt_show(9)
β¨ resid_cnt_show(9) β¨
okay so we're deep in the Kernel API Manual today bestie, and this one is called resid_cnt_show β say that three times fast, I dare you π
πΈ NAME πΈ
resid_cnt_show β a literal count of the number of times we get a residual count, and honestly? it's giving detective work π because this should indicate someone is out there issuing reads larger than the block size on tape. like, ma'am, the block size is right there π
π¦ SYNOPSIS π¦
ssize_t resid_cnt_show (struct device *dev , struct device_attribute *attr , char *buf );
like yes, that's the whole signature, no cap β¨
π ARGUMENTS π
devβ astruct deviceπ«Ά that's it, that's the whole description, keep it movingattrβ the attribute structure π our lil metadata bestiebufβ the buffer where the formatted data goes to live its best life π
π₯ SEE ALSO π₯
- Kernel file
./drivers/scsi/st.cβ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_byte_cnt_show(9)write_ns_show(9)in_flight_show(9)io_ns_show(9)other_cnt_show(9)
like the whole show-family reunion tour πβ¨ go read them all, iykyk
π quick vibe check: this page is short because the original is short, not because i skipped anything. every single one of these refs is above, fr fr π«Ά
so yeah, that's the whole page π§ from ./drivers/scsi, dated October 2026, this has been your girl signing off β stay iconic, count your residuals, and don't be the one issuing reads bigger than the block size ππβ
π¦ 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