crochet - why does it (try to) change files in /usr/src?

Sulev-Madis Silber (ketas) madis555 at hot.ee
Fri May 2 00:16:00 UTC 2014


On 2014-05-01 06:12, Nathan Whitehorn 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.
> -Nathan


Not related much, but lately I tried to create partition table where
first partition starts from 512k sector #8192... After multiple tries
with gpart and fdisk I found that this is totally impossible. Felt like
trying to get square peg into round hole, no matter how I tried, it
always realigned the partition into wrong sector. I guess this is
because of those stupid C/H/S values (does anything use them these
days?)? I even looked the code that does this, but didn't know how to
exactly fix this. On 11-CURRENT, gpart even complained about partition
not aligned to 4m... but it was impossible to have it aligned properly,
no matter how I tried. I wish I could force alignment of partitions.
Although... now I checked it again and I'm confused what exactly happens
there. Can anyone confirm that indeed is wrong behavior. Because it
looks like it is.


More information about the freebsd-arm mailing list