<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Hossy</author_name>
  <author_url>https://blog.hatena.ne.jp/Hossy/</author_url>
  <blog_title>ほっしーの技術ネタ備忘録</blog_title>
  <blog_url>https://hoshizuki.hateblo.jp/</blog_url>
  <categories>
    <anon>FreeBSD</anon>
  </categories>
  <description>ある日、sysctl -a を眺めていると面白そうなパラメータを見つけた。 vfs.devfs.rule_depthdevfs らしいからカーネルのソースを読んでみる。 このパラメータが導入されたのは src/sys/fs/devfs/devfs.c の 1.16 の時。コミットログをざっくりと意訳するとこんな感じ。 前は &quot;include&quot; を処理する時に &quot;running&quot; マークを付けることで無限再帰を防いでいたんだけど、 このやり方だと DEVFS のインスタンスが2つある時に race condition を起こして効果がない時があった。 だからその代りに sysctl vfs.de…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhoshizuki.hateblo.jp%2Fentry%2F20090921%2Fp1&quot; title=&quot; vfs.devfs.rule_depth の謎 - ほっしーの技術ネタ備忘録&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-09-21 00:00:00</published>
  <title> vfs.devfs.rule_depth の謎</title>
  <type>rich</type>
  <url>https://hoshizuki.hateblo.jp/entry/20090921/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
