public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Reisner <d@falconindy.com>
To: Bernhard Voelker <mail@bernhard-voelker.de>
Cc: Dave Reisner <dreisner@archlinux.org>, util-linux@vger.kernel.org
Subject: Re: [PATCH] mountpoint: drop S_ISDIR check
Date: Thu, 21 Aug 2014 11:38:37 -0400	[thread overview]
Message-ID: <20140821153837.GG511@rampage> (raw)
In-Reply-To: <53F608BA.4080401@bernhard-voelker.de>

On Thu, Aug 21, 2014 at 04:56:58PM +0200, Bernhard Voelker wrote:
> On 08/21/2014 02:48 PM, Dave Reisner wrote:
> > Files can be mountpoints, too.
> 
> just out of curiosity - how?
> 
>  $ touch /tmp/mountpoint
>  $ mount -t proc proc /tmp/mountpoint
>  mount: mount point /tmp/mountpoint is not a directory
> 
> Thanks & have a nice day,
> Berny

You cannot mount a file on a directory, but you can mount a file on a
file.

Cheers,
d

      parent reply	other threads:[~2014-08-21 15:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-21 12:48 [PATCH] mountpoint: drop S_ISDIR check Dave Reisner
2014-08-21 13:10 ` Karel Zak
2014-08-21 14:56 ` Bernhard Voelker
2014-08-21 15:30   ` Adam Sampson
2014-08-21 16:16     ` [PATCH] mountpoint.1: clarify that it works on files Dave Reisner
2014-08-22  6:35       ` Karel Zak
2014-08-21 15:38   ` Dave Reisner [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=20140821153837.GG511@rampage \
    --to=d@falconindy.com \
    --cc=dreisner@archlinux.org \
    --cc=mail@bernhard-voelker.de \
    --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