Currently, this patch handles all devfs cases (it uses realpath to resolve
symlinks). However, submitter supposes, that we should have a generic way
to detect which device the file belongs to. I'll leave the PR in suspended
state for a better solution come up.
PR: ports/101450
Reported by: Chad Fraleigh <chadf@bookcase.com>
Approved by: multimedia (ahze)