zsh-users
 help / color / mirror / code / Atom feed
From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: Norbert Lange <nolange79@gmail.com>
Cc: zsh-users@zsh.org
Subject: Re: Bug/Request: _umountable should not depend on /etc/mtab
Date: Fri, 16 Oct 2020 14:33:44 +0000	[thread overview]
Message-ID: <20201016143344.2d7b879c@tarpaulin.shahaf.local2> (raw)
In-Reply-To: <CADYdroMUhw9zEOxuOUm6XHMuA4cKk0EUEJnH==1U8+5nyKDSRg@mail.gmail.com>

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?


  reply	other threads:[~2020-10-16 14:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-16 10:14 Norbert Lange
2020-10-16 13:35 ` Daniel Shahaf
2020-10-16 14:11   ` Norbert Lange
2020-10-16 14:33     ` Daniel Shahaf [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-10-02  9:29 Norbert Lange

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201016143344.2d7b879c@tarpaulin.shahaf.local2 \
    --to=d.s@daniel.shahaf.name \
    --cc=nolange79@gmail.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).