我知道该touch命令用于更新文件上次修改的日期。如果文件系统上不存在请求的文件,它还用于创建新文件。
由于触摸(顾名思义),应该只更新上次修改日期,为什么它还尝试创建一个新文件?
它只是在触摸代码中写入的检查,还是其他导致创建文件的东西?
假设:
该平台:
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.make,make install,grub-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) /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 位
我做了“制作模块”。
我将System.map文件从/usr/src/linux-3.2.1目录复制到/boot,现在运行 …
这个错误信息是我应该担心的吗?
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) 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) 我尝试--enable-libass在命令中使用此命令为 ffmpeg 启用 libass,但它无法识别该命令。
有谁知道如何在 Linux 上启用 libass?
编译此: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) rtnet 的源文件夹仅包含上述用于编译目的的文件。其余文件是示例的源代码。
问题是这些文件是否表明它们是通过 automake 生成的?
如果是,那么我应该在哪里查找配置 automake 以生成这些文件的设置?
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通过包管理器安装文件?
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 中的条款,我是否可以通过其他方式确认软件是否已安装?
我需要禁用ACPI 中的某些部分,但它在内核2.6.38.8 中 根本不存在(从网络下载为 tar)?
我可以在内核2.6.34-12(OpenSuse 11.3 上的默认值)中看到该选项,但在另一个中看不到。
我失踪的重点是什么?
PS 屏幕截图来自内核 2.6.38.8。

