#vtl — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #vtl, aggregated by home.social.
-
Writing a VTL Linux Kernel Module for fun [?]
Anyways, realized my SysFS approach was misguided, and migrating to ConfigFS for creating/destroying kernel objects like SCSI Hosts.
Man oh man is there a lot of boiler plate to get ConfigFS up and running, but I think that I've sticklebricked it together correctly at last.
You can create SCSI hosts by making dirs in/config/cvtl/hostswhich have theidandenabledattributes (the full SCSI Host object to come soon). If you write a '1' to your host'senabledfile it will register it with the SCSI Midlayer, which you can see near the end as it creates SysFS objects in/sys/class/scsi_host/hostX
So when you want to make a virtual tape library you can just make some directories, andechothe values you want to their underlying files and then enable the host with the targets and LUNs you want. Seems like a very friendly interface.
#linux #kernel #linuxkernel #nix #nixos #rust #c #clang #vtl #tapelibrary -
Гайд по File Templates: как шарить шаблоны с однотипным кодом
Всем привет! На связи Дима Котиков, ведущий Android-разработчик в Т-Банке. Я все еще люблю разбираться в технологиях, разрабатывать под Android и KMP и пить латте на фундучном молоке :) Расскажу, как можно шарить File Templates для своей команды, чтобы облегчить жизнь другим и сэкономить немного времени. Причем коллегам ничего самостоятельно не придется настраивать: подтянутый из git-а репозиторий с кодом все сделает сам. Эта статья — бонус к трем предыдущим, в которых я рассказывал, как уменьшить написание boilerplate-кода. Ссылки на них оставлю в конце статьи.
https://habr.com/ru/companies/tbank/articles/949658/
#tools #intellij_idea #vtl #file_templates #apache_velocity #idea
-
Экспорт и импорт File Templates в IDE от Intellij
Всем привет! На связи Дима Котиков, и это заключительная статья цикла про File Templates. В предыдущих частях мы познакомились с инструментом File Templates, разобрали синтаксис написания шаблонов и написали шаблоны для кода типового экрана SomeFeature мобильного приложения . В заключительной части разберем, как можно экспортировать и импортировать File Templates в Intellij-IDE, а также подведем общие итоги по циклу статей.
-
Примеры использования File Templates для типовых сценариев, где требуется шаблонный код
Всем привет! На связи Дима Котиков, и это вторая статья из цикла про File Templates. В предыдущей части мы описали проблему с необходимостью написания шаблонного кода и вариантами решения, познакомились с инструментом шаблонов File Templates и разобрали синтаксис написания шаблонов. В этой статье перейдем к практике — напишем шаблоны для кода типового экрана SomeFeature мобильного приложения.
-
First day of the land Vaccinated Travel Lane between #Singapore and #Malaysia largely uneventful, apart from one positive #COVID19 case. Maybe the rise of the #OmicronVariant may change things in the future.
-
A virtual journey: From hardware virtualization to Hyper-V's Virtual Trust Levels
> This blog post aims to explain how Hyper-V enhances the operating system security through creating new levels of trust orthogonal to rings, named the Virtual Trust Levels (VTLs), and how these are represented at the lowest levels.
> We will first discuss the hardware virtualization extensions with a focus on Intel Virtualization Technology, dubbed Intel VT-x, then we will see how Hyper-V leverages the hardware virtualization to strengthen the operating system security. The approach, based on reverse engineering and debugging Hyper-V, led to the discovery of Hyper-V’s inner structures and how they are used to achieve the goal of memory segregation between different VTLs within the same virtual machine.