From: Jesper Juhl <jesper.juhl@gmail.com>
To: Russell King <rmk+lkml@arm.linux.org.uk>
Cc: Linux Kernel List <linux-kernel@vger.kernel.org>,
viro@parcelfarce.linux.theplanet.co.uk
Subject: Re: Double 'block' link for floppy
Date: Sun, 22 May 2005 17:33:55 +0200 [thread overview]
Message-ID: <9a87484905052208336a50c658@mail.gmail.com> (raw)
In-Reply-To: <20050521225454.B25980@flint.arm.linux.org.uk>
On 5/21/05, Russell King <rmk+lkml@arm.linux.org.uk> wrote:
> I'm seeing an oddity with floppy:
>
> $ vdir /sys/devices/platform/floppy.0/
> total 0
> lrwxrwxrwx 1 root root 0 May 21 22:43 block -> ../../../block/fd1
> lrwxrwxrwx 1 root root 0 May 21 22:43 block -> ../../../block/fd1
> lrwxrwxrwx 1 root root 0 May 21 22:43 bus -> ../../../bus/platform
> -rw-r--r-- 1 root root 4096 May 21 22:43 detach_state
>
> I suspect the first is actually supposed to be 'fd0' since:
>
> $ vdir /sys/block/fd*/device
> lrwxrwxrwx 1 root root 0 May 21 22:52 /sys/block/fd0/device -> ../../devices/platform/floppy.0
> lrwxrwxrwx 1 root root 0 May 21 22:52 /sys/block/fd1/device -> ../../devices/platform/floppy.0
>
I just took a look here, and I don't see what you see :
juhl@dragon:~$ uname -a
Linux dragon 2.6.12-rc4-mm2 #2 Mon May 16 18:14:13 CEST 2005 i686
unknown unknown GNU/Linux
juhl@dragon:~$ vdir /sys/devices/platform/floppy.0/
total 0
lrwxrwxrwx 1 root root 0 2005-05-22 17:35 block -> ../../../block/fd0/
lrwxrwxrwx 1 root root 0 2005-05-22 13:02 bus -> ../../../bus/platform/
drwxr-xr-x 2 root root 0 2005-05-22 13:01 power/
juhl@dragon:~$ vdir /sys/block/fd*/device
lrwxrwxrwx 1 root root 0 2005-05-22 13:02 /sys/block/fd0/device ->
../../devices/platform/floppy.0/
juhl@dragon:~$
next prev parent reply other threads:[~2005-05-22 15:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-21 21:54 Double 'block' link for floppy Russell King
2005-05-22 15:33 ` Jesper Juhl [this message]
2005-05-22 15:51 ` Russell King
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=9a87484905052208336a50c658@mail.gmail.com \
--to=jesper.juhl@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rmk+lkml@arm.linux.org.uk \
--cc=viro@parcelfarce.linux.theplanet.co.uk \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox