cvs commit: src/sbin/hammer cmd_pseudofs.c

Michael Neumann mneumann at
Sun Aug 17 03:36:57 PDT 2008

mneumann    2008/08/17 03:35:18 PDT

DragonFly src repository

  Modified files:
    sbin/hammer          cmd_pseudofs.c 
  Fix function getpfs for pseudo-filesystems specified as absolute path
  located in the root directory.
  Finding the path portion of e.g. "/tmp.pfs" failed, as it produced an
  empty string "" for which open(2) naturally fails. Instead we now detect
  this situation (empty string) and use "/".
  Fixes Issue: 1122
  Revision  Changes    Path
  1.9       +4 -0      src/sbin/hammer/cmd_pseudofs.c

More information about the Commits mailing list