From owner-freebsd-questions@FreeBSD.ORG Fri Sep 24 03:28:08 2004 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 C499116A4CE for ; Fri, 24 Sep 2004 03:28:08 +0000 (GMT) Received: from wip-cdctls-mx1.wipro.com (wip-cdctls-mx1.wipro.com [203.199.255.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4967143D1F for ; Fri, 24 Sep 2004 03:28:07 +0000 (GMT) (envelope-from freebsd@akruijff.dds.nl) Received: from wip-cdctls-mx1.wipro.com (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with ESMTP id D71621841FC; Fri, 24 Sep 2004 08:58:04 +0530 (IST) Received: from chn-snr-bh2.wipro.com (chn-snr-bh2.wipro.com [10.145.50.92]) by wip-cdctls-mx1.wipro.com (Postfix) with ESMTP id CAA2A1841E3; Fri, 24 Sep 2004 08:58:04 +0530 (IST) Received: from mail pickup service by chn-snr-bh2.wipro.com with Microsoft SMTPSVC; Fri, 24 Sep 2004 08:57:17 +0530 Received: from wip-cdctls-mx15.wipro.com ([203.101.73.133]) by chn-snr-bh3.wipro.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 24 Sep 2004 06:45:53 +0530 Received: from wip-cdctls-mx4.wipro.com (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with ESMTP id 209302A8003 for ; Fri, 24 Sep 2004 06:44:40 +0530 (IST) Received: from lists.samba.org (dp.samba.org [66.70.73.150]) by wip-cdctls-mx4.wipro.com (Postfix) with ESMTP id 6E3463F400E for ; Fri, 24 Sep 2004 06:44:38 +0530 (IST) Received: from dp.samba.org (localhost [127.0.0.1]) by lists.samba.org (Postfix) with ESMTP id B8904163EA0 for ; Fri, 24 Sep 2004 01:15:49 +0000 (GMT) X-Original-To: samba@lists.samba.org Delivered-To: samba@lists.samba.org Received: from smtp13.wxs.nl (smtp13.wxs.nl [195.121.6.27]) by lists.samba.org (Postfix) with ESMTP id 486D616385E for ; Fri, 24 Sep 2004 01:14:24 +0000 (GMT) Received: from kruij557.speed.planet.nl (ipd50a97ba.speed.planet.nl [213.10.151.186])3 2004)) with ESMTP id <0I4I0046WU3ZLD@smtp13.wxs.nl> for samba@lists.samba.org; Fri, 24 Sep 2004 03:14:24 +0200 (CEST) Received: from alex.lan (localhost [127.0.0.1]) by kruij557.speed.planet.nl (8.12.10/8.12.10) with ESMTP id i8O1EKxZ038286; Fri, 24 Sep 2004 03:14:20 +0200 Received: (from akruijff@localhost) by alex.lan (8.12.10/8.12.10/Submit) id i8O1EIMw038285; Fri, 24 Sep 2004 03:14:18 +0200 Content-return: prohibited Date: Fri, 24 Sep 2004 03:14:18 +0200 From: Alex de Kruijff In-reply-to: <5.1.0.14.2.20040923180854.1024b770@209.152.117.178> To: "W. D." Message-id: <20040924011418.GB784@alex.lan> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.2.1i References: <200409231926.i8NJQoh16871@yoda.pixi.com> <5.1.0.14.2.20040923180854.1024b770@209.152.117.178> X-Authentication-warning: alex.lan: akruijff set sender to freebsd@akruijff.dds.nl using -f X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on dp.samba.org X-Spam-Status: No, hits=-3.9 required=3.8 tests=BAYES_00,NO_MORE_FUNN, RCVD_IN_BLARS_RBL autolearn=no version=2.64 X-Spam-Level: X-BeenThere: samba@lists.samba.org X-Mailman-Version: 2.1.4 Precedence: list Sender: samba-bounces+sandeep.sundaram=wipro.com@lists.samba.org Errors-To: samba-bounces+sandeep.sundaram=wipro.com@lists.samba.org X-OriginalArrivalTime: 24 Sep 2004 01:15:53.0780 (UTC) FILETIME=[0980EF40:01C4A1D4] cc: samba@lists.samba.org cc: knowtree@aloha.com cc: freebsd-questions@freebsd.org Subject: Re: [Samba] Re: Samba public directory on FreeBSD X-BeenThere: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2004 03:28:08 -0000 > Thanks for the info. > > In 'The Complete FreeBSD' (4th edition), on page 70: "Use the rest > of the space on disk for a /home file system, as long as it's > possible to back it up on a single tape. Otherwise, make multiple file > systems. /home is the normal directory for user files." > > In the online handbook, > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html, > Table 2-2: "/usr Rest of disk All your other files will typically be stored in /usr and its subdirectories." > > Alrighty, then. I am confused. On the 3 boxes that I just installed > FreeBSD 4.9 on, none of them even have a /home or a /usr/home directory. > So, there certainly isn't a /home partition. Is /home created as its > own slice in 5.x? No, do a 'll -d /home' and it show you have you're home dictory is. Mine (5.2) is in /usr/home (the default). I usaly skip the cration of /tmp and create a /disk/ and have this kind of stuff there. (web, ftp, samba, temp (tmp, ports-work, ports-dist, obj), ect). I name it disk so that it feels more natural when I discover I need antoher thing on it. > These boxes have 80 GB hard drives and have the majority of that > capacity contained in /usr. > > Based on all this advice and research, I think I will create a new > directory under /usr called /home. Under this, I'll create > /samba/public (full path: /usr/home/samba/public). > > Any objections, or comments? Be sure to check with du -sh /usr how much you use. I have X and everything else and need at least 3.7G (of course I do not have the distfiles and obj directories on that. And have doubled this to a total of 8.2G for future grouwth. You can set a qouta for disk useage. This is native in FreeBSD (may need to compile a special kernel) and there is also a opion in Samba. I never used the latter, Also you could be able to mount /usr by NFS of a other box while you change sizes. This way you have acces to tools like vi and such. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/FreeBSD/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba