[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] bless command

From: Bean
Subject: Re: [PATCH] bless command
Date: Sat, 29 Aug 2009 11:48:35 +0800

On Sat, Aug 29, 2009 at 6:59 AM, Michal Suchanek<address@hidden> wrote:
> Hello
> the bless command is nice.
> 2009/4/19 Vladimir Serbinenko <address@hidden>:
>> Thank you for the testing and info.
>>> Redundant info -
>>> I checked the OSX bless utility, it requires both folder and file, or it
>>> will not agree to bless the file.
>> I'm nearly sure now that folder blessing (+tbxi attribute) is used on ppc
>> macs and file blessing onĀ  intel macs. Now the question is how we do it. We
>> can either keep the current syntax or IMO it's better to have two commands:
> Wouldn't it be reasonable to bless both the file and the directory?


Actually, I think the correct handling is to first bless a boot
directory (storing the directory id in header), then bless a boot file
(add +tbxi attribute), that's why the bless command in OSX needs needs
both --folder and --file option.

>> intelmacbless and ppcmacbless both accepting file as an argument. First one
>> updates finderInfo[1] and the second one updates finderInfo[0] and sets
>> filetype of given file to tbxi and if any other file has the type tbxi in
>> the same directory then change it to any other value (e.g. tbxj)
> Couldn't the bless command check the machine type of the file and
> change file type on ppc files and bless the file for i386 files?
> It's OK if the command has parameters that specify what to do and are
> explained in the help but it should just do the right thing when you
> specify the file to bless.
> Would it be possible to make an i386+ppc efi boot CD this way? Would
> the i386 grub boot on 64bit systems or are two CDs needed for i386 and
> amd64?

Yeah, osx support fat binaries that contains code from multiple architecture.


gitgrub home:
my fork page:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]