On 9/4/21 1:00 AM, Greg KH wrote:
Why are block devices odd and need to have spaces found in their names?
They aren't. The functions are used to identify the block device names within the buffer that is passed to attribute store functions, which may contain whitespace.
And are you sure we do not already have string functions that do this?
I did look a bit. I can't be sure, but I didn't find anything similar. -- ======================================================================== In Soviet Russia, Google searches you! ========================================================================