Re: [libvirt] [PATCH] add cd and pwd commands to virsh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 02, 2009 at 01:00:34PM +0200, Paolo Bonzini wrote:
> This patch adds cd and pwd commands to virsh.  These can be useful
> together with commands that refer to files in the local file systems,
> especially save and restore.
> 
> I explicitly decided not to provide any other command, e.g. mkdir,
> to avoid going down a slippery slope (now you want mkdir, tomorrow
> ls and rm and so on...).  If anything, it would be possible to add
> a generic shell command---but cd cannot be implemented that way,
> so pwd shall remain the sole "exception".
> 
> I did not implement "cd -".
> 
> Ok?

  Fine by me but I would wait after 0.6.5, so next week to push this.
Note that path get absolutized when entering libvirt itself, and if
you're using a remote connection the path is absolutized locally, and
transmitted as absolute to the remote end.

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]