Subject: Re: mv(1) and signals
To: None <tech-userlevel@NetBSD.org>
From: Alan Barrett <apb@cequrux.com>
List: tech-userlevel
Date: 10/18/2006 09:26:02
On Wed, 18 Oct 2006, Arnaud Lacombe wrote:
> On Tue, Oct 17, 2006 at 04:55:33PM -0400, jklowden@schemamania.org wrote:
> > $ ps | grep mv 13718 p7 D 0:23.08
> > mv -PRp dat /usr/users/home[...]
> >
> > Hmm. Those aren't documented options, and I hadn't typed them.
> >
> there is no such 'P', 'R' or 'p' options in the code. Even the GNU mv
> has no such option.
Those are valid options for cp(1). mv(1) execs _PATH_CP with argv[0] =
"mv" around line 338 of src/bin/mv.c.
--apb (Alan Barrett)