[HN Gopher] Nullfs: A virtual black hole file system that behave...
       ___________________________________________________________________
        
       Nullfs: A virtual black hole file system that behaves like
       /dev/null
        
       Author : signa11
       Score  : 32 points
       Date   : 2021-06-26 11:34 UTC (2 days ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | drclau wrote:
       | FYI, the name conflicts with FreeBSD's nullfs [0][1], which does
       | something entirely different.
       | 
       | [0]: https://www.freebsd.org/cgi/man.cgi?query=nullfs&sektion=5
       | 
       | [1]:
       | https://www.freebsd.org/cgi/man.cgi?query=mount_nullfs&sekti...
        
         | VWWHFSfQ wrote:
         | This looks like it's a Linux kernel module. Not FreeBSD
        
       | krylon wrote:
       | I was wondering at first what this might be used for, but for
       | testing it makes perfect sense.
        
         | bartvk wrote:
         | I remember reading the BOFH series (Bastard Operator From
         | Hell), where a horrible sysadmin would back up to null, because
         | it was so efficient.
        
           | frost_knight wrote:
           | Everything sent to /dev/null can eventually be retrieved from
           | /dev/random, given sufficient time.
        
             | bdamm wrote:
             | However, since you're effectively brute forcing a match on
             | an unknown key, the universe may go cold and dark before
             | your content arises, for any content larger than 128 bits
             | or so.
        
             | taftster wrote:
             | Only if you believe that /dev/random is truly random.
        
               | snickerer wrote:
               | I KNOW WHERE the data you read from /dev/random COMES
               | FROM.
               | 
               | But I can't tell you because I would be a dead man if I
               | would.
        
               | usmannk wrote:
               | Even a truly random die is not guaranteed to ever roll a
               | 6.
        
           | krylon wrote:
           | Yeah, I remember that, too. :) I think I read that even
           | before I first tried Linux.
        
       | WFHRenaissance wrote:
       | Reminds me of MySQL's BLACKHOLE storage engine:
       | https://dev.mysql.com/doc/refman/8.0/en/blackhole-storage-en...
        
       | distantsounds wrote:
       | Will my mongodb instance be even faster piping to this instead of
       | /dev/null?
        
       | cogman10 wrote:
       | Why would you do this instead of tmpfs?
        
         | abbbi wrote:
         | bcs tmpfs stores the data in your memory. The module was simply
         | created from the need to send large data into the void, where
         | the application writing the data also depends on a directory
         | structure to be existant, for performance testing specially.
         | (if you want to eliminate any underlying fs layer as
         | performance bottleneck, it can sometimes be helpful :))
        
           | Buttons840 wrote:
           | Send data into the void? Consider https://devnull-as-a-
           | service.com/
        
             | n4bz0r wrote:
             | > Now with Discard protocol support! See Code for details.
             | 
             | I certainly didn't read that right the first time.
        
       | [deleted]
        
       ___________________________________________________________________
       (page generated 2021-06-28 23:00 UTC)