Date: Sun, 10 Jul 2005 04:53:50 GMT From: soc-cjones <soc-cjones@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 79892 for review Message-ID: <200507100453.j6A4roYL028767@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=79892 Change 79892 by soc-cjones@soc-cjones_ides on 2005/07/10 04:53:11 Plan of attack for userland 'move'. Affected files ... .. //depot/projects/soc2005/gvinum/docs/PLAN#3 edit Differences ... ==== //depot/projects/soc2005/gvinum/docs/PLAN#3 (text+ko) ==== @@ -12,11 +12,23 @@ - Do sanity checks (is object already on drive?) [kernel-side] - Check whether there's free space [kernel-side] - Instantiate a new object on target drive [kernel-side] - - Copy, verify, remove original object [kernel-side] + - Copy, verify, remove original object [kernel-side] + (* --- extension to vinum; vinum destroyed old subdisk data) req = gctl_get_handle(); gctl_ro_param(req, "class", -1, "VINUM"); gctl_ro_param(req, "verb", -1, "move"); + gctl_ro_param(req, "cmd", -1, "move" | "mv"); + gctl_ro_param(req, "argc", sizeof(int), &argc); + gctl_ro_param(req, "flags", sizeof(int), &flags); + gctl_ro_param(req, "argvX", ...); + gctl_ro_param(req, "destination", -1, drive name); + gctl_ro_param(req, "objectX", -1, objectX name); + ... + gctl_issue(req); + ... error handling + gctl_free(req); + return; - _rename - Identify -r flag, object, new name from argv
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507100453.j6A4roYL028767>