Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Apr 2014 23:05:16 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Nathan Whitehorn <nwhitehorn@freebsd.org>
Cc:        FreeBSD ARM <freebsd-arm@freebsd.org>
Subject:   Re: crochet - why does it (try to) change files in /usr/src?
Message-ID:  <D92716BB-5FC9-4B15-89B1-5C548984B4C3@bsdimp.com>
In-Reply-To: <5361BBB9.9050208@freebsd.org>
References:  <20140501005611.3401d271adf4db31cf8e9246@getmail.no> <CADH-AwGKD1jbxON9VxF2LFwXFOU5NbgyC=Vhktsuqdh5tJvBgg@mail.gmail.com> <CAB3ij4DJZ201qDk9ZQ5fy3NRGkDMu12VCwd3FaRPW_JAzGJD_w@mail.gmail.com> <5361AC27.8020001@freebsd.org> <5361B72D.2000506@hot.ee> <5361BBB9.9050208@freebsd.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]

On Apr 30, 2014, at 9:12 PM, Nathan Whitehorn <nwhitehorn@freebsd.org> wrote:

> On 04/30/14 19:53, Sulev-Madis Silber (ketas) wrote:
>> On 2014-05-01 05:06, Nathan Whitehorn wrote:
>>> With both mkimg and makefs in the tree now, there should be almost no
>>> need for md devices for image generation anymore.
>>> -Nathan
>> 
>> That would only work for devices that don't need FAT filesystems.
>> 
>> 
>> Also, if you want to build image root-less, you need to figure out how
>> to get correct file permissions into your image file. Surely you can get
>> those into file, just you can't do it directly on filesystem.
>> 
> 
> makefs knows how to do permissions fine, either from the file itself or a manifest, and should be acquiring FAT support from NetBSD shortly. It also supports building opposite-endian UFS file systems, which is very useful for embedded applications.

We’ve also imported the NetBSD code that generates mtree files rather than setting the actual owner/permissions when installing, and makefs groks how to use those.

Warner



[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJTYdYMAAoJEGwc0Sh9sBEAoKUQAL3Bn5ubloHqw/nUAvHKNDk9
RLHjOQyPR87omaOIW1GX1JwYXBO7nAjff2kaPosNDWG8tZU6yGoH4UuBrmYeYQIA
r68IRJ1VuWiPO545KFA2SI1Sr1zAVIIo+MjpnLXzcP+CwjZ6god/1LCUjdrSaxGg
s/GmeYffP8sQh+z4zuy8AFELzk5HJ17lxHLSIDE+gWIP2wqy4RLB1qKvwhFb2fwe
sKYS/BJs7wl/+0EwGFxF4LbsN+u/xta2KvxYzCd7NDTYdAxoHoHUirnywTxQjRGw
/7IR1g2YPH4X5OtfRvAcrqYaIBjf4HL09ydDXikjbqgVYyR1YIOL0T1gbIVV6Y8j
N/XWDuA9s2/VwjJRDxAOh2S9vQS8R02app+AXNxjCz0aZoJn03lJVKBJRhYQlX06
2jZgoXCKSOhxwK9zdxdGRo2ilYaOG1jpN91sIeRlIgNNvfTIse7MnWz/3rtdmaEx
jNjWH80IsyKlByR2Udkpj2TsXhbbUtUEifYRjbYoNHF1lcO390u66l6ZX/NNbT6U
U4AwhZULnIHMD/F1S4KX5Xgj4wrAFONs+nturYhTU7NHof7nI8gb2/gIynCSAmJ9
PNBHWHJ+70ClbpQE+YK75hisqN3yz+Ts2lttQtI12DsfAFDc0CoJHQ0LXkXvvUc5
mI3e6VslXJXM+JqFRTip
=1ySD
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D92716BB-5FC9-4B15-89B1-5C548984B4C3>