From owner-freebsd-current Sat Jul 6 13: 8:52 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D0C837B400 for ; Sat, 6 Jul 2002 13:08:47 -0700 (PDT) Received: from anchor-post-35.mail.demon.net (anchor-post-35.mail.demon.net [194.217.242.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF79343E31 for ; Sat, 6 Jul 2002 13:08:46 -0700 (PDT) (envelope-from cbh@teabag.demon.co.uk) Received: from teabag.demon.co.uk ([193.237.4.110] helo=teabag.cbhnet) by anchor-post-35.mail.demon.net with esmtp (Exim 3.36 #2) id 17QvrF-00010L-0U for current@freebsd.org; Sat, 06 Jul 2002 21:08:41 +0100 Received: from localhost (localhost [127.0.0.1]) by teabag.cbhnet (Postfix) with ESMTP id 2408965032 for ; Sat, 6 Jul 2002 21:08:39 +0100 (BST) Date: Sat, 6 Jul 2002 21:08:39 +0100 (BST) From: Chris Hedley X-X-Sender: cbh@teabag.cbhnet To: current@freebsd.org Subject: Possible solution to /tmp on md filesystem Message-ID: <20020706210223.H698-100000@teabag.cbhnet> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, If anyone's still looking at the /tmp on md stuff, I've thrown together a workaround/solution based on the "mount_md" idea. Okay, I know that using a shell-script for a mount program may be seen as a Bad Thing and I'm not sure I want to broadcast my duff shell-programming for all to see, but I'll post it if anyone's interested. What I've done is to create a proto file for disklabel to use based on the intended size of the filesystem as specified in /etc/fstab which creates a normal multi-partition disc style "a" partition which skips the first cylinder, newfses it and mounts the result. Seems to work okay, although since it mucks about with disklabel then I'd recommend some caution. If it turns out to be useful I'm happy to convert it into a rather more robust C equivalent. This is, of course, based on the assumption that I haven't entirely missed the point! :) Cheers, Chris. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message