[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

No Subject



Hello everyone.
Thankyou for your reply, I'm going to try explain a bit more of my situation
so you can get an idea of what im trying to do.

I've wrote a little C program that gets the pid of mpg123, uses lsof
to find out what mp3 it has open, then mpg123info to get information
from the mp3, and this end result is dumped to stdout.

THE PROBLEM: the kernel does not store the entire filename in memory
             only a porition of it and inodes and such, so i can only
             properly locate mp3's if thier shorter than N ( N being the
	     biggest possible file name without openbsd's kernel truncicating
             it)

Do you have any solutions to my problem, speed is also and issue.
so searching a entire parition for a certain inode is a bad idea.

Thank you.