From owner-freebsd-hackers@freebsd.org Sat Nov 11 17:24:34 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA6C7E6FB4A for ; Sat, 11 Nov 2017 17:24:34 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7D1DB677EC for ; Sat, 11 Nov 2017 17:24:33 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id vABHOI4Y003585 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 11 Nov 2017 18:24:19 +0100 (CET) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: lankfordandrew@charter.net Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id vABHOFMC001446 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sun, 12 Nov 2017 00:24:15 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: Root partition and usrland on one slice, /usr/local ports and src on another To: lankfordandrew@charter.net, "'freebsd-hackers@freebsd.org'" References: From: Eugene Grosbein Message-ID: <5A07323C.1080704@grosbein.net> Date: Sun, 12 Nov 2017 00:24:12 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, LOCAL_FROM, RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS * 2.6 LOCAL_FROM From my domains X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Nov 2017 17:24:35 -0000 11.11.2017 22:50, lankfordandrew@charter.net пишет: > When I installed FreeBSD 10 on an old laptop, I wanted to merge both > the root partition heirarchy (kernel /bin /sbin etc) and the rest of > Fbsd usr-land together onto one slice. I like upgrading from source, > but I do that more frequently with ports than the OS-proper. When I > need to boot up single user, it seems rather quaint these days (at > least for a laptop user) to have to mount /usr in order to get > reasonably the functionality from applications that use shared > libraries (vi, man pages, etc). The likelyhood that I'm going to fall > back on a serial port and an ASR-33 tty are nil. > > So what I'd like to do is put the entire freebsd system on one fairly > small, pristine slice, but put the more bloated and ephemeral src, > ports, /usr/local, /home portions on one big slice. I tried symlinks > between "/src" or "/usr/src" and "/usr/ports" and tweaking some build > variables, but it seemed like something always breaks in some bizarre > way whenever I tried to rebuild world. I guess a lot of the strange > behavior showed up in /src/contrib and the gnu licensed side of the > build system. Can anyone suggest some docs on /src and ports, > specifically for what I'm trying to do besides "man src"? I do that for years for eight major releases at least and have no problems making symlinks /usr/src -> /usr/local/src, /usr/obj -> /usr/local/obj, /usr/ports -> /usr/local/ports. What kind of problems do you have while building world and why do you think that problems are due to symlinks? Eugene Grosbein