Dave Feustel <[EMAIL PROTECTED]> wrote: > > It's called rm.... > > I finally figured that out. I thought there used to be > an unlink command (on ATT Unix).
Yes. "Deleting" a file actually just means to remove a hard link. The corresponding syscall is unlink(2). When no references are left, the file is garbage collected. The historical unlink(1) command just calls unlink(2) directly without the smarts or error checking that rm(1) performs. -- Christian "naddy" Weisgerber [EMAIL PROTECTED]

