[freebsd] AWS Tech Conference

Eugene Grosbein eugen at grosbein.net
Wed Jun 29 16:03:08 EEST 2022


29.06.2022 19:53, Valentin Nechayev пишет:
>  Wed, Jun 29, 2022 at 16:45:30, eugen wrote about "Re: [freebsd] AWS Tech Conference": 
> 
>>>>> 6. идентификация ядра (ответ на uname)
>>>> Сразу нет. Всё-таки jail это клетки над общим ядром.
>>>>      osrelease
>>>>              The string for the jail's kern.osrelease sysctl and uname -r.
>> Это просто обманка.
> 
> Верно, для того и придумано.
> 
>> И что? Их можно в /etc/profile прописать даже.
> 
> И кто их оттуда читать будет?

Команда uname читает из своего environment.

ENVIRONMENT
     An environment variable composed of the string UNAME_ followed by any
     flag to the uname utility (except for -a) will allow the corresponding
     data to be set to the contents of the environment variable.




More information about the freebsd mailing list