message_store(9)
π NAME π
message_store β write a new message via sysfs. Bestie, welcome to message_store(9) from the Kernel API Manual: itβs literally the sysfs hook that writes a new message. Periodt. π
π SYNOPSIS π
ssize_t message_store (struct device *dev , struct device_attribute
*attr , const char *buf , size_t count );
π§ ARGUMENTS π§
devβ the display device. Thatβs the device in question, no cap.attrβ the display message attribute. The display-message attribute, exactly as advertised.bufβ the buffer containing the new message. Your new message lives here.countβ the size of the message inbuf. Yep, the count of that message.
π DESCRIPTION π
Okay so message_store writes a new message to display or scroll across the display from sysfs. Thatβs the whole vibe: new message in, display-or-scroll out. Slay. β¨
π RETURN π
It returns the size of the message on success, else -ERRNO. Iconic when it works, dramatic sigh when it doesnβt. π
π¦ SEE ALSO π¦
Kernel file ./drivers/auxdisplay/line-display.c, plus these besties:
struct linedisp_attachment(9)linedisp_scroll(9)linedisp_display(9)message_show(9)linedisp_attach(9)linedisp_detach(9)linedisp_register(9)linedisp_unregister(9)
Source/version vibes: this page lives under ./drivers/auxdisplay, dated October 2026, and yes bestie, itβs the message_store(9) man page. Bye, go write that message ππ«Ά
π¦ 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