From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <509071940903090635l48dcaccfu99c4d9e269e4ec0f@mail.gmail.com> References: <509071940903090635l48dcaccfu99c4d9e269e4ec0f@mail.gmail.com> Date: Mon, 9 Mar 2009 14:55:04 +0000 Message-ID: From: roger peppe To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [9fans] vac flattens trees? Topicbox-Message-UUID: b6a805aa-ead4-11e9-9d60-3106f5b1d025 2009/3/9 Anthony Sorace : > given a list of files like "/fish /dog /snake/asp /snake/python", the > results of a vac (as interpreted by vacfs) seem to be "/fish /dog /asp > /python". is this intentional? it seems unexpected, and makes doing > selective backups using vac a bit awkward. i suppose your preferred behaviour would be for it to do a treewise merge of the paths and vac the shallowest root that contains all the paths, missing out all contents that aren't under one of the named paths. this seems like quite an involved operation, when you can get much the same result by building a custom namespace containing the trees you want (admittedly, a recursive mntgen would be useful here).