小编Aqu*_*irl的帖子

为什么touch会创建新文件?

我知道该touch命令用于更新文件上次修改的日期。如果文件系统上不存在请求的文件,它还用于创建新文件。

由于触摸(顾名思义),应该只更新上次修改日期,为什么它还尝试创建一个新文件?

它只是在触摸代码中写入的检查,还是其他导致创建文件的东西?

files touch

13
推荐指数
2
解决办法
6693
查看次数

使用默认配置编译内核

假设:

  • 该平台:
    anisha@linux-dopx:~/> uname -a
    Linux linux-dopx 2.6.34-12-desktop #1 SMP PREEMPT 2010-06-29 02:39:08 +0200 x86_64 x86_64 x86_64 GNU/Linux

  • 下载的内核是来自 kernel.org 的最新稳定内核。

  • 我们让make menuconfig.
  • 只需输入makemake installgrub-update,并重新启动。

现在,根据这些假设,我们是否仍然需要对文件进行一些额外的更改或编译一些额外的驱动程序以确保无错误重启?

如果是,那么这些变化取决于什么?

编辑 1:

anisha@linux-dopx:/> sudo /sbin/lspci -n
00:00.0 0600: 8086:29c0 (rev 10)
00:02.0 0300: 8086:29c2 (rev 10)
00:1b.0 0403: 8086:27d8 (rev 01)
00:1c.0 0604: 8086:27d0 (rev 01)
00:1c.1 0604: 8086:27d2 (rev 01)
00:1d.0 0c03: 8086:27c8 (rev 01)
00:1d.1 0c03: 8086:27c9 (rev 01)
00:1d.2 0c03: 8086:27ca (rev …
Run Code Online (Sandbox Code Playgroud)

linux compiling kernel

8
推荐指数
2
解决办法
2万
查看次数

如何在pdf中创建索引?

iPdf 烂了

是否有任何其他软件或任何其他方式可以在 pdf 文件中创建“索引”?

free-software pdf

8
推荐指数
2
解决办法
4506
查看次数

如何在 OpenSuSE linux 上创建 initrd 映像?

/usr/src/linux-3.2.1 # make install
scripts/kconfig/conf --silentoldconfig Kconfig
sh /usr/src/linux-3.2.1/arch/x86/boot/install.sh 3.2.1-12-desktop arch/x86/boot/bzImage \
                System.map "/boot"
You may need to create an initial ramdisk now.
Run Code Online (Sandbox Code Playgroud)

——

/boot # mkinitrd initrd-3.2.1-12-desktop.img 3.2.1-12-desktop

Kernel image:   /boot/vmlinuz-2.6.34-12-desktop
Initrd image:   /boot/initrd-2.6.34-12-desktop
Kernel Modules: <not available>
Could not find map initrd-3.2.1-12-desktop.img/boot/System.map, please specify a correct file with -M.
There was an error generating the initrd (9)
Run Code Online (Sandbox Code Playgroud)

查看 mkinitrd 命令期间的错误。我失踪的重点是什么?
这是什么意思?Kernel Modules: <not available>

OpenSuse 11.3 64 位

编辑1:

我做了“制作模块”。
我将System.map文件从/usr/src/linux-3.2.1目录复制到/boot,现在运行 …

linux compiling opensuse kernel

7
推荐指数
1
解决办法
3万
查看次数

警告:modpost:发现 10 个部分不匹配

这个错误信息是我应该担心的吗?

linux-y3pi:/usr/src/linux-2.6.38.8 # make modules
scripts/kconfig/conf --silentoldconfig Kconfig
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
  Building modules, stage 2.
  MODPOST 2516 modules
***WARNING: modpost: Found 10 section mismatch(es).***
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
Run Code Online (Sandbox Code Playgroud)

linux compiling kernel

6
推荐指数
1
解决办法
6019
查看次数

加载共享库时出错:libGL.so.1:无法打开共享对象文件:没有这样的文件或目录

anisha@linux-y3pi:~/> google-earth 
./googleearth-bin: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory

anisha@linux-y3pi:~/> locate libGL
/opt/google/earth/free/libGLU.so.1
/usr/lib64/libGL.so
/usr/lib64/libGL.so.1
/usr/lib64/libGL.so.1.2
/usr/lib64/libGLU.so.1
/usr/lib64/libGLU.so.1.3.070802

anisha@linux-y3pi:~/> uname -a
Linux linux-y3pi 2.6.34-12-desktop #1 SMP PREEMPT 2010-06-29 02:39:08 +0200 x86_64 x86_64 x86_64 GNU/Linux
Run Code Online (Sandbox Code Playgroud)

在 OpenSUSE 上,尝试使用 Mesa-32bit 中的 zypper 来安装 32 位版本的库。

linux-y3pi:# zypper in Mesa-32bit
Retrieving repository 'google-chrome' metadata [\]
Failed to download /repodata/repomd.xml from http://dl.google.com/linux/chrome/rpm/stable/x86_64
Abort, retry, ignore? [a/r/i/?] (a): r
Retrieving repository 'google-chrome' metadata [|]
Failed …
Run Code Online (Sandbox Code Playgroud)

64bit opensuse libraries linker dynamic-linking

6
推荐指数
1
解决办法
1万
查看次数

如何在 Linux 上启用 libass?

我尝试--enable-libass在命令中使用此命令为 ffmpeg 启用 libass,但它无法识别该命令。

有谁知道如何在 Linux 上启用 libass?

linux ffmpeg

5
推荐指数
2
解决办法
2万
查看次数

无效配置“x86_64”:无法识别机器“x86_64”

编译此:http ://linux.softpedia.com/progDownload/Indexed-PDF-Creator-Download-1071.html

anisha@linux-dopx:~/tarBalls/ipdf-1.0.0> ./configure --build=x86_64
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc …
Run Code Online (Sandbox Code Playgroud)

linux software-installation

4
推荐指数
1
解决办法
3万
查看次数

GNUmakefile、GNUmakefile.am 和 GNUmakefile.in 是否表明使用了 Automake?

rtnet 的源文件夹仅包含上述用于编译目的的文件。其余文件是示例的源代码。

问题是这些文件是否表明它们是通过 automake 生成的?

如果是,那么我应该在哪里查找配置 automake 以生成这些文件的设置?

linux make automake xenomai

4
推荐指数
1
解决办法
1565
查看次数

如何找出`.so`文件的确切包名,以便通过`zypper`安装它?

anisha@linux-dopx:~/tarBalls/qtFlash/bin> ./flashscript 
./flashscript: error while loading shared libraries: libqtnmedia.so.2: cannot open shared object file: No such file or directory

anisha@linux-dopx:~/tarBalls/qtFlash/bin> cnf libqtnmedia.so.2
libqtnmedia.so.2: command not found                                 
Run Code Online (Sandbox Code Playgroud)

某处有模式吗?你如何.so通过包管理器安装文件?

opensuse software-installation package-management

3
推荐指数
1
解决办法
890
查看次数

如何查找软件(可能*不*在 PATH 中)是否已预安装?

anisha@linux-dopx:~> which qmake
which: no qmake in (/opt/qtcreator-2.0.92/bin/:/opt/qtsdk-2010.05/qt/bin/:/opt/qtcreator-2.0.92/bin/:/opt/qtsdk-2010.05/qt/bin/:/usr/lib64/mpi/gcc/openmpi/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin)

anisha@linux-dopx:~> locate qmake
anisha@linux-dopx:~> 
Run Code Online (Sandbox Code Playgroud)

考虑到当前不在 PATH 中的条款,我是否可以通过其他方式确认软件是否已安装?

path software-installation

1
推荐指数
1
解决办法
9026
查看次数

2.6.38.8 上没有 ACPI(高级配置和电源配置)?

我需要禁用ACPI 中的某些部分,但它在内核2.6.38.8 中 根本不存在(从网络下载为 tar)

我可以在内核2.6.34-12(OpenSuse 11.3 上的默认值)中看到该选项,但在另一个中看不到。

我失踪的重点是什么?

PS 屏幕截图来自内核 2.6.38.8。

在此处输入图片说明

在此处输入图片说明 在此处输入图片说明

kernel power-management

1
推荐指数
1
解决办法
190
查看次数

如何在另一个挂载的硬盘中使用 cd?

谈论 105 GB 卷。我想使用定位/查找通过终端在其中进行搜索。

那已经安装了。当我右键单击时,我会在菜单中卸载。

我如何通过终端进入该区域?

在此处输入图片说明

command-line ubuntu removable-storage

1
推荐指数
1
解决办法
9292
查看次数