Rich Morin
2007-Dec-22 18:41 UTC
[dtrace-discuss] another buglet in OSX dtrace? - cwd value
On Solaris 10, dtrace''s cwd yields a full path name: # dtrace -n ''syscall:::entry { printf("%s", cwd); }'' 0 1685 pollsys:entry / 0 1381 write:entry /data/homes/guest/rdm ... On OSX, it yields just a directory name: # dtrace -n ''syscall:::entry { printf("%s", cwd); }'' 0 17596 read:entry rdm 0 17776 select:entry rdm ... This makes it impossible to resolve relative path names, etc. It seems like a bug, so I reported it (as #5661392). Is there a workaround, so I can get the full path name? -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm at cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, and web development