Re: cdrecord hangs my computer
From: Linus Torvalds
Date: Sun Dec 07 2003 - 11:21:45 EST
On Sun, 7 Dec 2003, Eduard Bloch wrote:
> But somehow most Windows programers have easy way to deal with devices,
> they have clear paths to get hardware access where on Linux there is
> often something not thought out well which ruins your day. Examples?
What? There _is_ a very well thought out way of accessing devices in UNIX.
It is way superior to the mess that is windows. It is called a "device
node", and a hypothetical program might use a syntax like this:
to access the device "/dev/hdc".
This is nothing new. This is how UNIX has worked for the last thirty years
or so. It's not only quite readable, but because everybody uses device
nodes the same way, it's consistent which makes it even more pleasant to
use. So if you were to want to mount the thing you recorded, you'd use
mount /dev/hdc mntpoint
and notice how we used the same name again?
In contrast, the old cdrecord interfaces are an UNBELIEVABLE PILE OF CRAP!
It's an interface that is based on some random hardware layout mechanism
that isn't even TRUE any more, and hasn't been true for a long time. It's
not helpful to the user, and it doesn't match how devices are accessed by
everything else on the system.
It's bad from a technical standpoint (anybody who names a generic device
with a flat namespace is just basically clueless), and it's bad from a
usability standpoint. It has _zero_ redeeming qualities.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/