From owner-freebsd-questions@FreeBSD.ORG Wed Nov 12 05:31:59 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B25316A4CE for ; Wed, 12 Nov 2003 05:31:59 -0800 (PST) Received: from mail.devrandom.org.uk (82-68-135-38.dsl.in-addr.zen.co.uk [82.68.135.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id C948943FBD for ; Wed, 12 Nov 2003 05:31:57 -0800 (PST) (envelope-from howells@kde.org) Received: from localhost.invalid (unknown [192.168.1.194]) by mail.devrandom.org.uk (Postfix) with ESMTP id 41C3B133BD for ; Wed, 12 Nov 2003 13:31:55 +0000 (GMT) From: Chris Howells Organization: K Desktop Environment To: freebsd-questions@freebsd.org Date: Wed, 12 Nov 2003 13:31:31 +0000 User-Agent: KMail/1.5.93 References: <200311111353.20210.gentoo@tmgcon.com> <200311111947.15174.howells@kde.org> <200311121710.50143.gentoo@tmgcon.com> In-Reply-To: <200311121710.50143.gentoo@tmgcon.com> X-GPG-Fingerprint: 5863 DF82 C34D 7291 CC63 CA1B 17C2 2ED7 3379 5A2C MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200311121331.35247.howells@kde.org> Subject: Re: Newbie: Correct directory for file server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2003 13:31:59 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, On Wednesday 12 November 2003 04:10, Tom Munro Glass wrote: > Thanks Chris. Please take a look at my reply to Scott because the two of > you seem to be suggesting contradicting ideas, and I'm keen to learn why! Have done. It's just my preference because I find it easier: the FreeBSD=20 installer as you've noticed, by default, puts the home directories under / usr/home, and creates /home as a symlink. Therefore I found it easier just to tell the installer that /usr/home would= be=20 its own partition. Ultimately it's just what you find easiest, there's no=20 "right" way, though some things are probably frowned upon. Installation is= =20 only something you need to do once, after that you cvsup :) The file system on my laptop looks something like this: =46ilesystem Size Used Avail Capacity Mounted on /dev/ad0s3a 126M 90M 26M 77% / /dev/ad0s3h 5.8G 2.2G 3.1G 41% /usr /dev/ad0s3d 8.8G 7.6G 509M 94% /usr/home /dev/ad0s3g 5.8G 3.0G 2.3G 56% /usr/home/devel /dev/ad0s3e 197M 15M 166M 8% /tmp /dev/ad0s3f 197M 88M 93M 49% /var procfs 4.0K 4.0K 0B 100% /proc linprocfs 4.0K 4.0K 0B 100% /usr/compat/linux/proc sauron:/space/test 75G 64G 3.6G 95% /mnt/test /usr/home/devel is a separate partition from /usr/home because I use /usr/ home/devel to compile KDE CVS reguarly, and compiling thousands of source=20 files, even on efficient file systems, is a good way to cause fragmentation= ,=20 therefore I like to keep it separate from the rest of the system. My server looks like this: =46ilesystem Size Used Avail Capacity Mounted on /dev/ad0s1a 252M 155M 77M 67% / /dev/ad0s1f 252M 9.0M 223M 4% /tmp /dev/ad0s1g 7.3G 4.1G 2.6G 61% /usr /dev/ad0s1e 756M 220M 476M 32% /var procfs 4.0K 4.0K 0B 100% /proc /dev/ad4s1e 75G 64G 3.6G 95% /space /dev/vinum/vinum1 144G 63G 69G 48% /vinum1 My home directories here are under /space (though will be under /vinum1 soo= n=20 when I finish migrating data from /space, an 80GB disk to /vinum1, 2 x160GB= =20 in RAID 1 with vinum). /etc/exports on the server looks like this: /space/test /space/persbackup /space/photos -maproot=3D0 -network 192.168.1= =2E0=20 =2D -mask 255.255.255.0 Hope this helps. =2D --=20 Cheers, Chris Howells -- chris@chrishowells.co.uk, howells@kde.org Web: http://chrishowells.co.uk, PGP ID: 0x33795A2C KDE/Qt/C++/PHP Developer: http://www.kde.org =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/sjY3F8Iu1zN5WiwRAkoNAJ4gOm9PLfdg0ntSS4f4nAwWlRtrQgCfZxF5 d+1OYiJzqYEVSgCT++bnRyw=3D =3DKNgm =2D----END PGP SIGNATURE-----