Views
3 years ago

INTRO (7) NetBSD Miscellaneous Information Manual INTRO (7 ...

INTRO (7) NetBSD Miscellaneous Information Manual INTRO (7 ...

SYMLINK (7)

SYMLINK (7) NetBSD Miscellaneous Information Manual SYMLINK (7) for commands that do not always do file tree traversals, the −H flag will be ignored if the −R flag is not also specified). For example, the command "chown -HR user slink" will traverse the file hierarchy rooted in the file pointed to by "slink". Note, the −H is not the same as the previously discussed −h flag. The −H flag causes symbolic links specified on the command line to be dereferenced both for the purposes of the action to be performed and the tree walk, and it is as if the user had specified the name of the file to which the symbolic link pointed. As consistently as possible, you can make commands doing a file tree walk follow any symbolic links named on the command line, as well as any symbolic links encountered during the traversal, regardless of the type of file they reference, by specifying the −L (for "logical") flag. This flag is intended to make the entire name space look like the logical name space. (Note, for commands that do not always do file tree traversals, the −L flag will be ignored if the −R flag is not also specified). For example, the command "chown -LR user slink" will change the owner of the file referenced by "slink". If "slink" references a directory, chown will traverse the file hierarchy rooted in the directory that it references. In addition, if any symbolic links are encountered in any file tree that chown traverses, they will be treated in the same fashion as "slink". As consistently as possible, you can specify the default behavior by specifying the −P (for "physical") flag. This flag is intended to make the entire name space look like the physical name space. For commands that do not by default do file tree traversals, the −H, −L and −P flags are ignored if the −R flag is not also specified. In addition, you may specify the −H, −L and −P options more than once; the last one specified determines the command’s behavior. This is intended to permit you to alias commands to behave one way or the other, and then override that behavior on the command line. The ls(1) and rm(1) commands have exceptions to these rules. The rm command operates on the symbolic link, and not the file it references, and therefore never follows a symbolic link. The rm command does not support the −H, −L or −P options. To maintain compatibility with historic systems, the ls command never follows symbolic links unless the −L flag is specified. If the −L flag is specified, ls follows all symbolic links, regardless of their type, whether specified on the command line or encountered in the tree walk. The ls command does not support the −H or −P options. MAGIC SYMLINKS Magic symlinks can be enabled by setting “vfs.generic.magiclinks” with sysctl(8). When magic symlinks are enabled “magic” patterns in symlinks are expanded. Those patterns begin with “@” (anat-sign ) , and end at the end of the pathname component (i.e. at the next “/”, or at the end of the symbolic link if there are no more slashes ). To illustrate the pattern matching rules, assume that “@foo” is a valid magic string: @foo @foo/bar bar@foo @foobar would be matched would be matched would be matched would not be matched Magic strings may also be delimited with ‘{’ and ‘}’ characters, allowing for more complex patterns in symbolic links such as: @{var1}-@{var2}.@{var3} The following patterns are supported: NetBSD 3.0 February 7, 2007 3

SYMLINK (7) NetBSD Miscellaneous Information Manual SYMLINK (7) @domainname @hostname @emul @kernel_ident @machine @machine_arch @osrelease @ostype @ruid @uid Expands to the machine’s domain name, as set by setdomainname(3). Expands to the machine’s host name, as set by sethostname(3). Expands to the name of the current process’s emulation. Expands to the name of the config(1) file used to generate the running kernel. Expands to the value of MACHINE for the system (equivalent to the output of “uname -m” ) . Expands to the value of MACHINE_ARCH for the system (equivalent to the output of “uname -p” ). Expands to the operating system release of the running kernel ( equivalent to the output of “uname -r” ). Expands to the operating system type of the running kernel ( equivalent to the output of “uname -s” ). This will always be “NetBSD” on NetBSD systems. Exapnds to the real user-id of the process. Expands to the effective user-id of the process. SEE ALSO chflags(1), chgrp(1), chmod(1), cp(1), du(1), find(1), ln(1), ls(1), mv(1), pax(1), rm(1), tar(1), uname(1), chown(2), execve(2), lchflags(2), lchmod(2), lchown(2), lstat(2), lutimes(2), mount(2), readlink(2), rename(2), symlink(2), unlink(2), fts(3), remove(3), chown(8), mount(8) HISTORY Magic symlinks appeared in NetBSD 4.0. NetBSD 3.0 February 7, 2007 4

miscellaneous information - NHL.com
User Manager Manual - intro to search (pdf) - UCAS
Version 7 Manual - Freiwald Software
apple-pascal-1.3-manual
VINCI 7 Instruction manual - APart-Audio
QCapture PRO 7 User Manual - QImaging
Information and Processing Manual Rheinspan® AirMaxx - Triplaco nv
Download Customary Fishing Information Manual - Ministry of ...
uip165p owner's manual - Support Information Management System
Information & Records Management Process Manual - University of ...
Download Exhibitor Services Manual (PDF) - Drug Information ...
Capitola Mall General information Criteria Manual - Macerich
Lakewood Center General Information Criteria Manual - Macerich
Engineering From 7 To 20 Tons Manual - Stulz Air Technologies Inc.
Operations Manual - TE 7-C Rotary Hammer Drill - Home Depot
Samsung NP870Z5GE - NP870Z5G-S01US - User Manual (Windows 7) (ENGLISH)
Honeywell 7-Day Programmable Thermostat (RTH7600D) - 7-Day Programmable Thermostat Operating Manual (English,French)
Honeywell 7-Day Programmable Thermostat (RTH7600D) - 7-Day Programmable Thermostat Operating Manual (English,French)
University Manual Under Right To Information Act 2005 (English)
Aroma Aroma 7-Cup Electric Kettle AWK-108 (AWK-108) - AWK-108 Instruction Manual - Aroma 7-Cup Electric Kettle
Samsung 27" Series 7 All-in-One PC - DP700A7D-S03US - User Manual (Windows 7) ver. 1.1 (KOREAN,15.16 MB)
Saturn I Countdown Manual Volume II, SA-7 (small).pdf - Heroicrelics
Samsung Series 5 15.6” Notebook - NP510R5E-A02UB - User Manual (Windows 7) ver. 1.0 (KOREAN,10.93 MB)
Samsung Samsung Series 7 All in One - DP700A7D-S02US - User Manual (Windows8.1) (ENGLISH)
Samsung Samsung Series 7 All in One - DP700A7D-S02US - User Manual (Windows8.1) ver. 2.2 (KOREAN,19.09 MB)
Samsung Series 7 17.3” Notebook - NP770Z7E-S01UB - User Manual (Windows 8) ver. 1.3 (SPANISH,24.28 MB)
Samsung Series 7 13.3” Notebook - NP740U3E-A01UB - User Manual (Windows 8) (ENGLISH)
Samsung Series 5 14" Notebook - NP520U4C-A01UB - User Manual (Windows 7) (ENGLISH)