Tiny Core Base > TCB Tips & Tricks
How to find which extension provides a file
Rich:
Hi GNUser
--- Quote from: GNUser on December 03, 2024, 08:17:47 AM --- ... May I submit a pull request on your behalf? ...
--- End quote ---
Yes, by all means, please.
--- Quote --- ... it seems final decision is Juanito's and he hasn't weighed in one way or the other ...
--- End quote ---
I thought he did:
--- Quote from: Juanito on September 19, 2024, 05:04:43 AM ---I’d prefer to continue using /usr for everything in the base and /usr/local for extensions.
--- End quote ---
GNUser:
Hi Rich. Pull request has been made: https://github.com/tinycorelinux/Core-scripts/pull/70
Hopefully it will be accepted before TCL16 comes out :)
--- Quote from: Rich on December 03, 2024, 10:08:08 AM ---
--- Quote --- ... it seems final decision is Juanito's and he hasn't weighed in one way or the other ...
--- End quote ---
I thought he did:
--- Quote from: Juanito on September 19, 2024, 05:04:43 AM ---I’d prefer to continue using /usr for everything in the base and /usr/local for extensions.
--- End quote ---
--- End quote ---
Depending on how you read that, Juanito's preference would be best honored by implementing /usr merge.
Current situation: Base uses not only /usr/bin, /usr/lib, and /usr/sbin but also /bin, /lib, and /sbin. /usr/local used for extensions.
/usr merge situation: Base uses /usr for everything. /bin is just a link to /usr/bin, /lib is just a link to /usr/lib, /sbin is just a link to /usr/sbin. /usr/local for extensions.
P.S. Implementing /usr merge is not as radical as it sounds. I did it as a test and it was simple. It involves moving the few things in base that live in /bin into /usr/bin and creating a single symlink (ln -s /usr/bin /bin). Repeat for /lib and /sbin. Done.
Rich:
Hi GNUser
--- Quote from: GNUser on December 03, 2024, 10:34:57 AM ---Pull request has been made: https://github.com/tinycorelinux/Core-scripts/pull/70 ...
--- End quote ---
Thank you.
--- Quote --- ... Current situation: Base uses not only /usr/bin, /usr/lib, and /usr/sbin but also /bin, /lib, and /sbin. /usr/local used for extensions.
/usr merge situation: Base uses /usr for everything. /bin is just a link to /usr/bin, /lib is just a link to /usr/lib, /sbin is just a link to /usr/sbin. /usr/local for extensions. ...
--- End quote ---
That reminded me of this:
--- Quote from: curaga on March 03, 2024, 01:54:16 AM ---sbin still has a purpose, root-requiring stuff, so not sure on that one.
--- End quote ---
--- Quote from: GNUser on March 03, 2024, 06:41:03 AM ---Yes, at least sbin has a purpose. Debian/Devuan did not do sbin merge (i.e., kept /usr/sbin as a real directory).
--- End quote ---
[Edit]: /usr merge comments continue here https://forum.tinycorelinux.net/index.php/topic,27276.msg176505.html#msg176505
Navigation
[0] Message Index
[*] Previous page
Go to full version