-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
Would this be a case for "ps"?
If you would like to know the PID of the process that calls your script you
could execute "ps -o
comm= $PPID"
https://pubs.opengroup.org/onlinepubs/009604499/utilities/ps.html
Rudi
November 11, 2019 5:34 PM, "Jack"
On Sun, Nov 10, 2019 at 11:37 PM Caveman Al Toraboran
wrote:
>
> hi - is it possible to have some kind of fancy links that
> know the name of the process that is trying to access
> it, and based on its name, it links it to a file?
Yes, and that's used pretty extensively in busybox. Symlinks named
On Sun, Nov 10, 2019 at 11:37 PM Caveman Al Toraboran
wrote:
>
> i think if we have this, we can solve slotting in a simpler
> way. e.g. we install libs in their own non-conflicting
> locations, and then install for them such fancy sym links
> with access that routes accessing processes to the ri
Le lun. 11 nov. 2019 à 14:38, Dale a écrit :
>
> Mick wrote:
> > On Monday, 11 November 2019 13:00:20 GMT Dale wrote:
> >> Mickaël Bucas wrote:
> >>> Le lun. 11 nov. 2019 à 09:35, Mick a écrit :
> On Monday, 11 November 2019 08:25:06 GMT n952162 wrote:
> > I re-installed gentoo from the
Hi,
I'm using vanilla kernel outside of portage directly from kernel.org for few
years now.
I was wondering if I can also uninstall the kernel headers package and install
them separatly ?
I never tried because a lot of packages seems to have them as a dependency.
Have a nice day
--
Envoyé d
On 11/10/19 9:37 PM, Caveman Al Toraboran wrote:
hi - is it possible to have some kind of fancy links that know the
name of the process that is trying to access it, and based on its name,
it links it to a file?
I've not heard of that specifically.
e.g. `ln -s X Y` will create link Y that alwa
I've reinstalled gentoo from the gentoo repository and now my power
button doesn't do a shutdown anymore. What do I have to do to have it
issue a shutdown? This is an openrc system.
I have this, but it doesn't work:
$ cat /etc/acpi/events/powerbtn
event=button[ /]power.*
action=/sbin/poweroff
7 matches
Mail list logo