[OpenIndiana-discuss] Fastboot question

Predrag Zecevic [Unix Systems Administrator] predrag.zecevic at 2e-systems.com
Mon Dec 9 10:50:01 UTC 2013


So,

Thank you for pointing this (= man pages are really outdated)...

So, cmd 23 means:

$ greo -w 23 /usr/include/sys/uadmin.h
#define A_CONFIG        23      /* For system configuration */

(and fcn 1 means: #define AD_BOOT  1       /* multi-user reboot */)

Which STILL means it is not updated with fastboot property from service, 
but does kernel reconfiguration and normal boot every time?

I would like to have more light on this:

is this (''/usr/sbin/uadmin 23 1'') used for fastboot or not (or, does 
that prevents it)?

If that is not used, then I have misunderstood concept of boot service 
method...

If it is used, them method definitely needs to be updated... or?

Regards.

On 12/09/13 11:37, Udo Grabowski (IMK) wrote:
> On 09/12/2013 10:51, Predrag Zecevic [Unix Systems Administrator] wrote:
>> Hi,
>>
>> i think i have found cause:
>> $ svcprop -p start/exec svc:/system/boot-config:default
>> /lib/svc/method/svc-boot-config
>>
>> That method (/lib/svc/method/svc-boot-config) file is rather simple i
>> has FIXED values for boot:
>>
>> $ grep uadmin /lib/svc/method/svc-boot-config
>> # uadmin A_CONFIG AD_UPDATE_BOOT_CONFIG
>> /usr/sbin/uadmin 23 1
>>
>>   From man pages (section 2) for uadmin, one might see that cmd 23 is not
>> defined.
>  > ....
>
> Of course, 23 IS defined, have a look at 'man -s 2 uadmin'
> and /usr/include/sys/uadmin.h ...
>
>
>
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>

-- 
Predrag Zečević, Technical Support Analyst, 2e Systems GmbH

Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894
Mobile:    +49  174 3109 288,     Skype: predrag.zecevic
E-mail:    predrag.zecevic at 2e-systems.com

Headquarter:          2e Systems GmbH, Königsteiner Str. 87,
                       65812 Bad Soden am Taunus, Germany
Company registration: Amtsgericht Königstein (Germany), HRB 7303
Managing director:    Phil Douglas

http://www.2e-systems.com/ - Making your business fly!

[***]===---
Teamwork is essential -- it allows you to blame someone else.



More information about the OpenIndiana-discuss mailing list