]> arthur.barton.de Git - netatalk.git/blob - doc/README.ULTRIX
experimental code added from Bob Rogers to generate more persistant DIDs
[netatalk.git] / doc / README.ULTRIX
1 This is the Ultrix README file for netatalk.
2
3 1.  REMOVE PREVIOUS NETATALK.  If this is the first release of netatalk
4     you've used, skip to step (2).  If you've installed netatalk
5     before, you will need to remove the old patches.
6
7     There are two easy ways to remove the old patches.  The simplist,
8     is to apply the old patches in reverse.  E.g. for netatalk-1.3 or
9     later
10
11         patch -s -d /sys -R -p0 < sys/ultrix/kpatch-<vers>
12
13     Note that the old patches are not included in this distribution.
14
15     If you haven't saved the old patches, it is possible that the old
16     versions of the patched files are still in your file system.  When
17     patch changes a file, it saves the original file as <file>.orig.
18     netatalk-1.3 or later leaves these files
19
20         conf/files
21         data/af_data.c
22         data/if_to_proto_data.c
23         data/uipc_domain_data.c
24         net/net/conf_net.c
25         net/net/netisr.h
26
27     Finally, if there is no way to regenerate the old version of the
28     patched files, you can apply the new patches by hand, skipping the
29     next section.  There are two versions of the patches, kpatch-4.1
30     for Ultrix 4.1 and kpatch-4.2 for both 4.2 and 4.3.
31
32 2.  PATCH FILES IN KERNEL BUILDING AREA.  The simplest way to install the
33     kernel patches is with the command
34
35         make kpatch
36
37     This command will determine your system type and apply patches to
38     the following files
39
40         conf/files
41         data/af_data.c
42         data/if_to_proto_data.c
43         data/uipc_domain_data.c
44         net/net/conf_net.c
45         net/net/netisr.h
46
47     To apply these patches by hand, type
48
49         patch -s -d /sys -p0 < sys/ultrix/kpatch-<vers>
50
51     where <vers> is the version of Ultrix you are running.
52
53 3.  POPULATE /sys/net/netatalk. Do this with
54
55         make kinstall
56
57     This makes a directory called /sys/net/netatalk and copies all
58     pertinent files.  To do this by hand,
59
60         mkdir /sys/net/netatalk
61         cp sys/netatalk/*.[ch] /sys/net/netatalk
62         cp sys/ultrix/*.[ch] /sys/net/netatalk
63
64     These files are the complete source for AppleTalk in 4.3BSD kernels
65     and Ultrix.
66
67 4.  CREATE KERNEL. You should probably start by copying the config file
68     for GENERIC to, for instance, NETATALK. You'll need to add the
69     lines
70
71         options ATALK
72         pseudo-device atalk
73
74     to the NETATALK config file, config the kernel, and then make.  You
75     don't have to call your kernel NETATALK, but be sure NOT to call it
76     ATALK, since the name of the kernel and kernel options are part of
77     the same name-space.  When your build is finished, save your old
78     kernel, install the new kernel, and reboot.
79
80 Research Systems Unix Group
81 The University of Michigan              netatalk@umich.edu
82 c/o Wes Craig                           +1-313-764-2278
83 535 W. William St.
84 Ann Arbor, Michigan
85 48103-4943