WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

Re: [Xen-devel] no digit beginning name?

To: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] no digit beginning name?
From: Tim Freeman <tfreeman@xxxxxxxxxxx>
Date: Thu, 7 Jul 2005 10:29:26 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2005年7月07日 15:28:30 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <A95E2296287EAD4EB592B5DEEFCE0E9D282557@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D282557@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, 7 Jul 2005 16:25:51 +0100
"Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx> wrote:
>
>
> > Is it going to break anyone's setup if this patch does not 
> > include '/' as a valid character in a name? As I reported in 
> > the beginning of the thread, it seems to cause an 
> > unrecoverable crash to include '/'
>
> Disallowing the usual 'problem' characters is probably a good thing
> (e.g. quotes)
Well, I'm asking especially because these five characters are currently
explicitly allowed: 
 if c in '_-.:/+': continue
I was wondering if that was for a reason. They all seem to work from my limited
testing, except for '/'
Thanks,
Tim
>
> Ian
>
> > On Sun, 3 Jul 2005 20:40:56 +0100
> > "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx> wrote:
> > 
> > > 
> > > > In XendDomainInfo.py --> check_name() there is a restriction in 
> > > > place that a domain can not begin with a digit. If I comment out 
> > > > this check:
> > > > 
> > > > if name[0] in string.digits:
> > > > raise VmError('invalid vm name')
> > > > 
> > > > ... I can start and stop a domain whose name starts with a digit 
> > > > just fine. Is there a reason this restriction is in place?
> > > 
> > > You can also manipulate domains by their domid, so I'm 
> > guess the test 
> > > is an attempt to avoid confusion. Preventing all-numeric 
> > names would 
> > > be more sensible -- can you post a fix.
> > > 
> > > Thanks.
> > > Ian
> > > 
> > > 
> > > _______________________________________________
> > > Xen-devel mailing list
> > > Xen-devel@xxxxxxxxxxxxxxxxxxx
> > > http://lists.xensource.com/xen-devel 
> > > 
> > 
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: RE: [Xen-devel] no digit beginning name? , Ian Pratt
Next by Date: RE: [Xen-devel] Current Domain ID , Ian Pratt
Previous by Thread: RE: [Xen-devel] no digit beginning name? , Ian Pratt
Next by Thread: Re: [Xen-devel] no digit beginning name? , Keir Fraser
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /