From: Joerg L. <le...@wu...> - 2003-05-25 20:14:26
|
Ashok Aiyar: > Dear List, > I will have a problem with my netatalk installation shortly, because I want > to switch to using CNID. > Here is the problem. I have six volumes on my server, one of which can > be mounted read/write by a specific username. All the other five are > mirrors of this volume and are mounted by guest-user only in read-only > mode. > On the server, the read/write volume is /opt/strider/master, and the OS X > and OS9 clients see this volume as "Strider Master". [...] Interesting setup. If you switch to CNID, you could copy the CNID databases (the stuff in the .AppleDB subdirectory) over to the new volume in your script as well. Device and inode will be wrong in the copied database, but the CNID code can correct this automatically to the new values as files are accessed. You'll have to stop all active afpd daemons during the copying for this to work, though. There is an alternative that might be preferable, even considering your current setup. A Precondition would be that you already use or would be able to switch over to AFP over TCP/IP, I do not know whether there is a way to make this work with "pure" Appletalk. You could then create two instances of the afpd configuration, a regular one and one that serves the volume read only. The regular one takes care of your current user "Strider Master", the second instance would be used to serve the volume read only to "User1 Strider", "User2 Strider" ... For the two instances to be able to run side by side you would have to make one of them listen on a different port than the regular AFP TCP port (548) and also change that in the clients. -- Joerg Lenneis email: le...@wu... |