LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   MAN page on Mount (8): translation for explanation of "current process" (https://www.linuxquestions.org/questions/linux-newbie-8/man-page-on-mount-8-translation-for-explanation-of-current-process-787110/)

GrubbySeismic 02-04-2010 07:44 PM

MAN page on Mount (8): translation for explanation of "current process"
 
As both UID and GID maintain they must have an associated value to function, that is the ID of the "current process" by default. Ok, I got that down.

Now: all the process ID's I can observe (through System Monitor) have ID-numbers in the thousands. The group number of root is zero and that of "users" is one-hundred. The GID of /windows (on my system) is 46. Why? :scratch:

I'm assuming that the number is meant to be in octal, but is there a list that I pull up?...

adamben 02-04-2010 08:18 PM

System groups are usually below 100 - Anything >= 100 are typically your groups for random purposes.

See here:
http://www.yolinux.com/TUTORIALS/Lin...ingGroups.html

chrism01 02-04-2010 10:15 PM

I think you are confusing different 'IDs'.

Every user on a system must have a UID - user id (see /etc/passwd) and a GID - group id (see /etc/passwd & /etc/group).
root user is always UID = 0, GID = 0.

Every process on a system must have a PID - process id; dynamically generated by the kernel (PID 1 is the init process and never changes).
PIDs (apart from init = 1) are recyled (re-used) when the kernel reached PID 9999, assuming the 'next' PID is not currently being used.

Note that UIDs, GIDs and PIDs are separate lists or number-spaces, so the same value can appear in all of those lists, but do not interfere with each other.

Think of 3 different streets, all numbered the same; there's no house confusion because they are on different streets.
(Actually, there's no PID=0, but you get the point).


BTW, all these nums are decimal.


All times are GMT -5. The time now is 01:43 AM.