From owner-freebsd-hackers Tue Jan 9 01:24:25 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA25171 for hackers-outgoing; Tue, 9 Jan 1996 01:24:25 -0800 (PST) Received: from omega.physik.fu-berlin.de (omega.physik.fu-berlin.de [130.133.3.51]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id BAA25069 for ; Tue, 9 Jan 1996 01:24:08 -0800 (PST) Received: from dirac.physik.fu-berlin.de (dirac.physik.fu-berlin.de [130.133.3.124]) by omega.physik.fu-berlin.de (8.7.1/8.7.1) with ESMTP id KAA04941 for ; Tue, 9 Jan 1996 10:24:01 +0100 (MET) Received: (from graichen@localhost) by dirac.physik.fu-berlin.de (8.7.1/8.7.1) id KAA16393 for hackers@FreeBSD.org; Tue, 9 Jan 1996 10:24:01 +0100 (MET) From: Thomas Graichen Message-Id: <199601090924.KAA16393@dirac.physik.fu-berlin.de> Subject: amd "-type:=direct" To: hackers@FreeBSD.org Date: Tue, 9 Jan 1996 10:24:00 +0100 (MET) X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org Precedence: bulk can anybody running -current please test (or tell me) if the amd -type:=direct mount works in -current (i think it should - because i checked all the files which i've patched in 2.1.0 to get it working [thanks to doug rabson] - and all of the patches seem to be in -current) - the test is really simple * if your system is not configured as nfs client run nfsiod -n 4 * export for instance the /usr dir to yourself cat >> /etc/exports /usr localhost ^D * if your system is not configured as nfs server run mountd; nfsd -u -t 4 * create a simple amd map cat > amd.direct_test direct_test type:=nfs;rhost:=localhost;rfs:=/usr ^D * start the amd automounter amd -p -x all -l /dev/stderr /direct_test amd.direct_test -type:=direct > /tmp/amd.pid * "cd" to the automounted dir cd /direct_test if this works everything is ok - if you get "stale nfs filehandle" it still does'nt work (but as described above i don't think so) ok now you have done the test and can remove everything made by the test cd back_to_the_dir_you_made_the_adm.direct_test_file kill -TERM `cat /tmp/amd.pid` rm amd.direct_test edit the /etc/exports file to remove the "/usr localhost" entry can you please send me the result for a -current system ? thanks in advance t p.s.: any contra's to make something like amd -p ${amdflags} > /var/run/amd.pid in /etc/rc (instead of simply amd ${amdflags}) or maybe amd -p -l /var/log/amd.log > /var/run/amd.pid with the right entries in /etc/newsyslog.conf ? _______________________________________________________||___________________ __|| Perfection is reached, not when there is no __|| thomas graichen longer anything to add, but when there __|| freie universitaet berlin is no longer anything to take away __|| fachbereich physik __|| - Antoine de Saint-Exupery - __|| graichen@mail.physik.fu-berlin.de ___________________________||__________________graichen@FreeBSD.org_________