once bsd unix used
        9fs           stream tcp   nowait root   /bin/9/u9fs u9fs

and xinetd made it a little bit more elaborate,
but apple decided to combine init, x?inetd and cron
(because they all start programs!) so in that dialect we must now say

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
        <key>Label</key>
        <string>com.bell-labs.plan9.u9fs</string>
        <key>Program</key>
        <string>/usr/bin/u9fs</string>
        <key>ProgramArguments</key>
        <array>
                <string>u9fs</string>
                <string>-l</string>
                <string>/var/log/u9fs.log</string>
        </array>
        <key>Sockets</key>
        <dict>
                <key>Listeners</key>
                <dict>
                        <key>SockServiceName</key>
                        <string>9pfs</string>
                </dict>
        </dict>
        <key>inetdCompatibility</key>
        <dict>
                <key>Wait</key>
                <false/>
        </dict>
</dict>

there are probably lots of useful options and better translations
but at least it got me past that point last week.

Reply via email to