All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mika Lawando <rzryyvzy@trashmail.net>
To: linux-kernel@vger.kernel.org
Cc: assarix@pandora.be
Subject: Re: Is there a
Date: Thu, 14 Feb 2008 13:14:28 +0100	[thread overview]
Message-ID: <47B430A4.2010000@trashmail.net> (raw)
In-Reply-To: <W8217824349298681202982295@nocme1bl6.telenet-ops.be>

Tom Van Looy schrieb:
> You can create a symlink to /dev/null and name it whatever you want?
>
> $ ln -s /dev/null tempfile
> $ echo blablabla > tempfile
> $ wc tempfile
> 0 tempfile
>   
The problem is, what do you do if the filename would be:
tempfile.<TIMESTAMP>

where <TIMESTAMP> is replaced by the unix timestamp. I mean how do you 
redirect to /dev/null if you don't know in advance the filename your 
application will create.

Its true the quick way would be to write a filesystem in Perl with fuse. 
But it would be better to implement this natively in the kernel, because 
there is a loss of performance in fuse between the communication of the 
fuse client and the fuser server (it uses a socket mechanism).

-- 
Best regards,
Mika Lawando


      reply	other threads:[~2008-02-14 12:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-14  9:44 Is there a Tom Van Looy
2008-02-14 12:14 ` Mika Lawando [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=47B430A4.2010000@trashmail.net \
    --to=rzryyvzy@trashmail.net \
    --cc=assarix@pandora.be \
    --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.