-
sjorge
I personally like the -A instead of just -4/-6 as indeed there are more adres families than just AF_INET and AF_INET6
-
sjorge
but yeah I guess it's personal preference and muscle memory
-
sjorge
but I do agree consistently is impotant
-
gitomat
[illumos-gate] 14815 nvmeadm: identify support for namespace management -- Hans Rosenfeld <rosenfeld⊙gho>
-
richlowe
can someone confirm a quirk I only just noticed, and I can't tell if I'm just losing it, or if I should have known this for literal decades and never did.
-
richlowe
does /proc/self show in `ls /proc` for y'all?
-
andyf
It does not
-
richlowe
I filed #14962 (fenix?)
-
fenix
BUG 14962: readdir(3C) of /proc should list /proc/self (New)
-
fenix
-
richlowe
I wonder if it's a weird compat thing, and I've just never known
-
richlowe
(it seemed best to figure it out in a bug report so we have a record)
-
andyf
I wondered if it was to do with how closefrom() was implemented, but it looks like that has a check in it to avoid non-digit things there
-
richlowe
yeah, my comment in the bug is maybe it was so you could list pids and not be careful that way
-
andyf
but it is possible that this is deliberate so that everything looks numeric with readdir()
-
richlowe
but that seems so unlikely
-
richlowe
might have to light the alanc signal
-
richlowe
I wonder what would happen if we did what BUGS in proc(5) says we're going to, too
-
richlowe
and kill old-proc
-
richlowe
not that I want to, just that I wonder who still uses that.
-
jbk
what about inode values?
-
jbk
(granted it could probably show the value of whatever /proc/$$ shows)
-
richlowe
it's a symlink, and it doesn't conflict because it's inode is 1
-
richlowe
though there are other weirdnesses in /proc with readdir
-
alanc
we tried killing old-proc in Solaris 12, had to partially undo when we made 12 into 11.4 because there were still too many users
-
jlevon
richlowe: now I'm worried the alancsignal is real
-
alanc
who said it isn't?
-
alanc
I see raf added /proc/self in PSARC/1996/463 but didn't mention not listing it in readdir - but I also don't see code in pr_readdir_procdir to specifically hide it, just none there to include it, so maybe it was an accident that worked out to keep the output nice for passing to the various proc tools, kill, ps, etc.
-
alanc
unfortunately, between Solaris 2.6 & 11.4 we failed at actively deprecating the old /proc interfaces, and left the default compilation mode to use them - only people who read the man page and saw there was a new interface available and changed their code to use it got the new stuff
-
alanc
too much backwards compatibility
-
nbjoerg
does illumos/solaris have something similar to 'time -v' (linux) or 'time -l' bsd? I'm specifically interested in the peak RSS of a command
-
richlowe
I don't think so, I only know of ptime -m which gives microstates (but not that)
-
alanc
sfe.opencsw.org/node/132 shows that we didn't even get other Sun projects to move off old-procfs
-
alanc
-
KungFuJesus
openzfs/zfs #13861 hmm, wonder if we're affected by this
-
richlowe
should be easy to look and compare? I'd guess probably
-
richlowe
jbk might know more
-
alanc
on a completely other topic,
gitlab.freedesktop.org/xorg/xserver…086d02b80549981d205fb1f495edc373538 is an example of code in the wild that needs rmustacc's recent asprintf fix (issue 14933)
-
jbk
richlowe: i don't, but a quick look suggests we are