Re: [PATCH] net: restrict device names from having whitespace

2006-08-18 Thread Xavier Bestel
On Fri, 2006-08-18 at 09:17, Xavier Bestel wrote: > On Fri, 2006-08-18 at 08:11, Stephen Hemminger wrote: > > Don't allow spaces in network device names because it makes > > it difficult to provide text interfaces via sysfs. > > Personally I would at least avoid all chars <= ' ', because an interf

Re: [PATCH] net: restrict device names from having whitespace

2006-08-18 Thread Xavier Bestel
On Fri, 2006-08-18 at 08:11, Stephen Hemminger wrote: > Don't allow spaces in network device names because it makes > it difficult to provide text interfaces via sysfs. Personally I would at least avoid all chars <= ' ', because an interface name is meant to be displayed and these control chars do

Re: [PATCH] net: restrict device names from having whitespace

2006-08-17 Thread David Miller
From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Thu, 17 Aug 2006 23:11:27 -0700 > Don't allow spaces in network device names because it makes > it difficult to provide text interfaces via sysfs. > > Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> I have a patch which does this in my tree

[PATCH] net: restrict device names from having whitespace

2006-08-17 Thread Stephen Hemminger
Don't allow spaces in network device names because it makes it difficult to provide text interfaces via sysfs. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- net/core/dev.c | 24 1 files changed, 20 insertions(+), 4 deletions(-) diff --git a/net/core/dev.c b/