使用符号链接的竞争条件攻击。
可以使用符号链接。
为什么要使用符号链接呢?
另外,建议使用符号链接为设备创建更简单的路径。
It is also recommended that you create simpler paths for the devices by using symbolic links. For example.
诀窍是使用符号链接来从一个位置指向另一个位置,甚至跨分区。
The trick is to use symbolic links to point from one location to another, even across partitions.
UNIX系统中大量使用符号链接来链接文件系统的两个区域。
Symbolic links are used extensively on UNIX systems to link two areas of a file system.
您可以同时保留不同的版本,但是可以通过使用符号链接,使得缺省情况下对应于某一个特定的版本。
You can retain multiple versions in parallel but default to a particular version by using a symbolic link.
有必要时,GoboLinux使用符号链接将文件放置于其他工具希望它们存在的层次中位置。
Where necessary, GoboLinux USES symlinks to put files in its hierarchy in places where other tools expect them to be.
文件描述符0、1和2 分配给了 /dev/null(Solaris大量使用符号链接,所以这里显示了相应的伪设备)。
File descriptors 0, 1, and 2 are open to /dev/null (Solaris makes heavy use of symlinks, which is why the pseudo device is shown).
如果您使用该选项,硬链接可能会以深蓝色背景显示,符号链接带有青色文本,如图1所示。
If you use this option, hard links might show up with a dark blue background, and symlinks with cyan text, as illustrated in Figure 1.
如果使用了这个符号链接,将需要编辑安装目录内的这个配置文件。
If you used the symbolic link, you need to edit the configuration file in the installation directory.
然后,使用这些符号链接来调用或运行该应用程序。
These symlinks are then used to invoke or run the application.
例如,在home目录中,您可以创建一个指向系统级临时目录的符号链接并使用它,就像它是home的目录的一部分一样。
For example, in your home directory, you can create a symbolic link to the system-wide temporary directory and use it as if it were part of your home directory.
如果您想能够检测出符号链接,那么可以对文件名使用lstat 。
If you want to be able to detect symbolic links as well, use lstat on a file name.
如果您在使用有色输出,断符号链接可能以红色文本形式显示在一个黑色背景上,图1中的file6就属于这种情况。
If you are using colored output, broken symlinks are likely to show up as red text on a black background, as is the case for file6 in Figure 1.
要查出哪些文件是对特定文件的符号链接,您可以使用find命令或带文件名的-lname选项,如清单12所示。
To find which files link symbolically to a particular file, you can use the find command and the -lname option with a filename, as illustrated in Listing 12.
BusyBox使用了符号链接以便使一个可执行程序看起来像很多程序一样。
BusyBox USES symbolic links to make one executable look like many.
安装一个设备时,您也可以使用一个符号链接来作为另外一种指定设备名的方式。
You can also use a symbolic link as another way of specifying the device name when mounting a device.
符号链接只是指明了原始文件的位置,用户需要对原始文件的位置有访问权限才可以使用链接。
A symbolic link shows the location of the original file and requires a user to have access rights to the original file's location in order to use the link.
最直接的方法是复制现有的数据存储,并使用一个符号链接进行修正。
The most direct way to do so is to copy over the existing data store and fix things up with a symlink.
另一个选项是使用chkconfig工具程序;这是个非常灵活和强大的工具,能够维护这些符号链接。
Another option is to use the chkconfig utility; this is a very flexible and powerful utility that can maintain these symlinks for you.
Samba也支持使用这些符号链接,让用户访问文件共享以外的区域。
Samba follows these symbolic links, which could let people access areas outside of the file share.
在内部,hacrtmqm使用一个称为halinkmqm 的脚本来重新链接用作IPC 的子目录,并创建一个指向 /ha/$qmgr/data/qmgrs/$qmgr 目录的符号链接 /var/mqm/qmgrs/$qmgr。
Internally, hacrtmqm uses a script called halinkmqm to relink the subdirectories used for IPC keys and create a symlink from /var/mqm/qmgrs/$qmgr to the /ha/$qmgr/data/qmgrs/$qmgr directory.
重新命名文件kxp12 . c以提高可读性,然后使用link命令来创建到原始文件名的符号链接,以防在其他位置使用该文件名。
The file kxp12.c is renamed in a more readable manner, then the link command is used to create a symbolic link back to the original file name, in case it's still used elsewhere.
您可以使用-iname覆盖区分大小写的匹配,并且您可以使用- follow根据符号链接进行遍历。
You can override case-sensitive matches with -iname, and you can traverse symbolic links with -follow. Here's an example that applies both options.
使用tar为任何目录创建包括符号链接在内的完整副本。
Create a verbatim copy of any directory, including symbolic links, with tar.
如果您发现没有正确地复制某些文件或者符号链接和其他特殊类型的文件,那么您可能需要尝试使用tar。
If you discover that some files have not been copied over correctly or if symbolic links and other special filetypes are not copying properly, then you might want to try tar.
global(或者GAS中的. globl或. global)关键字用来让一个符号对链接器可见,可以供其他链接对象模块使用。
The global (also.globl or.global in GAS) keyword is used to make a symbol visible to the linker and available to other linking object modules.
对于BusyBox中包含的每个工具来说,都会这样创建一个符号链接,这样就可以使用这些符号链接来调用BusyBox了。
For each of the utilities contained within BusyBox, a symbolic link is created so that BusyBox is invoked.
首先,要(使用-Wl选项)通知链接器生成一个映像文件,并(使用- g选项)通知编译器生成调试符号。
First, the linker is instructed (with the -wl option) to generate a map file, and the compiler is instructed to generate debug symbols (-g).
应用推荐