Github messages for voidlinux
 help / color / mirror / Atom feed
From: pullmoll <pullmoll@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: chroot-style/uchroot: add -t parameter to command.
Date: Thu, 03 Sep 2020 17:51:02 +0200	[thread overview]
Message-ID: <20200903155102.8-IkiwBA-2si7asstLeHIF98UjamxRAjiAwoii0MlyM@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24314@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 491 bytes --]

New comment by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/pull/24314#issuecomment-686583901

Comment:
Perhaps `chroot-style/uchroot` can check the mount point's filesystem and error out if with an explicit message.
Some lines using `findmnt` from `util-linux` can be used to tell a path's file system:
```
#!/bin/bash
path=$PWD
while [ -z "$FSTYPE" -a ! -z "$path" ]; do
	eval $(findmnt -P "$path")
	path="${path%/*}"
done
echo "$FSTYPE"
```

  parent reply	other threads:[~2020-09-03 15:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-17  3:04 [PR PATCH] " ericonr
2020-09-03 12:29 ` q66
2020-09-03 12:29 ` [PR PATCH] [Closed]: " q66
2020-09-03 15:49 ` pullmoll
2020-09-03 15:49 ` pullmoll
2020-09-03 15:51 ` pullmoll [this message]
2020-09-03 16:12 ` ericonr
2020-09-03 16:33 ` pullmoll

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=20200903155102.8-IkiwBA-2si7asstLeHIF98UjamxRAjiAwoii0MlyM@z \
    --to=pullmoll@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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.
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).