Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 11 Dec 2001 20:21:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 11 Dec 2001 20:21:30 -0500 Received: from tone.orchestra.cse.unsw.EDU.AU ([129.94.242.28]:37013 "HELO tone.orchestra.cse.unsw.EDU.AU") by vger.kernel.org with SMTP id ; Tue, 11 Dec 2001 20:21:17 -0500 From: Neil Brown To: Elliot Lee Date: Wed, 12 Dec 2001 12:21:28 +1100 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15382.45336.802869.600836@notabene.cse.unsw.edu.au> Cc: "David S. Miller" , Subject: Re: knfsd and FS_REQUIRES_DEV In-Reply-To: message from Elliot Lee on Tuesday December 11 In-Reply-To: <20011211.162011.21927662.davem@redhat.com> X-Mailer: VM 6.72 under Emacs 20.7.2 X-face: [Gw_3E*Gng}4rRrKRYotwlE?.2|**#s9D I'm not worried about problems where files mysteriously disappear due to > me screwing up inode numbers in my code, only about causing kernel panics > or other Bad Things in the server's kernel. If I were to remove the > FS_REQUIRES_DEV check (or, more likely, submit a patch adding an nfsd > module option to remove the check...), what are the worst things that > could theoretically and realistically happen? If you just removed the check, the worst that would happen is that after a server reboot you have to remount everything on your clients. If you submit a patch to make it an option, the worst that can happen is that I jump on you (but I'm not a good long jumper, so you are pretty safe). I plan to make a change to knfsd in the near future so that you can have an option like: fs=27 in /etc/exports and the the kernel puts the magic number "27" in the filehandle instead of the device number. Then as long as you export each filesystem with a unique and consistant fs number, you won't need to worry about the instability of device numbers. NeilBrown - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/