From owner-freebsd-hackers@freebsd.org Sat Nov 11 18:39:33 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 BCB0BE70F97 for ; Sat, 11 Nov 2017 18:39:33 +0000 (UTC) (envelope-from lankfordandrew@charter.net) Received: from mtaout004-public.msg.strl.va.charter.net (mtaout004-public.msg.strl.va.charter.net [68.114.190.29]) by mx1.freebsd.org (Postfix) with ESMTP id 8009669F61 for ; Sat, 11 Nov 2017 18:39:32 +0000 (UTC) (envelope-from lankfordandrew@charter.net) Received: from impout003 ([68.114.189.18]) by mtaout004.msg.strl.va.charter.net (InterMail vM.9.00.023.01 201-2473-194) with ESMTP id <20171111183931.CICX3685.mtaout004.msg.strl.va.charter.net@impout003>; Sat, 11 Nov 2017 12:39:31 -0600 Received: from localhost ([68.114.3.110]) by impout003 with charter.net id YifX1w0072NQztg01ifXLH; Sat, 11 Nov 2017 12:39:31 -0600 X-Authority-Analysis: v=2.2 cv=XZf59Mx5 c=1 sm=1 tr=0 a=9uHC+vg69XL/CMnl7knG/A==:117 a=9uHC+vg69XL/CMnl7knG/A==:17 a=fVP89FL7aggA:10 a=x7bEGLp0ZPQA:10 a=6I5d2MoRAAAA:8 a=hOpmn2quAAAA:8 a=eulmlbeIvpeG9MSLKaAA:9 a=QEXdDO2ut3YA:10 a=H0GPC0OhAAAA:8 a=f9rMFTpsmH3-3QQ4S0MA:9 a=7W66PfZtqcEN794M:21 a=_W_S_7VecoQA:10 a=IjZwj45LgO3ly-622nXo:22 a=GyA-uvUxXSCciAkwuKQO:22 a=KczGKrPSgCPlefTG41c3:22 Message-ID: From: lankfordandrew@charter.net To: "'Eugene Grosbein'" , "'freebsd-hackers@freebsd.org'" X-Mailer: Atmail 7.1.1.13434 X-Originating-IP: [97.89.225.125] Subject: Re: Root partition and usrland on one slice, /usr/local ports and src on another Date: Sat, 11 Nov 2017 13:39:31 -0500 MIME-Version: 1.0 X-Mailman-Approved-At: Sat, 11 Nov 2017 18:53:53 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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 18:39:33 -0000 It's been quite a while since I've tried a rebuild, but I think the=0Apr= oblems appeared early when gcc and gas and dependencies were being=0Abui= lt. I tried just symlinks, then different settings of the build=0Avariab= les, and (IIRC) enabling clang. Perhaps I could start fresh with=0A11.1,= but then perhaps placing everything on one slice is the most=0Astraight= forward solution.=0A=0AAndrew Lankford=0A=0A=09-------------------------= ----------------From: "Eugene Grosbein" =0ATo: "freebsd-hackers@freebsd.= org"=0ACc: =0ASent: 11-Nov-2017 17:24:25 +0000=0ASubject: Re: Root parti= tion and usrland on one slice, /usr/local ports=0Aand src on another=0A= =0A 11.11.2017 22:50, lankfordandrew@charter.net =D0=BF=D0=B8=D1=88=D0= =B5=D1=82:=0A > When I installed FreeBSD 10 on an old laptop, I wanted t= o merge=0Aboth=0A > the root partition heirarchy (kernel /bin /sbin etc)= and the rest=0Aof=0A > Fbsd usr-land together onto one slice. I like up= grading from=0Asource,=0A > but I do that more frequently with ports tha= n the OS-proper. When I=0A > need to boot up single user, it seems rathe= r quaint these days (at=0A > least for a laptop user) to have to mount /= usr in order to get=0A > reasonably the functionality from applications= that use shared=0A > libraries (vi, man pages, etc). The likelyhood tha= t I'm going to=0Afall=0A > back on a serial port and an ASR-33 tty are n= il.=0A > =0A > So what I'd like to do is put the entire freebsd system o= n one=0Afairly=0A > small, pristine slice, but put the more bloated and= ephemeral src,=0A > ports, /usr/local, /home portions on one big slice.= I tried=0Asymlinks=0A > between "/src" or "/usr/src" and "/usr/ports" a= nd tweaking some=0Abuild=0A > variables, but it seemed like something al= ways breaks in some=0Abizarre=0A > way whenever I tried to rebuild world= . I guess a lot of the strange=0A > behavior showed up in /src/contrib a= nd the gnu licensed side of the=0A > build system. Can anyone suggest so= me docs on /src and ports,=0A > specifically for what I'm trying to do b= esides "man src"?=0A=0A I do that for years for eight major releases at= least and have no=0Aproblems=0A making symlinks /usr/src -> /usr/local/= src, /usr/obj ->=0A/usr/local/obj,=0A /usr/ports -> /usr/local/ports.=0A= =0A What kind of problems do you have while building world and=0A why do= you think that problems are due to symlinks?=0A=0A Eugene Grosbein=0A= =0A