Util-Linux package development
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: "João Miguel" <jmcf125@bitmessage.ch>
Cc: util-linux@vger.kernel.org
Subject: Re: Suggestion for new multi-mount option
Date: Tue, 18 Feb 2020 13:46:14 +0100	[thread overview]
Message-ID: <20200218124614.mjcbfjqefa4d3b6l@ws.net.home> (raw)
In-Reply-To: <20180818202140.GE4715@jmcf125-Acer-GNU-Linux.home>

On Sat, Aug 18, 2018 at 09:21:40PM +0100, João Miguel wrote:
> I think it would be useful for it to be doable with «mount» as:
> 
>    mount --relative-root /dev/something /mnt/somewhere
> 
> Or at least:
> 
>    mount /dev/something /mnt/somewhere
>    mount -a --fstab /mnt/somewhere/etc/fstab --relative /mnt/somewhere

Note that this is implemented in v2.35, where we have --target-prefix
and options like --all are able to follow this prefix. It's also
possible to use -o for --all to overwrite fstab mountoptions.

    Karel
> 

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com


      reply	other threads:[~2020-02-18 12:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-18 20:21 Suggestion for new multi-mount option João Miguel
2020-02-18 12:46 ` Karel Zak [this message]

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=20200218124614.mjcbfjqefa4d3b6l@ws.net.home \
    --to=kzak@redhat.com \
    --cc=jmcf125@bitmessage.ch \
    --cc=util-linux@vger.kernel.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