tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Issues with lseek(2) on a block device



On Sun, Feb 25, 2024 at 04:41:37PM +0000, Sad Clouds wrote:
> 
> The whole idea of Unix was "everything is a file" and the sooner people
> get rid of magic ioctls the better.

But everything is *not*, actually, a file, and forcing things that
are not files into file-like shapes is not always the right design
choice.

As simple as possible, but no simpler.

-- 
  Thor Lancelot Simon	                                     tls%panix.com@localhost

  "The inconsistency is startling, though admittedly, if consistency is to
   be abandoned or transcended, there is no problem."	      - Noam Chomsky


Home | Main Index | Thread Index | Old Index