Mailinglist Archive: opensuse-factory (393 mails)

< Previous Next >
Re: [opensuse-factory] mkdir /sys
  • From: Greg KH <gregkh@xxxxxxx>
  • Date: Fri, 16 Mar 2007 14:44:41 -0700
  • Message-id: <20070316214441.GA6587@xxxxxxx>
On Fri, Mar 16, 2007 at 04:30:49PM -0500, Donn Washburn wrote:
> Hey Group;
>
> I am running SuSE 10.3 alpha - which runs very nice. I do have a
> question. Permissions are rather easy to figure out but what is NEW
> that causes root to not be able to "mkdir" in several places as in /sys.

No one should ever be calling 'mkdir' in /sys.

> At boot time I get a error message that states my modem
> /sys/class/net/modem0/file is missing. As a test I was going to mkdir
> /sys/net/modem0 and see if that would solve the boot error message.
> so, mkdir /sys/class/net/modem0 give permission denied error yet
> root:root and drwxr-xr-x are valid. This appears to be a udev issue.

No, /sys is "special". It's a kernel virtual filesystem and userspace
can not create files in it.

So please file a bug about some script looking for a file that isn't
present in sysfs.

thanks,

greg k-h
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >
This Thread
References