Re: [PATCH] mountpoint: drop S_ISDIR check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux