./ConfigureConfigureのときは次の点に注意が必要。
# + USE_HOST_ICON provides automatic aufs ICON selection on supported hosts define(`specialcflags',concat(specialcflags,` -DUSE_HOST_ICON')) # + USE_MAC_DATES maintains Mac Create/Modify dates on file copy define(`specialcflags',concat(specialcflags,` -DUSE_MAC_DATES')) # + AUFS_IDLE_TIMEOUT will disconnect idle AUFS sessions (-[i|I] period) define(`specialcflags',concat(specialcflags,` -DAUFS_IDLE_TIMEOUT')) # + USR_FILE_TYPES user defined file suffix to creator/type/xlate mapping define(`specialcflags',concat(specialcflags,` -DUSR_FILE_TYPES'))の4つを有効にするとhost(SUN, DEC等)に応じたカラーアイコンでCAPサーバがMacの デスクトップ上で表示され、また拡張子に応じた(.gifとか)アイコン表示になり、かつ 接続のtimeout指定が出来ることになる。
./gen.makes ln -s /usr/include/netat ./cap60/netat (/usr/include内に入ってもかまわないのならln -sのかわりにrootで./make includeして もよい) ./make libsmade ./make programs
#!/bin/sh ### sample start servers file (copy to /usr/local/lib) ### start from '/etc/rc.local' LOGd=/usr/tmp LOGf=/var/spool/mqueue/aufs.log CAP=/usr/local/cap LIB=/usr/local/cap LWARGS="-a ${LIB}/procsets -f ${LIB}/LW+Fonts" # # Start UAR first if used # ${CAP}/uar le0 sleep 10 # # Otherwise start aarpd first for Native EtherTalk # ${CAP}/aarpd ln0 "chem" # # Or capd for Kernel AppleTalk under Linux # # ${CAP}/capd "interface" "zone" # # allow atis to startup before other CAP programs # ${CAP}/atis # # Make this 15 seconds if using aarpd # sleep 15 #${CAP}/snitch -S -f "SUN 4 SunOS 4.0 UNIX" -l lwsrv #${CAP}/lwsrv -n "Technical Services Spool" -p lw.tsa ${LWARGS} # if CAP compiled with FIXED_DIRIDS then start AFP ID server first # ${CAP}/afpidsrvr -l ${LOGd}/afpidsrvr.log ${CAP}/aufs -U 20 -V ${LIB}/afpvols -l ${LOGf} -G nobody -n hogehoge-aufs-server -T -f ${CAP}/aufsIPFilter
aufs -U 20 -V ${SYSTEMVOLS} -l ${AUFSLOG} -n ${NODENAME} -S 1 -R 1 -T -f ${CAPTOP}/aufsIPFilter > /dev/null 2>&1その後/sbin/rc3.d/S78cap startを実行。
/home/htdocs:web: /ftp/pub/mac:hogehoge_freeware_server
# anybody on ABC net + 123.45.255.255 # nobody else - 255.255.255.255この場合、クラスBのサブネットワークであるABCnetの123.45.x.xからAppleShareIPクライアントが 接続でき、それ以外は全て接続を拒否するようになる。
mkdir .finderinfo mkdir .resource
AppleTalk on UNIXのページへ
このホームページに関するお問い合わせは