/dev/desu
1
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 ?
2
Name:
Anonymous
2008-05-08 18:50
Oh God, you are a cretin.
3
Name:
Anonymous
2008-05-08 18:50
>>1
back toUBANTO FORUMS, please
4
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).
5
Name:
Anonymous
2008-05-08 20:21
especially since kernel rebuilds take forever on my dev machine
man 8 kldload
6
Name:
Anonymous
2008-05-08 22:14
write small driver, then mknod
7
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
8
Name:
Anonymous
2008-05-09 1:02
>>7
Join the MSDN then ask them.
9
Name:
Anonymous
2008-05-09 1:39
why not just do yes|perl -pe'$_=DESU'?
10
Name:
Anonymous
2008-05-09 1:49
11
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.
12
Name:
Anonymous
2008-05-09 5:01
>>1
EXPERT ANONIX DEVELOPER
13
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.
14
Name:
Anonymous
2008-05-09 6:25
>>13
SUDO DOESN'T WORK THAT WAY
15
Name:
Anonymous
2008-05-09 6:50
OMG MY HARDDRIVE IS BROKEN NOW LOL
16
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?
17
Name:
Anonymous
2008-05-09 7:09
>>16
LOL GOOD IDEA WHERE DID YOU COME UP WITH SUCH A COOL IDEA
18
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?
19
Name:
Anonymous
2008-05-09 7:38
/prog/ < /dev/hma
20
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");
21
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
22
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>
23
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?
24
Name:
Anonymous
2008-05-09 9:07
>>23
win?
are you fucking kidding me?
25
Name:
Anonymous
2008-05-09 9:19
>>23
I hope for your sake that you were posting facetiously, my esteemed African-American associate.
26
Name:
Anonymous
2008-05-09 9:52
>>1-25
The same troll trolling himself.
27
Name:
Anonymous
2008-05-09 12:26
>>24
Aha
! I have successfully trolled you
!
28
Name:
Anonymous
2008-05-09 12:49
>>24-25
It's kopipe from that Lulznix forum.
29
Name:
Anonymous
2008-05-09 22:29
mkfifo("/dev/desu",0644);
fd = open("/dev/desu", O_WRONLY);
while(1) write(fd, "DESU", 4);
30
Name:
Anonymous
2008-05-09 22:46
>>29
Only works once. Socket version is superior.
31
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);
}
32
Name:
Anonymous
2008-05-09 23:17
s/>/>=/
33
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.
34
Name:
Anonymous
2008-05-10 0:42
shared pipe
ceci n'est pas une pipe.
35
Name:
Anonymous
2008-05-10 1:52
>>20
sub process_request { 1 while print "DESU\n" }
sub process_request { { print "DESU"; redo } }
36
Name:
Anonymous
2008-05-10 2:00
lol @ failures solving this in userspace
GTFO
37
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.
38
Name:
Anonymous
2008-05-10 2:53
39
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?
40
Name:
Anonymous
2008-05-10 4:08
Newer Posts