• Admiral Patrick
    link
    fedilink
    English
    28
    edit-2
    3 months ago

    That’s not how /dev/null works.

    Try this:

    sudo cat /dev/null > /Windows or if you really want to be sure:

    sudo cat /dev/urandom > /Windows

      • @hperrin@lemmy.world
        link
        fedilink
        9
        edit-2
        3 months ago

        You can’t move anything there, it’s a “character special file” that can’t be deleted. If you pipe something there, it does nothing. (As opposed to something like /dev/stdin, that prints what you pipe to it on stdin.) Character special files act kind of like named pipes, except they’re handled by the kernel on one side. They’re raw device files.

        • @AMDIsOurLord@lemmy.ml
          link
          fedilink
          -43 months ago

          It’s a “null drive”. Anything that goes in is just simply discarded and a EOF is sent in return. If you “move” a file there, it just gets discarded

  • Count Regal Inkwell
    cake
    link
    33 months ago

    The conversation in this thread reminded me of a thing I saw on Reddit ages ago, of feeding /dev/random into aplay with some parameters I unfortunately forgot, to get a series of random noise that sounds almost musical.

    Without the parameters you just get white noise sadly.