<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openvz.org/index.php?action=history&amp;feed=atom&amp;title=Sysfs_layouts</id>
	<title>Sysfs layouts - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openvz.org/index.php?action=history&amp;feed=atom&amp;title=Sysfs_layouts"/>
	<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Sysfs_layouts&amp;action=history"/>
	<updated>2026-06-14T12:49:40Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Sysfs_layouts&amp;diff=8311&amp;oldid=prev</id>
		<title>Kir: added to kernel category</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Sysfs_layouts&amp;diff=8311&amp;oldid=prev"/>
		<updated>2010-03-12T14:03:06Z</updated>

		<summary type="html">&lt;p&gt;added to kernel category&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 14:03, 12 March 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l34&quot; &gt;Line 34:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 34:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;on old distro, you should probably boot it with the option in question set.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;on old distro, you should probably boot it with the option in question set.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Troubleshooting]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Troubleshooting]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Kernel]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kir</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Sysfs_layouts&amp;diff=8310&amp;oldid=prev</id>
		<title>195.214.232.10: Described the old_sysfs option</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Sysfs_layouts&amp;diff=8310&amp;oldid=prev"/>
		<updated>2010-03-12T13:24:25Z</updated>

		<summary type="html">&lt;p&gt;Described the old_sysfs option&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This page describes what problems can you have with sysfs&lt;br /&gt;
&lt;br /&gt;
== Intro ==&lt;br /&gt;
Sysfs can exist in two layouts. They are selected by the &amp;lt;code&amp;gt;CONFIG_SYSFS_DEPRECATED_V2&amp;lt;/code&amp;gt;&lt;br /&gt;
config option. There are two main differences between them&lt;br /&gt;
# block devices are stored in the &amp;lt;code&amp;gt;/sys/block&amp;lt;/code&amp;gt; or in the &amp;lt;code&amp;gt;/sys/class/block&amp;lt;/code&amp;gt;&lt;br /&gt;
# some devices live in the &amp;lt;code&amp;gt;/sys/devices&amp;lt;/code&amp;gt; or in the &amp;lt;code&amp;gt;/sys/class&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Although sysfs puts symlinks between old and new entries where possible, not all userspace can&lt;br /&gt;
work with it.&lt;br /&gt;
&lt;br /&gt;
== Known issues ==&lt;br /&gt;
=== Old nash on new layout ===&lt;br /&gt;
&amp;lt;code&amp;gt;Nash&amp;lt;/code&amp;gt; is a small shell used on initrd/initramdisk-s to boot the system.&lt;br /&gt;
&lt;br /&gt;
With the new sysfs layout (i.e. the option is question is ''not'' set) the old &amp;lt;code&amp;gt;nash&amp;lt;/code&amp;gt;&lt;br /&gt;
tool (such as the one used in CentOS-5) cannot recognise the block devices. This results in &lt;br /&gt;
inability to mount the root filesystem.&lt;br /&gt;
&lt;br /&gt;
To workaround the issue you should turn the deprecated layout on in .config and rebuild the kernel.&lt;br /&gt;
All OpenVZ kernel prior to 2.6.27 (and including one) are build with this layout.&lt;br /&gt;
&lt;br /&gt;
=== New udev on old layout ===&lt;br /&gt;
With the old sysfs layout (i.e. with the option set to &amp;lt;code&amp;gt;y&amp;lt;/code&amp;gt;) the udev used in newer&lt;br /&gt;
distros (such as FC12) prints a warning about the old layout used.&lt;br /&gt;
&lt;br /&gt;
Currently this doesn't bring any problems to user, but in future situation may change.&lt;br /&gt;
&lt;br /&gt;
To workaround the issue you should turn the deprecated layout off in .config and rebuild the kernel.&lt;br /&gt;
&lt;br /&gt;
== Dynamic selection ==&lt;br /&gt;
In 2.6.32 OpenVZ kernel there's a boot option called &amp;lt;code&amp;gt;old_sysfs&amp;lt;/code&amp;gt; which turns the&lt;br /&gt;
deprecated layout on at boot. This one is off by default, so if you're using the 2.6.32 kernel&lt;br /&gt;
on old distro, you should probably boot it with the option in question set.&lt;br /&gt;
[[Category:Troubleshooting]]&lt;/div&gt;</summary>
		<author><name>195.214.232.10</name></author>
		
	</entry>
</feed>