<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>VerySource - Linux/Unix</title>
    <link>https://domain.verysource.com/forum-63-1.html</link>
    <description>Latest 20 threads of Linux/Unix</description>
    <copyright>Copyright(C) VerySource</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Wed, 15 Apr 2026 19:06:33 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://domain.verysource.com/static/image/common/logo_88_31.gif</url>
      <title>VerySource</title>
      <link>https://domain.verysource.com/</link>
    </image>
    <item>
      <title>Combine multiple python files</title>
      <link>https://domain.verysource.com/thread-3853-1-1.html</link>
      <description><![CDATA[Edited by alfazzafashion at 2022-1-30 16:34 

Combine multiple python files into one python file

Thing you want to do
For example, a project where main.py calls another file ...

- main.py
- sub1.py
- folder
    - sub2.py
↓ ↓ ↓ The functions and]]></description>
      <category>Linux/Unix</category>
      <author>alfazzafashion</author>
      <pubDate>Sun, 30 Jan 2022 08:29:35 +0000</pubDate>
    </item>
    <item>
      <title>在 CentOS 7 上绑定附加 IP 有几种方法，本文将一一进行解释。</title>
      <link>https://domain.verysource.com/thread-3817-1-1.html</link>
      <description><![CDATA[确定网卡名称
在正式开始配置附加IP的绑定之前，我们需要先确定网卡的名称，可以通过以下命令来输出：

ip link | awk \'NR%2==1\' | awk \'{print $2,$8,$9}\' | tr -d \':\'
输出的内容应该类似于以下结果：

lo state UNKNOWN
enp3s0 state UP
enp4s0 state DOWN
第一个设 ...]]></description>
      <category>Linux/Unix</category>
      <author>cfrs</author>
      <pubDate>Tue, 09 Nov 2021 06:42:33 +0000</pubDate>
    </item>
    <item>
      <title>radius mysql问题 rlm_sql_mysql.so 这个文件我怎么都没有找到</title>
      <link>https://domain.verysource.com/thread-3707-1-1.html</link>
      <description><![CDATA[rlm_sql (sql): Could not link driver rlm_sql_mysql: rlm_sql_mysql.so: cannot open shared object file: No such file or directory
rlm_sql (sql): Make sure it (and all its dependent libraries!) are in the search path of your system\'s ld.
radiusd.conf[14 .]]></description>
      <category>Linux/Unix</category>
      <author>looking8</author>
      <pubDate>Sun, 25 Apr 2021 08:00:01 +0000</pubDate>
    </item>
    <item>
      <title>烧写linux2.6内核的问题</title>
      <link>https://domain.verysource.com/thread-3577-1-1.html</link>
      <description><![CDATA[我将编译好的2.6内核下载到2410的ram里面就能够运行，而烧写到flash里面运行到
Copy linux kernel from 0x00270000 to 0x30008000, size = 0x00200000 ... done
zImage magic = 0x016f2818
Setup linux parameters at 0x30000100
linux command line is: \&quot;noinitrd root ...]]></description>
      <category>Linux/Unix</category>
      <author>2005tanze</author>
      <pubDate>Wed, 23 Dec 2020 01:30:01 +0000</pubDate>
    </item>
    <item>
      <title>_attribute__</title>
      <link>https://domain.verysource.com/thread-3575-1-1.html</link>
      <description><![CDATA[_attribute__是关键字，是gcc的C语言扩展，regparm(0)表示不从寄存器传递参数。如果是__attribute__((regparm(3)))，
那么调用函数的时候参数不是通过栈传递，而是直接放到寄存器里，被调用函数直接从寄存器取参数
函数定义前加宏asmlinkage ,表示这些函数通过堆栈而不 ...]]></description>
      <category>Linux/Unix</category>
      <author>simon-N7</author>
      <pubDate>Tue, 22 Dec 2020 08:58:33 +0000</pubDate>
    </item>
    <item>
      <title>错误：conflicting types for  xxx     previous declaration of xxx</title>
      <link>https://domain.verysource.com/thread-3574-1-1.html</link>
      <description><![CDATA[错误：conflicting types for  xxx
    previous declaration of xxx
其实“被重复引用”是指一个头文件在同一个cpp文件中被include了多次，这种错误常常是由于include嵌套造成的。比如：存在a.h文件#include \&quot;c.h\&quot;而此时b.cpp文件导入了#include \&quot;a.h\&quot; 和#include \&quot;c.h ...]]></description>
      <category>Linux/Unix</category>
      <author>simon-N7</author>
      <pubDate>Tue, 22 Dec 2020 08:55:54 +0000</pubDate>
    </item>
    <item>
      <title>基于QNX的嵌入式系统串口通信</title>
      <link>https://domain.verysource.com/thread-3465-1-1.html</link>
      <description><![CDATA[基于QNX的嵌入式系统串口通信]]></description>
      <category>Linux/Unix</category>
      <author>xlq001</author>
      <pubDate>Tue, 08 Dec 2020 01:52:27 +0000</pubDate>
    </item>
    <item>
      <title>linux内核高手请接招</title>
      <link>https://domain.verysource.com/thread-3462-1-1.html</link>
      <description><![CDATA[在写linux驱动程序的时候会调用register_chrdev()函数注册自己的驱动程序（2.4，字符驱动），该函数把我们的自己写的file_operation写到一个device struct结构体中。
当我们测试自己的驱动程序的时候会调用系统调用open()来打开该设备文件，在sys_open（）函数会调用fil ...]]></description>
      <category>Linux/Unix</category>
      <author>susuaini</author>
      <pubDate>Mon, 07 Dec 2020 13:00:01 +0000</pubDate>
    </item>
    <item>
      <title>***网卡驱动错误：FEC:No PHY device found****</title>
      <link>https://domain.verysource.com/thread-3433-1-1.html</link>
      <description><![CDATA[小弟在coldfire5272上面启动UCLINUX（不使用DEBUG程序，将内核下到FLASH上，然后搬移到内存执行）

结果在FEC驱动程序初始化的时候出现了以上错误。

目前有几个怀点：
1.在读取MMFR寄存器的时候总是0xffff，这是无效值，为什么会这样呢？我在5329DEMO板上用DEBUG程序下 ...]]></description>
      <category>Linux/Unix</category>
      <author>故意娃娃</author>
      <pubDate>Thu, 26 Nov 2020 12:30:01 +0000</pubDate>
    </item>
    <item>
      <title>怎样让Linux启动时不加载parport和parport_pc模块？</title>
      <link>https://domain.verysource.com/thread-3365-1-1.html</link>
      <description><![CDATA[本人在运行《Linux设备驱动程序》第九章的并口驱动程序short，发现并口的I/O端口号0x378以被parport和parport_pc模块。

请除了重新配置内核进行内核升级外，怎样让Linux启动时不自动加载parport和parport_pc模块？ ...]]></description>
      <category>Linux/Unix</category>
      <author>deng0522</author>
      <pubDate>Sat, 17 Oct 2020 05:00:01 +0000</pubDate>
    </item>
    <item>
      <title>怎样mount initrd.img文件？mount: you must specify the filesystem type</title>
      <link>https://domain.verysource.com/thread-3323-1-1.html</link>
      <description><![CDATA[我想做一个U盘启动的linux,照处面的步骤进行：
建立initrd.img文件
# mkdir -p /mnt/initrd 
# cd /tmp 
# mkinitrd /tmp/initrd.gz 2.6.18 
2.解压initrd.img文件，修改启动脚本linuxrc 
# gunzip initrd.gz 
# mount -o loop /tmp/initrd /mnt/initrd
到这步就出现:mo ...]]></description>
      <category>Linux/Unix</category>
      <author>闻太师</author>
      <pubDate>Fri, 09 Oct 2020 07:30:01 +0000</pubDate>
    </item>
    <item>
      <title>请问用sSH远程用root用户登陆安装程序的时候总是问题，为什么？</title>
      <link>https://domain.verysource.com/thread-3281-1-1.html</link>
      <description><![CDATA[是权限的问题还是什么问题谢谢了]]></description>
      <category>Linux/Unix</category>
      <author>风中风铃</author>
      <pubDate>Mon, 28 Sep 2020 06:00:01 +0000</pubDate>
    </item>
    <item>
      <title>x-1205 driver</title>
      <link>https://domain.verysource.com/thread-3271-1-1.html</link>
      <description><![CDATA[/* * Ani2c driver for the Xicor/Intersil X1205 RTC *Copyright 2004 Karen Spearel *Copyright 2005 Alessandro Zummo * *please send all reports to: *   Karen Spearel  *    Alessandro Zummo  * *based on a lot of other RTC drivers. * *This program is free ...]]></description>
      <category>Linux/Unix</category>
      <author>honglu</author>
      <pubDate>Sun, 27 Sep 2020 15:59:06 +0000</pubDate>
    </item>
    <item>
      <title>[要求協助]bash shell script問題</title>
      <link>https://domain.verysource.com/thread-3261-1-1.html</link>
      <description><![CDATA[我是在職學生, 最近工作有點忙, 所以功課的進度趕不上了, 所以想請大家幫我解決星期一要交上去的功課, 感激不盡.

1. write a script, given a directory as argument (also search for subdirectory), print the longest filename in that directory. ensure the scrip ...]]></description>
      <category>Linux/Unix</category>
      <author>坏坏的感觉</author>
      <pubDate>Fri, 25 Sep 2020 07:30:01 +0000</pubDate>
    </item>
    <item>
      <title>修改CentOS默认yum源地址提高下载速度</title>
      <link>https://domain.verysource.com/thread-3247-1-1.html</link>
      <description><![CDATA[有两种办法：1.安装yum-fastestmirror可以自动选择最快的镜像下载
2.更改下载镜像地址，选择国内的镜像地址下载备注：如果安装了 yum-fastestmirror 的话，由于是动态的选择镜像地址，修改后的镜像地址可能会无效。
1.下载 yum-fastestmirror： yum install yum-plugi ...]]></description>
      <category>Linux/Unix</category>
      <author>bert.lee8219</author>
      <pubDate>Thu, 24 Sep 2020 10:30:37 +0000</pubDate>
    </item>
    <item>
      <title>网络编程中先发送的数据是不是先到达目的</title>
      <link>https://domain.verysource.com/thread-3114-1-1.html</link>
      <description><![CDATA[一个线程：
pthread_mutex_lock
发送数据1
发送数据2
pthread_mutex_unlock
另一个线程：
pthread_mutex_lock
发送数据3
pthread_mutex_unlock

会不会出现客户端收到数据1后收到数据3再收到数据2这种情况
 ...]]></description>
      <category>Linux/Unix</category>
      <author>zzjjvv</author>
      <pubDate>Sun, 22 Mar 2020 05:00:01 +0000</pubDate>
    </item>
    <item>
      <title>linux下要进行画图，无法使用graphics.h怎么办？</title>
      <link>https://domain.verysource.com/thread-3101-1-1.html</link>
      <description><![CDATA[想编写程序实现画图功能，无法再试用win下的graphics.h，那该怎么处理？？
谢谢各位]]></description>
      <category>Linux/Unix</category>
      <author>zerocool_ydx</author>
      <pubDate>Sat, 21 Mar 2020 16:00:01 +0000</pubDate>
    </item>
    <item>
      <title>小问一个shell。。。</title>
      <link>https://domain.verysource.com/thread-3097-1-1.html</link>
      <description><![CDATA[a.ini 文件中的数据如下：

1
2
3
4
5
6
。。。。


有个程序需要循环依次得到每行的数据，执行完成后再取下一行的数据，该如何写这个循环？]]></description>
      <category>Linux/Unix</category>
      <author>phoinix</author>
      <pubDate>Sat, 21 Mar 2020 14:00:01 +0000</pubDate>
    </item>
    <item>
      <title>请教一道考研题，无从下手啊</title>
      <link>https://domain.verysource.com/thread-3002-1-1.html</link>
      <description><![CDATA[非计算机专业的一道考研题，应该是从操作系统的角度来回答，所以发到这儿来

当使用word等字处理软件时，在键盘上输入一个字符w，在显示器上随即会显示这个字符，试述计算机在这一过程中的处理步骤。

大家来帮帮忙，回答越详细越好 ...]]></description>
      <category>Linux/Unix</category>
      <author>夜幕无情</author>
      <pubDate>Wed, 18 Mar 2020 15:00:02 +0000</pubDate>
    </item>
    <item>
      <title>IFS在哪里？</title>
      <link>https://domain.verysource.com/thread-2939-1-1.html</link>
      <description><![CDATA[echo $IFS 什么都没有啊? 在哪里预设定的？]]></description>
      <category>Linux/Unix</category>
      <author>17937713</author>
      <pubDate>Tue, 17 Mar 2020 01:00:01 +0000</pubDate>
    </item>
  </channel>
</rss>