On Fri, Nov 24, 2017 at 02:01:28AM +0900, Masatake YAMATO wrote: > Hi, > > > I do not have any changes yet ;-) So, you can start, or if you're busy > > with something else I can do that. > > It works: Cool! > # ./lsns --type=net > NS TYPE NPROCS PID USER NETNSID NSFS COMMAND > 4026531993 net 405 1 root unassigned /usr/lib/systemd/systemd --switched-root --system --deserialize 25 > 4026532433 net 1 1515 rtkit unassigned /usr/libexec/rtkit-daemon > 4026532579 net 1 10432 root unassigned /run/netns/QWE bash > /tmp/RTY > > > This feature should be probably disabled for --raw, maybe add --nowrap > > and in this case use "," as separator and remove SCOLS_FL_WRAP for the > > column in init_scols_table(). > > It seems that nsfs is still not so popular. > So I think enabling the column only when --type net is given, as > you suggested about netnsid. Yes. > I would like to make clarify what you meant. > > If both --raw and -o NSFS are given, what I should do? > Hidden NSFS anyway? or Use ',' as separator instead of '\n'? I prefer ',' as separator and add to the man page a note that NSFS uses multi-line cells (to DESCRIPTION where we already have soemthing about --output). Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html