>From [EMAIL PROTECTED]  Wed Jan 31 12:55:22 2001
>Return-Path: <[EMAIL PROTECTED]>
Received: from hera.kernel.org (IDENT:[EMAIL PROTECTED] [209.10.217.83])
        by gateway.camelot.jp (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id MAA04175
        for <[EMAIL PROTECTED]>; Wed, 31 Jan 2001 12:55:20 +0900
Received: (from majordom@localhost)
        by hera.kernel.org (8.9.3/8.9.3) id SAA24868
        for autofs-list; Tue, 30 Jan 2001 18:46:09 -0800
Received: from neon-gw.transmeta.com (neon-gw.transmeta.com [209.10.217.66])
        by hera.kernel.org (8.9.3/8.9.3) with ESMTP id SAA24862
        for <[EMAIL PROTECTED]>; Tue, 30 Jan 2001 18:46:08 -0800
Received: (from root@localhost)
        by neon-gw.transmeta.com (8.9.3/8.9.3) id SAA05646;
        Tue, 30 Jan 2001 18:46:04 -0800
Received: from mailhost.transmeta.com(10.1.1.15) by neon-gw.transmeta.com via smap 
(V2.1)
        id xma005640; Tue, 30 Jan 01 18:45:53 -0800
Received: from cesium.transmeta.com (cesium.transmeta.com [10.1.2.55])
        by deepthought.transmeta.com (8.9.3/8.9.3) with ESMTP id SAA16327;
        Tue, 30 Jan 2001 18:45:55 -0800 (PST)
Received: from transmeta.com (hpa@localhost [127.0.0.1]) by cesium.transmeta.com 
(8.9.3/8.7.3) with ESMTP id SAA14100; Tue, 30 Jan 2001 18:45:55 -0800
Message-ID: <[EMAIL PROTECTED]>
Date: Tue, 30 Jan 2001 18:45:55 -0800
From: "H. Peter Anvin" <[EMAIL PROTECTED]>
Organization: Transmeta Corporation
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.0 i686)
X-Accept-Language: en, sv, no, da, es, fr, ja
MIME-Version: 1.0
To: Rui-Tao Dong <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: NFS export of removable devices
References: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [EMAIL PROTECTED]
Precedence: bulk
Status: O
Content-Length: 787
Lines: 21

Rui-Tao Dong wrote:
> 
> I haven't figured out a way to NFS export removable devices.  I can't
> NFS export automounted devices (because autofs is basically NFS?)  I
> have to restart NFS after I change CDROM, CF card etc, which is really
> inconvenient.  Anyone has ideas? (don't tell me to use SMB :-).
> 

autofs is *NOT* NFS.  There is no reason it shouldn't work, except for
the fact that the NFS daemon needs to know when a filesystem is coming or
going, so it knows if it should be exported or not.

It might be worthwhile to put a hook into the mount modules for that, or
to write a wrapper for mount and umount.

        -hpa

-- 
<[EMAIL PROTECTED]> at work, <[EMAIL PROTECTED]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt

Reply via email to