From: Grzegorz Kulewski <kangur@polcom.net>
To: "Piszcz, Justin Michael" <justin.piszcz@mitretek.org>
Cc: linux-kernel@vger.kernel.org, Al Piszcz <apiszcz@solarrain.com>
Subject: Re: How come dd if=/dev/zero of=/nfs/dev/null does not send packets over the network?
Date: Wed, 2 Jun 2004 14:19:23 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.58.0406021414120.802@alpha.polcom.net> (raw)
In-Reply-To: <5D3C2276FD64424297729EB733ED1F7606243695@email1.mitretek.org>
Hi,
As far as I understand devices in Linux, device file is only some kind of
note to the *local* kernel that operations on that file is to be
redirected to the device. It is always resolved by the local kernel and
redirected to the local device (if tere is driver that claims this
major/minor number). Life would be to simple...
Grzegorz Kulewski
On Wed, 2 Jun 2004, Piszcz, Justin Michael wrote:
> root@jpiszcz:~# mkdir /p500/dev
> root@jpiszcz:~# mount 192.168.0.253:/dev /p500/dev
> root@jpiszcz:~# echo blah > /p500/dev/null
> root@jpiszcz:~# ls -l /p500/dev/null
> crw-rw-rw- 1 root sys 1, 3 Jul 17 1994 /p500/dev/null
> root@jpiszcz:~# dd if=/dev/zero of=/p500/dev/null
>
> 6179737+0 records in
> 6179736+0 records out
>
> Instead it treats it as a local block device?
>
> Kernel 2.6.5.
next prev parent reply other threads:[~2004-06-02 12:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-02 12:04 Piszcz, Justin Michael
2004-06-02 12:13 ` Christoph Hellwig
2004-06-02 12:19 ` Grzegorz Kulewski [this message]
2004-06-02 12:20 ` Måns Rullgård
2004-06-02 12:39 ` Richard B. Johnson
2004-06-02 20:37 ` Horst von Brand
2004-06-02 20:46 ` Arthur Perry
2004-06-02 12:27 Piszcz, Justin Michael
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=Pine.LNX.4.58.0406021414120.802@alpha.polcom.net \
--to=kangur@polcom.net \
--cc=apiszcz@solarrain.com \
--cc=justin.piszcz@mitretek.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®