Skip to content

Implement /dev/byte (a generic byte source similiar to /dev/zero)

Alexander Holler lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1Implement /dev/byte (a generic byte source similiar to /dev/zero)Documentation/byte.txt Documentation/devices.txt drivers/char/Kconfig +1 more+136 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] Implement /dev/byte (a generic byte source similiar to /dev/zero)

Hello,

I don't know if this patch qualifies for inclusion into the mainline kernel, but maybe someone else would be interested in such, so I'm posting it here.

The main idea for that device was to have a source for 0xff to clear FLASH based devices. And to make it more generic, I've added the possibility to change the default value on a per file descriptor basis.

I don't want to discuss if such a device makes sense or if such should be done in userspace only. I like it as a device, otherwise I wouldn't have written it. So besides this message, I will not take part in such a discussion.

Regards,

Alexander Holler