There is a file in my home directory called .rnd. I presume it is the seed for a random number generator. What program creates/uses it? I ran yum provides */.rnd and nothing at all turned up.
On Sat, 2011-03-05 at 15:28 -0700, Petrus de Calguarium wrote:
There is a file in my home directory called .rnd. I presume it is the seed for a random number generator. What program creates/uses it? I ran yum provides */.rnd and nothing at all turned up.
---- yum only would know of files installed by yum packages themselves and never really knows about user generated files so it's hardly surprising that yum is in the dark about the origin of this file.
If you really, really want to know, which program, then you could try this...
mv ~/.rnd ~/.rnd-bak # moves the rnd file touch ~/.rnd # creates 0 length file chattr +i ~/.rnd # sets immutable bit
and hope that whichever program that uses this file complains loudly
and you can change this back by...
chattr -i ~/.rnd rm ~/.rnd mv ~/.rnd-bak ~/.rnd
Craig
Craig White wrote:
On Sat, 2011-03-05 at 15:28 -0700, Petrus de Calguarium wrote:
There is a file in my home directory called .rnd. I presume it is the seed for a random number generator. What program creates/uses it? I ran yum provides */.rnd and nothing at all turned up.
yum only would know of files installed by yum packages themselves and never really knows about user generated files so it's hardly surprising that yum is in the dark about the origin of this file.
If you really, really want to know, which program, then you could try this...
mv ~/.rnd ~/.rnd-bak # moves the rnd file touch ~/.rnd # creates 0 length file chattr +i ~/.rnd # sets immutable bit
and hope that whichever program that uses this file complains loudly
and you can change this back by...
chattr -i ~/.rnd rm ~/.rnd mv ~/.rnd-bak ~/.rnd
Craig
Yeah, I do really, really want to know, to satisfy long-standing curiosity (and learn how the random number generator might serve me), but I will keep your suggestion on hold for the time being, in the hope that someone will be able to provide a direct answer to the identity of the program that created it.
On Sat, Mar 5, 2011 at 3:41 PM, Petrus de Calguarium pgueckel@gmail.com wrote:
Craig White wrote:
On Sat, 2011-03-05 at 15:28 -0700, Petrus de Calguarium wrote:
There is a file in my home directory called .rnd. I presume it is the seed for a random number generator. What program creates/uses it? I ran yum provides */.rnd and nothing at all turned up.
Yeah, I do really, really want to know, to satisfy long-standing curiosity (and learn how the random number generator might serve me), but I will keep your suggestion on hold for the time being, in the hope that someone will be able to provide a direct answer to the identity of the program that created it.
Is this relevant? http://www.fileinfo.com/extension/md
Fred Erickson wrote:
Is this relevant? http://www.fileinfo.com/extension/md
I didn't see anything that is. That is about files with the extension .md, while I was asking about a file called .rnd (. r n d).
On 03/06/2011 03:14 PM, Petrus de Calguarium wrote:
I didn't see anything that is. That is about files with the extension .md, while I was asking about a file called .rnd (. r n d).
While that is true, you can always type .rnd in that site's search box to find what it has to say.
Ed Greshko wrote:
On 03/06/2011 03:14 PM, Petrus de Calguarium wrote:
I didn't see anything that is. That is about files with the extension .md, while I was asking about a file called .rnd (. r n d).
While that is true, you can always type .rnd in that site's search box to find what it has to say.
You're right! I believe that solved it.
It says that a file with the extension .rnd is a pgp random seed file. My conclusion: although this file actually has no extension, since its name is .rnd, this file is likely created by gnupg2.
On Sat, 2011-03-05 at 17:41 -0700, Petrus de Calguarium wrote:
Craig White wrote:
On Sat, 2011-03-05 at 15:28 -0700, Petrus de Calguarium wrote:
There is a file in my home directory called .rnd. I presume it is the seed for a random number generator. What program creates/uses it? I ran yum provides */.rnd and nothing at all turned up.
yum only would know of files installed by yum packages themselves and never really knows about user generated files so it's hardly surprising that yum is in the dark about the origin of this file.
If you really, really want to know, which program, then you could try this...
mv ~/.rnd ~/.rnd-bak # moves the rnd file touch ~/.rnd # creates 0 length file chattr +i ~/.rnd # sets immutable bit
and hope that whichever program that uses this file complains loudly
and you can change this back by...
chattr -i ~/.rnd rm ~/.rnd mv ~/.rnd-bak ~/.rnd
Craig
Yeah, I do really, really want to know, to satisfy long-standing curiosity (and learn how the random number generator might serve me), but I will keep your suggestion on hold for the time being, in the hope that someone will be able to provide a direct answer to the identity of the program that created it.
You could also try the inotify-tools package, though inotify doesn't seem to record the pid of processes which cause watched events.
poc