From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,865d14aa11dd8aa6,start X-Google-Attributes: gid10d4db,public From: schoebel@minnie.informatik.uni-stuttgart.de (Thomas Schoebel-Theuer) Subject: transname.patch - diskless clients can mount / of server Date: 1996/07/07 Message-ID: #1/1 X-Deja-AN: 164101636 organization: Department of Computer Science, University of Stuttgart, Germany followup-to: comp.os.linux.networking newsgroups: comp.os.linux.announce -----BEGIN PGP SIGNED MESSAGE----- linux-2.0-transname.patch enables diskless clients, X-terminals etc to mount the *root filesystem* of the server. This makes administration of large pools *a lot* easier. Currently different diskless clients must have their root "/" on different directories on the server, beause each client has _some_ different configuration files. However, most administration files (typically about 99%) have the same contents on the clients and on the server, but have to be duplicated (and maintained separately) just because about 1% of the files differ. This duplication causes very large efforts in practice, since at least the /etc directory has to be duplicated for every client. Even in /etc many files are identical, for example sendmail.cf, initrc scripts and others. Maintaining a large pool means to ensure coherence amoung the duplicates. Classical methods like symlinks are unconvenient for this task because they have to be valid in the view of mounted filesystems at the client, not at the server. linux-2.0-transname.patch overcomes this problem by allowing filenames to be context-dependend. For example, if you have a file "/etc/config" that should differ on the hosts "myserver" and "myclient", you just create two different files named "/etc/config#host=myserver#" and "/etc/config#host=myclient#". On host "myserver", the file "/etc/config#host=myserver#" will appear as if it were hardlinked to file "/etc/config" (without the #...=...# suffix). On host "myclient", the corresponding other file will appear as "/etc/config". So you can access the right file contents under the same name, depending on which host you are. As a result, you may use different contexts for e.g. /etc/fstab, but have one shared /etc/passwd for all pool machines. So you don't need yp or NYS any more. The kernel patch was developped for and is used at our Linux pool at the University of Stuttgart with good results. Maintainance of the pool is at a minimum, and adding new clients is a child's play. No worry with keeping up mail configurations, newly installed tools, changed /etc/services, /etc/shells, /etc/resolv.conf and many, many others. In contrast to a sophisticated symlink solution, adding a new file to the /etc directory is seen immediately by all clients. I never had less trouble with administration before. I just uploaded the patch to ftp://ftp.lmh.ox.ac.uk where it should appear in /pub/linux-kernel-patch-archive/ and also to ftp://sunsite.unc.edu/pub/Linux/Incoming/ where it should be moved to /pub/Linux/kernel/patches/misc/ soon. Details can be found in the README there. Enjoy, - -- Thomas -----BEGIN PGP SIGNATURE----- Version: 2.6.2i iQCVAwUBMd8sK4QRll5MupLRAQF4yAP/eMNAkhaTM97PWaz+8PEKNLCVp93ePgdb vj6DM+v1MZpYMvnHXN2D3LAWLSG2ghriignJOGdbLsk8cRgGSXZIFTydDP/+NnRI 3jBtj/8Iz/XzMTNELV2AEXeSfWh1wH1WJeIJ8p7f8t8UE4dIsOEptlqoFgi9PAlz D3cPN6OWmWM= =3o7t -----END PGP SIGNATURE----- -- This article has been digitally signed by the moderator, using PGP. Finger wirzeniu@kruuna.helsinki.fi for PGP key needed for validating signature. Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov PLEASE remember a short description of the software and the LOCATION.