Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug/Request: _umountable should not depend on /etc/mtab



Norbert Lange wrote on Fri, 16 Oct 2020 16:11 +0200:
> /proc/self/mounts has been available since Linux 2.4.19, released in 2002.
> Given how likely that is to run on current hardware I'd say, just sed away.

+1

Anyone wants to do the honours?

> /proc/self/mounts is itself superseded by /proc/self/mountinfo,
> which contains more info but has a different format.
> 
> https://man7.org/linux/man-pages/man5/proc.5.html

Good point.  However, is any of the additional info important enough to
be printed by default (as a completion or as a description)?  Or at
least, important enough to be parsed by compsys and made available to
completion functions via some API?




Messages sorted by: Reverse Date, Date, Thread, Author