Kroah-Hartman: AF_BUS, D-Bus, and the Linux kernel
Kroah-Hartman: AF_BUS, D-Bus, and the Linux kernel
Posted Feb 9, 2013 18:40 UTC (Sat) by Cyberax (✭ supporter ✭, #52523)In reply to: Kroah-Hartman: AF_BUS, D-Bus, and the Linux kernel by quanstro
Parent article: Kroah-Hartman: AF_BUS, D-Bus, and the Linux kernel
DBUS is not in the business of sending/sharing files.
Posted Feb 10, 2013 15:02 UTC (Sun)
by quanstro (guest, #77996)
[Link] (1 responses)
also, there is a long tradition in plan 9 of using file servers for messaging.
whatever happened to the idea that "everything is a file"?
Posted Feb 10, 2013 17:04 UTC (Sun)
by hitmark (guest, #34609)
[Link]
Kroah-Hartman: AF_BUS, D-Bus, and the Linux kernel
the plumber doesn't pass the file around, it passes a message around,
usually with a pointer (path) to the file. here's a direct link
http://www.plan9.bell-labs.com/magic/man2html/4/plumber
the literal plumber however isn't even the point. the point is that plumber
is an example of a file server which routes messages.
there are many more "virtual" file servers than there are disk file servers.
this avoids having to invent new address families. (and getting permission
from the kernel, libc, etc. to add them.) plan 9 uses regular 9p. network
transparency may be accomplished the same way as on-disk file systems. and
if one wants to see plumb messages on the edit port, just "cat /mnt/plumb/edit".
cat will block until a message arrives, display it and repeat. i don't need
a special plumbcat program.
Kroah-Hartman: AF_BUS, D-Bus, and the Linux kernel
