From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 58465 invoked by alias); 16 Aug 2018 21:33:34 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 58444 invoked by uid 89); 16 Aug 2018 21:33:33 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=principal, Engineer, mimic X-HELO: mx1.redhat.com Received: from mx3-rdu2.redhat.com (HELO mx1.redhat.com) (66.187.233.73) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 16 Aug 2018 21:33:32 +0000 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B9F2C4021FC2; Thu, 16 Aug 2018 21:33:30 +0000 (UTC) Received: from [10.10.120.12] (ovpn-120-12.rdu2.redhat.com [10.10.120.12]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7654C1D08B; Thu, 16 Aug 2018 21:33:30 +0000 (UTC) Subject: Re: The 'mount' function different from Linux To: cygwin@cygwin.com, eldlistmailingz@tropicsoft.com References: <1e1e10c0-fa24-0191-7f8e-c8748184d079@tropicsoft.com> From: Eric Blake Message-ID: <9ca36e93-7b21-f133-bb82-38ec4949ed05@redhat.com> Date: Fri, 17 Aug 2018 09:46:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1e1e10c0-fa24-0191-7f8e-c8748184d079@tropicsoft.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-08/txt/msg00215.txt.bz2 On 08/16/2018 04:08 PM, Edward Diener wrote: > The 'mount' function in cygwin is decidedly different from Linux. What > is the reason for this ? - POSIX does not specify mount(1) - it is inherently non-portable and platform specific. So any expectation of similarity between platforms is bound to break (as you've discovered) - Cygwin isn't mounting devices into the OS, but creating mappings for Cygwin to use. On Linux, the mount command is actually manipulating block devices and the kernel; on Cygwin, everything in the mount command is in userspace. Windows as the kernel did the actual device manipulation earlier on. As such, the tool REALLY CANNOT mimic what Linux does, because it IS NOT doing the same things. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple