> -----Original Message----- > From: Olaf Hering [mailto:o...@aepfle.de] > Sent: Wednesday, January 15, 2014 8:33 AM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; > de...@linuxdriverproject.org; a...@canonical.com; jasow...@redhat.com > Subject: Re: [PATCH V2 1/1] Drivers: hv: Implement the file copy service > > On Tue, Jan 14, K. Y. Srinivasan wrote: > > > +static int hv_start_fcopy(struct hv_start_fcopy *smsg) > > > + if (access((char *)smsg->path_name, F_OK)) { > > + if (smsg->copy_flags & CREATE_PATH) { > > + if (mkdir((char *)smsg->path_name, 0755)) { > > KY, > > I guess this needs a loop over every path compoment to implement > 'mkdir -p', if the "-CreateFullPath" option is used?
Yes; I will make the change. The good news is that for the destination path and file name, the host does not interpret the path components. Regards, K. Y > > Hopefully "-DestinationPath" is an arbitrary string and does not require > some sort of C: prefix. ;-) > > > Olaf _______________________________________________ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel