Hurd Orientation
Welcome to the Hurd === Welcome to the Hurd. This email is automatically sent at the begining of each month to the [EMAIL PROTECTED] and [EMAIL PROTECTED] mailing lists. This message is intended for a quick orientation to new users. What is the Hurd? - The Hurd is GNU's Multiserver Microkernel operating system. It is designed with the intention of fixing many of the flaws in *nix. What are these flaws? The arbitrary limits that it imposes on the user: there is not a whole lot that a user can do without special privileges. Consider an NFS filesystem. Only root can mount this on a traditional *nix system. Why is this? It is not that NFS accesses anything dangerous, at least, it is no more dangerous than ftp. However, as a portion of the NFS code lives in the kernel, this presents a potential security problem. In the Hurd, a user can transparently mount a NFS filesystem directly into their home directory without affecting the security of the system as a whole. And this is only the tip of the iceberg. Getting Started --- The most up to date installation guide is available at: http://web.walfield.org/papers/hurd-installation-guide/ GNU Mach uses the drivers found in the Linux 2.0.x kernel. Note, there is no support for PCMCIA. Here is a HCL: http://www.urbanophile.com/arenn/hacking/hurd/hurd-hardware.html Mailing Lists: - [EMAIL PROTECTED]: Hurd and Mach development. - [EMAIL PROTECTED]: General Hurd questions. - [EMAIL PROTECTED]: Maintenance of the hurd webpages at http://hurd.gnu.org. - [EMAIL PROTECTED]: All things related to Debian GNU/Hurd (especially porting issues). Subscribe in the usual fashion. The Hurd FAQ: http://web.walfield.org/papers/hurd-faq/ Contributions - A common question is: how can I contribute? There are many tasks that need to be done: - Help update the web pages at hurd.gnu.org. Contact [EMAIL PROTECTED] - Write documentation. - Port applications. Contact [EMAIL PROTECTED] Look at http://people.debian.org/~jbailey/turtle/group/Debian/index.html - Write code. Contact [EMAIL PROTECTED] Look at: http://www.debian.org/ports/hurd/hurd-devel-tasks, /tasks and /TODO - Send feedback. This is, of course, the most important task of all: Help us help others. Happy Hacking. ___ Help-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-hurd
Re: named ports <-> trivfs translator!
Marcus Brinkmann wrote: > The canonical way to do it on the Hurd is to attach the server to some node > in the filesystem, that means, you write a translator which you attach with > settrans, or you write a program that installs itself as a translator > somewhere. libtrivfs helps a lot for that. (For the latter, see how pfinet > installs the tunnel "device" in pfinet/tunnel.c (setup_tunnel_device). I went with the latter and it seems to work. Thanks. Next question: Take a look at the following scenario: 1. allocate object 2. client does something with object 3. deallocate object I have created a port class with a custom clean routine. I want the clean routine to be called if the object are NOT deallocated in step 3 (for example, the client dies). Is this possible - or do I have hold an internal state for every port? regards, johan -- Johan Rydberg, Net Insight AB, Sweden, +46-8-685 04 00 $ ON F$ERROR("LANGUAGE","ENGLISH","IN_MESSAGE").GT.F$ERROR("NORMAL") - THEN EXCUSE/OBJECT=ME ___ Help-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-hurd
Re: (no subject)
On Sat, Jun 02, 2001 at 10:18:11AM -0700, Jeff Bailey wrote: > On Sat, Jun 02, 2001 at 06:54:28PM +0200, alexis chauvin wrote: > > > i've just installed hurd and i'd like to know how to use the man pages > > The easiest answer is probably not the one you're looking for. > > What did you use to install the Hurd? If Debian, you need to apt-get > install the man pages. You also need to install the man-db package to get the man(1) command. Marcus -- `Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED] Marcus Brinkmann GNUhttp://www.gnu.org[EMAIL PROTECTED] [EMAIL PROTECTED] http://www.marcus-brinkmann.de ___ Help-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-hurd
Re: named ports <-> trivfs translator!
On Sat, Jun 02, 2001 at 06:43:37PM +0200, Johan Rydberg wrote: > > Hi! > > I'm thinking about implementing a small server. What is > the easiest way for a client to get the mach-port for the > server? You can advertise your msg port to the proc server with the proc_setmsgport RPC (send it to the port you get with getproc() from libc). Then a client can get the port with the proc_getmsgport RPC (requires the PID of the server process). This is a bit like the Mach nameserver, except you access by PID rather than some name. The canonical way to do it on the Hurd is to attach the server to some node in the filesystem, that means, you write a translator which you attach with settrans, or you write a program that installs itself as a translator somewhere. libtrivfs helps a lot for that. (For the latter, see how pfinet installs the tunnel "device" in pfinet/tunnel.c (setup_tunnel_device). Thanks, Marcus -- `Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED] Marcus Brinkmann GNUhttp://www.gnu.org[EMAIL PROTECTED] [EMAIL PROTECTED] http://www.marcus-brinkmann.de ___ Help-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-hurd