Re: Bit bucket directory
- From: Måns Rullgård <mans@xxxxxxxxx>
- Date: Fri, 25 Apr 2008 19:45:31 +0100
Noob <root@localhost> writes:
Noob wrote:
Is there a way to have a "black hole" directory, like /dev/null is a
"black hole" file.
Let's call such a directory /dev/nulldir. Anything written to
nulldir would disappear, and return success.
Background : I want to scp multiple large files to a remote system
that has very limited disk space. (I'm testing scp behavior.)
$ scp xx1 xx2 root@xxxxxxxxxxxx:/dev/null
scp: /dev/null: Not a directory
I'd want to write...
$ scp xx1 xx2 root@xxxxxxxxxxxx:/dev/nulldir
and have it work :-)
Any ideas? Or some other way to look at the problem?
(My OS is Linux 2.6.22)
No cookie? :-)
http://thread.gmane.org/gmane.linux.kernel/639765
--
Måns Rullgård
mans@xxxxxxxxx
.
- References:
- Bit bucket directory
- From: Noob
- Re: Bit bucket directory
- From: Noob
- Bit bucket directory
- Prev by Date: Re: example of .journal file
- Next by Date: Re: TCP connect in Non Blocking Mode
- Previous by thread: Re: Bit bucket directory
- Next by thread: Re: Bit bucket directory
- Index(es):
Relevant Pages
|