<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: pipishuo</title>
    <description>The latest articles on DEV Community by pipishuo (@pipishuo).</description>
    <link>https://dev.to/pipishuo</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3478254%2Fbe0aa8ce-523a-45d3-8f95-150203afc510.jpg</url>
      <title>DEV Community: pipishuo</title>
      <link>https://dev.to/pipishuo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pipishuo"/>
    <language>en</language>
    <item>
      <title>Linux xarray</title>
      <dc:creator>pipishuo</dc:creator>
      <pubDate>Mon, 29 Sep 2025 09:42:33 +0000</pubDate>
      <link>https://dev.to/pipishuo/linux-xarray-1h36</link>
      <guid>https://dev.to/pipishuo/linux-xarray-1h36</guid>
      <description>&lt;p&gt;xa_index xa_offset xa_shift&lt;br&gt;
&lt;code&gt;static unsigned int get_offset(unsigned long index, struct xa_node *node)&lt;br&gt;
{&lt;br&gt;
    return (index &amp;gt;&amp;gt; node-&amp;gt;shift) &amp;amp; XA_CHUNK_MASK;&lt;br&gt;
}&lt;br&gt;
static void xas_set_offset(struct xa_state *xas)&lt;br&gt;
{&lt;br&gt;
    xas-&amp;gt;xa_offset = get_offset(xas-&amp;gt;xa_index, xas-&amp;gt;xa_node);&lt;br&gt;
}&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
Through the above code, the xa_index must be xa_shift align.the xa_offset represent the xa_index's high (64-shift) bits data.For example.Assume that the xa_index  is 0111 0000,xa_shift is 4.so xa_offset is 0111&lt;/p&gt;

&lt;p&gt;what is relationship between xa_node and entry?&lt;/p&gt;

</description>
    </item>
    <item>
      <title>some problem about buildding LFS on Debian with WSL</title>
      <dc:creator>pipishuo</dc:creator>
      <pubDate>Thu, 04 Sep 2025 03:49:46 +0000</pubDate>
      <link>https://dev.to/pipishuo/some-problem-about-buildding-lfs-on-debian-with-wsl-5f54</link>
      <guid>https://dev.to/pipishuo/some-problem-about-buildding-lfs-on-debian-with-wsl-5f54</guid>
      <description>&lt;p&gt;I encountered some problems when I build LFS on Debian with WSL.&lt;br&gt;
The official document is &lt;a href="https://www.linuxfromscratch.org/lfs/downloads/stable/LFS-BOOK-12.4-NOCHUNKS.html" rel="noopener noreferrer"&gt;here&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  LFS chroot cannot find /usr/bin/env
&lt;/h1&gt;

&lt;p&gt;run the command &lt;code&gt;ln -sv usr/lib $LFS/lib in $LFS&lt;/code&gt;.&lt;br&gt;
I crushed same problem when i am building Linux from Scratch. on the "4.2. Creating a Limited Directory Layout in the LFS Filesystem",I run the part of shell &lt;code&gt;ln -sv usr/$i $LFS/$i&lt;/code&gt; go wrong ,so i not have the symbol link &lt;code&gt;$LFS/lib-&amp;gt;usr/liband&lt;/code&gt; the problem arose.&lt;/p&gt;

&lt;p&gt;Analogically. I need to run &lt;code&gt;ln -sv usr/bin $LFS/bin&lt;/code&gt; and &lt;code&gt;ln -sv usr/sbin $LFS/sbin&lt;/code&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
