> On Oct 3, 2015, at 13:26, Eric A. Borisch <ebori...@macports.org> wrote:
> 
> On Saturday, October 3, 2015, Clemens Lang <c...@macports.org 
> <mailto:c...@macports.org>> wrote:
> 
> 
> ----- On 3 Oct, 2015, at 15:47, Bachsau w...@bachsau.name <javascript:;> 
> wrote:
> 
> > Clemens Lang wrote on 03.10.2015 15:02:
> >> such as /bin/sh, /usr/bin/python, /usr/bin/make, /usr/bin/clang,
> >> etc.
> >
> > All of which are also part of macports, so can't you just use this or
> > create shadowcopies yourself?
> 
> Yes, we could provide copies of bash, python, make and clang ourselves
> and use them instead. So far, we have always relied on Apple's toolchain
> but you're right that we don't really have to.
> 
> However, remember that it's not just 3-4 binaries we're talking about
> here. Lots and lots of smaller tools would also be needed, such as ar,
> as, arch, awk, base64, bc, bison, bzip2, chgrp, chown, cpio, curl, diff,
> du, grep, fmt, gzip, ...
> 
> We're currently re-using some of those from /usr/bin to reduce the
> footprint of our build dependencies. MacPorts is already being
> criticized for using too much storage and "downloading the internet"
> before installing what you initially requested, and a change such as
> this would make things even worse.
> 
>  Is there something clever that could be done with mounts or hard (directory) 
> links here?

An NFS mount of self might work - the Mac NFS implementation doesn't seem to 
pass named attributes, and NFS protocol doesn't pass flags.  Thus:

sh-3.2$ ls -ldO@ /bin /net/localhost/bin
drwxr-xr-x@ 42 root  wheel  restricted,hidden 1428 Oct  2 04:41 /bin
        com.apple.FinderInfo      32
        com.apple.rootless         0
drwxr-xr-x  42 root  wheel  -                 1428 Oct  2 04:41 
/net/localhost/bin


Same thing, but as seen in the 2nd case, no com.apple.rootless attribute, no 
restricted (or hidden) flags. :-)


Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to