The officially official Devuan Forum!

You are not logged in.

#1 Yesterday 11:10:00

Altoid
Member
Registered: 2017-05-07
Posts: 2,038  

[SOLVED] Unknown file

Hello:

Doing some clean-up of leftovers from the various dist-upgrades I have gone through since jesse/ascii (actually found a netscape.desktop file) I came across a strange file.

#/root/fpv

Any idea as to what it is?
I cannot find a reference to it save 'first person view' drones setups which I do not have.

Please advise.

Best,

A.

Offline

#2 Yesterday 14:51:28

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,908  

Re: [SOLVED] Unknown file

What kind of file is it?   file /root/fpv
How big is it? Can you see inside it with a pager or something else?
Does the date give you any clues? Maybe find other files with the same date to figure out what you were doing.

Offline

#3 Yesterday 16:03:06

blackhole
Member
Registered: 2020-03-16
Posts: 211  

Re: [SOLVED] Unknown file

Possibly something you have accidentally redirected to a file while running commands as root, due to a syntax error. perhaps.

/root is the root user's home directory. No packages would install in that location. Open it in a text editor
and have a look?

Last edited by blackhole (Yesterday 16:03:53)

Offline

#4 Yesterday 17:36:07

Altoid
Member
Registered: 2017-05-07
Posts: 2,038  

Re: [SOLVED] Unknown file

Hello:

fsmithred wrote:

What kind of file is it?

It has no extension.
According to mc:

Size: 106771
Modify time: Apr 26 2025

fsmithred wrote:

Can you see inside it with ...

Yes.

blackhole wrote:

... text editor and have a look?

It has some code (?), starting with the string glibc-ld.so.cache1.1 and ending with ldconfig (Debian GLIBC 2.36-9+deb12u10) stable release version 2.36.

No idea as to why it is there.
Can't remember what I was doing last thursday, much less on Apr 26 2025. 
My guess is that it can be safely deleted but I have been wrong many times so I thought I's ask. 8^°

Thanks to both for the fast reply.

Best,

A.

Offline

#5 Today 14:07:23

Altoid
Member
Registered: 2017-05-07
Posts: 2,038  

Re: [SOLVED] Unknown file

Hello:

I wrote:

No idea as to why it is there.

Doing some more digging found that, at some point and for reasons unknown, I did ...

# ldconfig -p
#

... which can only be executed with elevated priviliges.

From man ldconfig:

man ldconfig wrote:

-p
--print-cache
Print the lists of directories and candidate libraries stored in the current cache.

As it was just a print I tried it, with the result being a huge printout in the terminal:

[root@devuan ~]# ldconfig -p
1442 libs found in cache `/etc/ld.so.cache'
	libz3.so.4 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libz3.so.4
	libz3.so.4 (libc6) => /usr/lib/i386-linux-gnu/libz3.so.4 ...
--- snip ---
        ld-linux.so.2 (ELF) => /lib/ld-linux.so.2
	ld-linux-x86-64.so.2 (libc6,x86-64) => /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
Cache generated by: ldconfig (Debian GLIBC 2.36-9+deb12u14) stable release version 2.36
[root@devuan ~]# 

No idea as to how that got in the /root directory but I deleted it.
The cache itself is in /etc/ld.so.cache.

That's all I could find, so I guess I can mark it solved.

Best,

A.

Offline

Board footer