All of lore.kernel.org
 help / color / mirror / Atom feed
From: V13 <v13@priest.com>
To: Adrian Almenar <aalmenar@conectium.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: sysfs directories...
Date: Sat, 19 Jun 2004 11:02:55 +0300	[thread overview]
Message-ID: <200406191102.55309.v13@priest.com> (raw)
In-Reply-To: <20040618155117.0bffd01d@er-murazor.conectium.com>

On Friday 18 June 2004 22:51, Adrian Almenar wrote:
> i was looking at /sys on my machine yesterday and i found something
> strange.
>
> cd
> /sys/block/hda/device/block/device/block/device/block/device/block/...
> and that continues being almost infinite and recursive, it is normal
> ???

It's a bash trick when changing dir to a symlink:

hell:/sys/block/hda$ cd device
hell:/sys/block/hda/device$ cd block
hell:/sys/block/hda/device/block$ cd device
hell:/sys/block/hda/device/block/device$ cd block
hell:/sys/block/hda/device/block/device/block$ pwd
/sys/block/hda/device/block/device/block
hell:/sys/block/hda/device/block/device/block$ /bin/pwd
/sys/block/hda
hell:/sys/block/hda/device/block/device/block/device$ pwd
/sys/block/hda/device/block/device/block/device
hell:/sys/block/hda/device/block/device/block/device$ /bin/pwd
/sys/devices/pci0000:00/0000:00:04.1/ide0/0.0

<<V13>>

      parent reply	other threads:[~2004-06-19  8:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-18 19:51 sysfs directories Adrian Almenar
2004-06-18 20:27 ` Chris Wright
2004-06-18 21:54 ` Andreas Schwab
2004-06-18 22:44 ` Greg KH
2004-06-19  8:02 ` V13 [this message]

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=200406191102.55309.v13@priest.com \
    --to=v13@priest.com \
    --cc=aalmenar@conectium.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.