Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug/Request: _umountable should not depend on /etc/mtab
- X-seq: zsh-users 26105
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Norbert Lange <nolange79@xxxxxxxxx>
- Subject: Re: Bug/Request: _umountable should not depend on /etc/mtab
- Date: Fri, 16 Oct 2020 14:33:44 +0000
- Archived-at: <https://zsh.org/users/26105>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-users/2020-10/20201016143344.2d7b879c%40tarpaulin.shahaf.local2>
- Authentication-results: zsh.org; iprev=pass (out3-smtp.messagingengine.com) smtp.remote-ip=66.111.4.27; dkim=pass header.d=daniel.shahaf.name header.s=fm1 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm1 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=fm1; bh=JV0YAKvWYcRDR1eeZaDJgjECt/ +p6rMhYAbDEJy87j4=; b=S8e/IfcXTbieeOq/ksJ4cCezvbfzl/QiSuNmjQ4Cb+ VA0wp9Oow6p/GfKuECJ3LcQH7BAw1SrlVM/roY0uKaiNe1DGHB0cTDdN0YfGKpJ1 KnRtb3/f0s6m5DoVJoUu7JXXQgm2ICMyrhJxzjPoI/wNM3ns1uxqkramypMjEk5T a4+/hga0DEAYGt4qN4uvwhu3ApqXmSUBFGtSNa5kz0kJ9roZrPaXLxyLrdiqVedP BXJ+i3LCuJAmpnt5lrgHr/SGGZqoS34zEYi1PRDMLnry3+h0wjyTLjzYkCo3LB+r Bz8N3jaThnHRH7ywst8s/TSpb8XQjhKAoHCC7HYnC7CA==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=JV0YAKvWYcRDR1eeZaDJgjECt/+p6rMhYAbDEJy87 j4=; b=inPBWnvAJerSdUoWkbuan7WT9gJkX6gw8UV19Bi8yVABpx4w/r/ZYmVOD o1icrYP10JgDagFzNs82osHPLu1KoTr1LwMDNxbzqiqv0CLDdwouilUs+MtorlE+ smuazeIMMi6vMB87rqe9X+vSrBX3AantqfTzdCoPeDM6DQbgDaWeZXPb44+FcCmk Ocir9OkMdLI4NAoBi9oWD5ScX0FqN6+cSHhhW5BjqO8r7Ekx5NEYoo5FsypdrPUf 3hmhcq0AxnDjDQQdrj+7ipsmTWh4Y5YcIwFWS3rQKmQgsGe2RvP7G0wXcAxlSpGQ ua2ntIy8ym2p3hwYHiwB7/hd053XA==
- In-reply-to: <CADYdroMUhw9zEOxuOUm6XHMuA4cKk0EUEJnH==1U8+5nyKDSRg@mail.gmail.com>
- List-archive: <http://www.zsh.org/sympa/arc/zsh-users>
- List-help: <mailto:sympa@zsh.org?subject=help>
- List-id: <zsh-users.zsh.org>
- List-owner: <mailto:zsh-users-request@zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-subscribe: <mailto:sympa@zsh.org?subject=subscribe%20zsh-users>
- List-unsubscribe: <mailto:sympa@zsh.org?subject=unsubscribe%20zsh-users>
- References: <CADYdroORkN84P+eEdDBnKVTo-eY6A9C0ZEj53Y5=m9ihaW0CqQ@mail.gmail.com> <58433fbc-e91c-4ed5-8f36-104a1b6a1ee9@www.fastmail.com> <CADYdroMUhw9zEOxuOUm6XHMuA4cKk0EUEJnH==1U8+5nyKDSRg@mail.gmail.com>
- Sender: zsh-users-request@xxxxxxx
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