as I've updated my branch, I discovered someone changed the way devices
are located. I didn't like the way it was done before and now I consider
it even worse. Yes, it has clear structure, but why do I have to write
"devices/\hw\pci0\00:01.0\ata-c1\d0"? Why can't it simply be the full
path?

This is a fully qualified device name. It's not a file system path because in HelenOS the devices have generally little to do with the file system.

How I miss "/dev/sda"...

If you miss persistent device names (which HelenOS misses, too :)), feel free to propose an infrastructure to have them.

Note that "bd/ata1disk0" is no better in this aspect (no more persistent) than "devices/\hw\pci0\00:01.0\ata-c1\d0". Even the "/dev/sda" in Linux is a wildly non-persistent name. The fact that it is a shorter string does not make it any better for persistently representing any particular device.


M.D.

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel

Reply via email to