From: Greg KH <gregkh@suse.de>
To: Denis Cheng <crquan@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] [sysfs]: make readlink result shorter when the symlink and its target shared some base sysfs subdirectory
Date: Wed, 31 Oct 2007 07:34:41 -0700 [thread overview]
Message-ID: <20071031143441.GA7128@suse.de> (raw)
In-Reply-To: <1193826860-6166-1-git-send-email-crquan@gmail.com>
On Wed, Oct 31, 2007 at 06:34:20PM +0800, Denis Cheng wrote:
> this is especially useful after /sys/slab introduced, for example:
>
> $ ls -l /sys/slab/mm_struct
> lrwxrwxrwx 1 root root 0 2007-10-31 17:40 /sys/slab/mm_struct -> :0000448
>
> instead of:
>
> $ ls -l /sys/slab/mm_struct
> lrwxrwxrwx 1 root root 0 2007-10-31 17:40 /sys/slab/mm_struct -> ../slab/:0000448
>
> Signed-off-by: Denis Cheng <crquan@gmail.com>
As pretty as this change is, it's not really necessary, right?
Is there any other place in /sys that would benefit from this?
thanks,
greg k-h
next prev parent reply other threads:[~2007-10-31 14:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-31 10:34 [PATCH] [sysfs]: make readlink result shorter when the symlink and its target shared some base sysfs subdirectory Denis Cheng
2007-10-31 14:34 ` Greg KH [this message]
2007-10-31 18:15 ` rae l
2007-11-01 18:59 ` Kay Sievers
2007-11-01 19:20 ` Kay Sievers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071031143441.GA7128@suse.de \
--to=gregkh@suse.de \
--cc=crquan@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.