Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Nov 2001 09:37:57 -0800
From:      Bakul Shah <bakul@bitblocks.com>
To:        tlambert2@mindspring.com
Cc:        Stephen Montgomery-Smith <stephen@math.missouri.edu>, "Nicpon, John" <John.Nicpon@SouthTrust.com>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Unix Philosophers Please! 
Message-ID:  <200111011737.MAA04972@repulse.cnchost.com>
In-Reply-To: Your message of "Wed, 31 Oct 2001 15:07:26 PST." <3BE0842E.A2B10275@mindspring.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > Answer 2.  All the data goes into another dimension, and comes out of
> > /dev/random.

> That would be so funny... I cat /dev/random, and I get your
> files, as you delete them.  8-).

Of course you do, it is just that the bytes are in random order.

But I see that you are thinking of /dev/null as a bitbucket
for files.  Hmm... that means we can get rid of the unlink()
given an atomic rename() syscall.

    mv file1 file2 dir1 et cetera et cetera et cetera /dev/null

Neat!

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111011737.MAA04972>