If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:cwd

From BoxMatrix
(Redirected from cwd)


BoxMatrix >> System >> cwd @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Devices Filesystems Partitions Sockets Netlink Pipes Interfaces Bridges Ports Events Sources Sinks AVMIPC Processes Watchdogs Memory Slab Vmalloc ProcFS SysFS Research

Procfs-Object

Goto:   Examples  -  Dependencies   -   Model-Matrix   -   Help Supportdata2   -   SMW-Browser

Details

cwd is a symlink to the current working directory of a process. This is what cd sets and pwd prints.

Excerpt from the proc(5) man page:

/proc/[pid]/cwd

       This is a symbolic link to the current working directory
       of the process.  To find out the current working directory
       of process 20, for instance, you can do this:

           $ cd /proc/20/cwd; pwd -P

       In a multithreaded process, the contents of this symbolic
       link are not available if the main thread has already
       terminated (typically by calling pthread_exit(3)).

       Permission to dereference or read (readlink(2)) this
       symbolic link is governed by a ptrace access mode
       PTRACE_MODE_READ_FSCREDS check; see ptrace(2).

See also the cwd(3) man page.

Examples

Fw 7.29 examples:

root@fritz2:/var/mod/root# ls -l /proc/self/cwd

lrwxrwxrwx    1 root     root             0 Nov 23 10:59 /proc/self/cwd -> /var/mod/root

root@fritz2:/var/mod/root# pwd

/var/mod/root

Dependencies

Daily updated index of all dependencies of this object. Last update: GMT.
A ** in the Mod column marks info from Supportdata2 probes, which will always stay incomplete.
A - in the Mod column marks manual research, the Firmware then shows where the Object occurs, not the Relation.

Relation Typ Object Mod Firmware Info Origin
0 dependencies for this object

Model-Matrix

Daily updated index of the presence, path and size of this object for each model. Last update: 2024-05-02 04:25 GMT.
Showing all models using this object. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom) label in the Model column shows which CPU is meant for models with multiple Linux instances.
Note that this list comes from Supportdata2 probes, which can have arbitrary settings and come from different firmware versions.
It doesn't say much if a model is not listed here. It may be a missing supportdata2 file or just a disabled feature.

Help Supportdata2

The data in this article is incomplete since it was manually collected using the Supportdata2 project.

Unlike the Supportdata-Probes which have been collected for years Supportdata2 is brand new and only has a few probes.
If you have access to a shell then please help to extend the Supportdata2 collection to improve this data.

It's easy and it's done in minutes. Please send created data as an Email attachment to the address listed here. Thanks!

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

c