From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Subject: Re: [patch] pm: fix runtime powermanagement's /sys interface Date: Fri, 6 Jan 2006 17:25:16 +0100 Message-ID: <20060106162516.GA1197@vrfy.org> References: <20051227220533.GA1914@elf.ucw.cz> <20060104213405.GC1761@elf.ucw.cz> <20060105215528.GF2095@elf.ucw.cz> <20060105221334.GA925@isilmar.linta.de> <20060105222338.GG2095@elf.ucw.cz> <20060105222705.GA12242@isilmar.linta.de> <20060106003806.GA29182@kroah.com> <20060106150334.GB20242@isilmar.linta.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============36733301374586791==" Return-path: In-Reply-To: <20060106150334.GB20242@isilmar.linta.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.osdl.org Errors-To: linux-pm-bounces@lists.osdl.org To: Dominik Brodowski , Greg KH , Pavel Machek , Patrick Mochel , Andrew Morton , Linux-pm mailing list , kernel list List-Id: linux-pm@vger.kernel.org --===============36733301374586791== Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jan 06, 2006 at 04:03:34PM +0100, Dominik Brodowski wrote: > On Thu, Jan 05, 2006 at 04:38:06PM -0800, Greg KH wrote: > > > NB: it will break one day, one way or another, when gregkh makes the > > > /sys/class -> /sys/devices conversion. However, I'd want to try not to break > > > the new pcmciautils userspace too often... > > > > Why would the conversion that I'm working on break this userspace code? > > You are only using the device directory, which will not change at all. > > Actually, pcmciautils uses both paths starting with > /sys/bus/pcmcia/devices/ and /sys/class/pcmcia_socket/pcmcia_socket%d/ -- > and I was expecting that the latter path won't be available somewhen in > future? That will just be resolved by a symlink. The access path to the device will stay the same, but the location of the "real" object will move to /devices. All classification will point into the unified /devices tree but keep the pathes as we have today. /sys/class will contain only symlinks in the end. Kay --===============36733301374586791== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --===============36733301374586791==--