Thursday, July 04, 2024

Re: /sys is a symlink to an empty directory

On Jul 04 17:08:53, anonloli@autistici.org wrote:
> Hello mailing list
> Probably a stupid question, but I reinstalled OpenBSD like 10 times this week,
> and every time I went to compile the kernel like it says in the documentation,
> I could always cd into /sys/dev..., but this install it seems like /sys points
> to "usr/src/sys" (it's "usr", not "/usr").

And in the previous installs it was different? No.

> All I did on this install was download tar.gz files and extract them in /usr,
> including the /usr/sys folder,

What "/usr/sys folder"?

> which was supposed to be in /sys pre-installed
> with the system, what's happening?

/sys is a symlink to "usr/src/sys", as you have discovered.
Untar sys.tar.gz into /sys, or /usr/src/sys, same thing.

> I'm currently following documentation and doing everything in /usr/sys
> (extracted AND VERIFIED from tar.gz) as if it were /sys
> I'm sorry if this is a stupid question

What question?

No comments:

Post a Comment