unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (plan9)
Page:
Section:
Apropos / Subsearch:
optional field

WALK(5)                       File Formats Manual                      WALK(5)



NAME
       walk - descend a directory hierarchy

SYNOPSIS
       Twalk  tag[2] fid[2] name[28]
       Rwalk  tag[2] fid[2] qid[8]

DESCRIPTION
       The  walk  request looks for the file name in the directory represented
       by fid.

       For the walk to succeed, the file identified by fid must  be  a  direc-
       tory,  and  the  implied  user  of  the request must have permission to
       search the directory (see intro(5)).

       After a successful walk, fid represents the specified  file.   The  qid
       for the new file is returned with the walk reply message.

       A walk of the name ..  in the root directory of a server is a no-op.

ENTRY POINTS
       A  call  to  chdir(2)  causes a walk.  One or more walk messages may be
       generated by any of the following calls,  which  evaluate  file  names:
       bind,  create,  exec,  mount,  open, remove, stat, unmount, wstat.  The
       file name element .  (dot) is interpreted locally and is not  transmit-
       ted in walk messages.



                                                                       WALK(5)