Date: Sat, 11 Nov 2017 13:39:31 -0500 From: lankfordandrew@charter.net To: "'Eugene Grosbein'" <eugen@grosbein.net>, "'freebsd-hackers@freebsd.org'" <freebsd-hackers@freebsd.org> Subject: Re: Root partition and usrland on one slice, /usr/local ports and src on another Message-ID: <YifX1w0072NQztg01ifXLH@charter.net>
next in thread | raw e-mail | index | archive | help
It's been quite a while since I've tried a rebuild, but I think the problems appeared early when gcc and gas and dependencies were being built. I tried just symlinks, then different settings of the build variables, and (IIRC) enabling clang. Perhaps I could start fresh with 11.1, but then perhaps placing everything on one slice is the most straightforward solution. Andrew Lankford -----------------------------------------From: "Eugene Grosbein" To: "freebsd-hackers@freebsd.org" Cc: Sent: 11-Nov-2017 17:24:25 +0000 Subject: Re: Root partition and usrland on one slice, /usr/local ports and src on another 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YifX1w0072NQztg01ifXLH>
