On 13/10/2023 17:41, Bob Latham wrote:
> In article <ugbku9$37rtn$
1...@dont-email.me>,
> Knute Johnson <
knut...@585ranch.com> wrote:
>
>
> I very much appreciate your help but I just don't understand. Sorry
> I'm thick.
>
>> Looking at my Bookworm lite:
>
>> /bin is a link to /usr/bin
>
> But /bin doesn't exist!
then something is awry in your installation.
If its even a cut downm linux thsi is what you should see
$ls -l /
total 60
lrwxrwxrwx 1 root root 7 May 3 01:04 bin -> usr/bin
drwxr-xr-x 3 root root 4096 Jan 1 1970 boot
drwxr-xr-x 16 root root 3680 Sep 17 15:36 dev
drwxr-xr-x 91 root root 4096 Sep 16 22:27 etc
drwxr-xr-x 4 root root 4096 Jul 27 10:17 home
lrwxrwxrwx 1 root root 7 May 3 01:04 lib -> usr/lib
drwx------ 2 root root 16384 May 3 01:25 lost+found
drwxr-xr-x 2 root root 4096 May 3 01:04 media
drwxr-xr-x 2 root root 4096 May 3 01:04 mnt
drwxr-xr-x 2 root root 4096 May 3 01:04 opt
dr-xr-xr-x 162 root root 0 Jan 1 1970 proc
drwx------ 3 root root 4096 Oct 5 00:08 root
drwxr-xr-x 26 root root 800 Oct 13 17:50 run
lrwxrwxrwx 1 root root 8 May 3 01:04 sbin -> usr/sbin
drwxr-xr-x 2 root root 4096 May 3 01:04 srv
dr-xr-xr-x 12 root root 0 Jan 1 1970 sys
drwxrwxrwt 11 root root 4096 Oct 13 17:39 tmp
drwxr-xr-x 11 root root 4096 May 3 01:04 usr
drwxr-xr-x 13 root root 4096 Aug 1 10:39 var
etc
> How can something that doesn't exist be a link to anything?
>
Well obviously it cant
> The directory /bin used to have a file in it called systemd. The
> instructions to build a player tells me to add "init=/bin/systemd" to
> /boot/cmdline.txt.
>
> I don't understand how that can work when neither /bin or the file
> systemd exist. I looked inside /usr/bin and there is no file in there
> called 'systemd' either. Very similar names yes but not just systemd
> so I cannot point the instruction there either.
>
>> /bin/systemd is a link to /lib/systemd/systemd
>
>> /boot/config.txt is a link to /boot/firmware/config.txt
>> same with cmdline.txt
>
> Again I don't understand your use of the work "link". It looks to me
> as though the two files /boot/config.txt and /boot/cmdline.txt have
> been moved to a new directory at /boot/firmware/. That's the only
> thing I thought I understood. Am I wrong? Is there more to it?
>
>> None of which should matter to you.
>
> I have no comprehension at all why that is so.
> During player construction I had to issue a command:
> sudo /home/pi/mediaplayer/run.sh
> Under previous OS that kicked things off, now nothing happens.
> The player no longer works at all.
>
>> Just reference them as always.
>
> Sorry, but I don't know what that means either.
>
> How can I reference something that doesn't exist?
>
Become a christian?
> Thanks for trying to help me.
>
> Bob.
>
--
"When a true genius appears in the world, you may know him by this sign,
that the dunces are all in confederacy against him."
Jonathan Swift.