Re: Bit bucket directory
- From: Noob <root@localhost>
- Date: Fri, 25 Apr 2008 10:11:41 +0200
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? :-)
.
- Follow-Ups:
- Re: Bit bucket directory
- From: Måns Rullgård
- Re: Bit bucket directory
- References:
- Bit bucket directory
- From: Noob
- Bit bucket directory
- Prev by Date: Re: TCP connect in Non Blocking Mode
- Next by Date: Re: Compile differences between Linux and FreeBSD
- Previous by thread: Re: Bit bucket directory
- Next by thread: Re: Bit bucket directory
- Index(es):
Relevant Pages
|