On Tue, 30 Jul 2013 14:01:10 +0200, Martin Decky <[email protected]> wrote:

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.

Yes, I guessed that.


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.

No, I don't mean persistency. I really just mean user-friendliness. From my point of view - which is "I just want to install system on this or that device" - it is just terrible. When I use Linux I usually care only about devices like /dev/sda or /dev/sdb. I don't need to know about every device ever connected to the system.



M.D.

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

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

Reply via email to