Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

/dev/desu

Name: Anonymous 2008-05-08 18:41

i would like to have /dev/desu on leenux, an "infinite" file that only outputs DESUDESUDESUDESUDESU etc. pp.

is it possible to create that via mkfifo ?

Name: Anonymous 2008-05-08 18:50

Oh God, you are a cretin.

Name: Anonymous 2008-05-08 18:50

>>1
back toUBANTO FORUMS, please

Name: Anonymous 2008-05-08 19:43

I think it's pretty simple to do in FreeBSD, I'll look into that tomorrow. man 8 mknod has some details, but it'll take a bit of hacking to get the device driver working (especially since kernel rebuilds take forever on my dev machine).

Name: Anonymous 2008-05-08 20:21

especially since kernel rebuilds take forever on my dev machine
man 8 kldload

Name: Anonymous 2008-05-08 22:14

write small driver, then mknod

Name: Anonymous 2008-05-09 0:28

How would I do this in Windows? I want a drive letter with an infinite file whose contents is DESUDESU.. etc

Name: Anonymous 2008-05-09 1:02

>>7
Join the MSDN then ask them.

Name: Anonymous 2008-05-09 1:39

why not just do yes|perl -pe'$_=DESU'?

Name: Anonymous 2008-05-09 1:49

>>9
hahahaha

Name: Anonymous 2008-05-09 1:53

>>5
From the sound of it, the driver type numbers are statically compiled in. I honestly haven't looked into it enough to know whether my original assumption is correct, or if you can bullshit it with a dynamic kernel module.

Name: Anonymous 2008-05-09 5:01

>>1
EXPERT ANONIX DEVELOPER

Name: Anonymous 2008-05-09 6:05

echo "DESU"; sudo dd if=/dev/urandom of=/dev/hda

That should do what you want; just give it your root password.

Name: Anonymous 2008-05-09 6:25

>>13
SUDO DOESN'T WORK THAT WAY

Name: Anonymous 2008-05-09 6:50

OMG MY HARDDRIVE IS BROKEN NOW LOL

Name: Anonix project developer !ewT.5OJtxQ 2008-05-09 7:08

So I had this idea: why not have a drive like a /dev/random, say, /dev/desu that would output a string of infinite desu.  Win?

Name: Anonymous 2008-05-09 7:09

>>16
LOL GOOD IDEA WHERE DID YOU COME UP WITH SUCH A COOL IDEA

Name: Anonymous 2008-05-09 7:35

So I had this idea: why not have a drive like a /dev/random, say, /dev/hma that would output a string of infinite hax my anus.  Win?

Name: Anonymous 2008-05-09 7:38

/prog/ < /dev/hma

Name: Anonymous 2008-05-09 7:46

use base Net::Server::Fork;

sub process_request { 1 while print "DESU\n" }
main->run(port => "/dev/desu|unix");

Name: Anonymous 2008-05-09 7:55

>>19
/dev/hma: no such file or directory
/prog/: is a directory

Presumably you wanted ``/dev/hda'' and /prog

Name: >>20 2008-05-09 8:14

>>21
Presumably you wanted to read the thread.

Also I have rewritten >>20 for ENTERPRISE compliance.  See below.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
        "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>Label</key>
        <string>desu</string>
        <key>ProgramArguments</key>
        <array>
                <string>/usr/bin/yes</string>
                <string>DESU</string>
        </array>
        <key>inetdCompatibility</key>
        <dict>
                <key>Wait</key>
                <false/>
        </dict>
        <key>Sockets</key>
        <dict>
                <key>desudesudesu</key>
                <dict>
                        <key>SockPathName</key>
                        <string>/var/run/desu</string>
                        <key>SockPathMode</key>
                        <integer>292</integer>
                </dict>
        </dict>
</dict>
</plist>

Name: Anonymous 2008-05-09 9:06

when the /dev/desu is read, have Suiseiseki pop on screen and say DESU! DESUDESUDESUDESU~~~! and doll thrown etc etc and the Suiseiseki icon grows in size as the DESU progresses. win?

Name: Anonymous 2008-05-09 9:07

>>23
win?
are you fucking kidding me?

Name: Anonymous 2008-05-09 9:19

>>23
I hope for your sake that you were posting facetiously, my esteemed African-American associate.

Name: Anonymous 2008-05-09 9:52

>>1-25
The same troll trolling himself.

Name: Anonymous 2008-05-09 12:26

>>24
Aha! I have successfully trolled you!

Name: Anonymous 2008-05-09 12:49

>>24-25
It's kopipe from that Lulznix forum.

Name: Anonymous 2008-05-09 22:29

mkfifo("/dev/desu",0644);
fd = open("/dev/desu", O_WRONLY);
while(1) write(fd, "DESU", 4);

Name: Anonymous 2008-05-09 22:46

>>29
Only works once.  Socket version is superior.

Name: Anonymous 2008-05-09 23:15

This better? Yes, I'm too lazy to test it.
mkfifo("/dev/desu",0644);
while(1) {
  int fd = open("/dev/desu", O_WRONLY);
  while(write(fd, "DESU", 4) > 0);
  close(fd);
}

Name: Anonymous 2008-05-09 23:17

s/>/>=/

Name: Anonymous 2008-05-10 0:16

>>31
Still dies due to SIGPIPE, but that's not really the issue.  A fifo is fundamentally the wrong concept.  It's a single shared pipe, not a service.

Name: Anonymous 2008-05-10 0:42

shared pipe

ceci n'est pas une pipe.

Name: Anonymous 2008-05-10 1:52

>>20
sub process_request { 1 while print "DESU\n" }
sub process_request { { print "DESU"; redo } }

Name: Anonymous 2008-05-10 2:00

lol @ failures solving this in userspace

GTFO

Name: Anonymous 2008-05-10 2:01

Also, are these brainless faggots still hallucinating about their own Lunix distribution that nobody (not even them) will want to use?

I thought they'd have died from shame by now.

Name: Anonymous 2008-05-10 2:53

>>35
Way to hog the cpu.

Name: Anonymous 2008-05-10 3:21

>>36
The question was in userspace, fagball.  Even if it weren't, why bother with kernel modules when I can have a PORTABLE TURKEY SOLUTION up in minutes?

Name: Anonymous 2008-05-10 4:08

>>39
back to /b/, please

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List