title: Get current working directory relative path, not absolute
body: <p>I have a directory path that has a 2nd mounted fs as part of the full path.</p>
  
  <p>If I use <code>getcwd</code> it returns the absolute path of the 2nd mounted file system, not the relative path that all the app configurations need.</p>
  
  <p>When I looked at the <code>pwd</code> code it showed <code>xgetcwd</code> which calls <code>getcwd</code>. It is unclear as to how:</p>
  
  <ol>
  <li><code>pwd</code> is able to return relative path using <code>getcwd</code></li>
  <li>If there is an option or command that provides the relative not absolute path.</li>
  </ol>