Bit bucket directory
- From: Noob <root@localhost>
- Date: Tue, 22 Apr 2008 16:58:06 +0200
Hello,
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)
Regards.
.
- Follow-Ups:
- Re: Bit bucket directory
- From: Logan Shaw
- Re: Bit bucket directory
- From: Noob
- Re: Bit bucket directory
- From: Frank Mertens
- Re: Bit bucket directory
- Prev by Date: TCP connect in Non Blocking Mode
- Next by Date: Re: Bit bucket directory
- Previous by thread: TCP connect in Non Blocking Mode
- Next by thread: Re: Bit bucket directory
- Index(es):