mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
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 13:13:41 +0100	[thread overview]
Message-ID: <20040602121341.GA1023@infradead.org> (raw)
In-Reply-To: <5D3C2276FD64424297729EB733ED1F7606243695@email1.mitretek.org>

On Wed, Jun 02, 2004 at 08:04:06AM -0400, 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?

character device actually.  Anyway, nfs never forwarded device files, the
protocol can't handle all the ioctl() variants anyway.

and how else would root on nfs work? :)


  reply	other threads:[~2004-06-02 12:14 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 [this message]
2004-06-02 12:19 ` Grzegorz Kulewski
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=20040602121341.GA1023@infradead.org \
    --to=hch@infradead.org \
    --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®