On Fri, Sep 18, 2009 at 11:23:33AM -0600, Peter W. Morreale wrote:
> On Thu, 2009-09-17 at 18:43 -0700, Joel Becker wrote:
> > On Thu, Sep 17, 2009 at 09:29:14AM -0700, Linus Torvalds wrote:
> > > Why would anybody want to hide it at all? Why even the libc hiding?
> > >
> > > Nobody is going to use this except for special apps. Let them see what
> > > they can do, in all its glory.
> >
> > I expect everyone will use this through cp(1), so that cp(1) can
> > try to get server-side copy on the network filesystms.
> > Speaking of "all its glory", what we have now is:
> >
> > int sys_copyfileat(int oldfd, const char *oldname, int newfd,
> > const char *newname, int flags, int atflags)
>
>
> Would it be worthwhile to consider adding an offset and length?
>
> Then we get dd as well. (potentially)
I'm with Linus that a range attribute really makes this
complicated. I also think it doesn't work well with a call that is
supposed to create newname.
Joel
--
Pitchers and catchers report.
Joel Becker
Principal Software Developer
Oracle
E-mail: [email protected]
Phone: (650) 506-8127
_______________________________________________
Ocfs2-devel mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-devel