fa.netbsd.tech.kern
[Top] [All Lists]

Re: inode open

Subject: Re: inode open
From: Simon Burge <simonb@xxxxxxxxxx>
Date: Thu, 17 Jul 2008 02:51:22 UTC
Newsgroups: fa.netbsd.tech.kern

Bill Stouder-Studenmund wrote:

> A cleaner way to do this is, back whe you know the path, do a getfh() on
> the path and get the file handle. Then fhopen() works for you. And if
> you're a backup daemon, chances are you're running as root already.

Just to get picky on the last sentence, I do my dump(8) backups as group
operator, not as root.  :)

Cheers,
Simon.

<Prev in Thread] Current Thread [Next in Thread>