On Sun, 25 Feb 2024 07:21:07 -0300
Crystal Kolipe <kolip...@exoticsilicon.com> wrote:

> In most cases, unless we are talking about a low-level disk utility, if
> userland code is trying to find out the size of a raw block device then it
> seems like a design error.

There are many valid reason why applications may want to work with
block or raw devices directly. A design error is to place artificial
barriers which stop people from doing useful things with those devices.

The whole idea of Unix was "everything is a file" and the sooner people
get rid of magic ioctls the better.

Reply via email to