From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-x229.google.com (mail-oi0-x229.google.com [IPv6:2607:f8b0:4003:c06::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id A5AE821A02918 for ; Thu, 25 May 2017 23:02:38 -0700 (PDT) Received: by mail-oi0-x229.google.com with SMTP id l18so1507183oig.2 for ; Thu, 25 May 2017 23:02:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=9R8CJYwsRbfu9s9jqAJ7rXH3VUaJiCh5I90Um4f2hCs=; b=V4ba8x0ON5GxPZTmAYFF3Am5JsWHhrYhEJXKLZw2KDSyNghJo06oxx6UnNirbiuMsA badgK8BBOQ5K0PGphlGEfU8CMn6964T64cL9CBYeu+hptzjV0LWnOY1BVTM9OV/4RHTC MmCzApUqqE5ve9pL9DkiBA88+7PWmccUnT4imd8RMUxFwD69sQjzEZcGnuZzAbwl+TfZ 5tlwwK+p0WY0ilhONLJjdhepJYCNxlQtuzr/3ayrj4Agug4/LXKWDY1rRHg/oLraQ0l2 EM9/QeghpwnsSO+Tpo2zl434OyM88xPRtPyRgcQpFXNOUw/Btqo3aXK0cwA1KDRky+0h NBvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=9R8CJYwsRbfu9s9jqAJ7rXH3VUaJiCh5I90Um4f2hCs=; b=f5SaGSmIqp9pcLuXeUs82VNRw5rXN4so9OJklSBDzQzGvTesh7NMr5ExjO5nxV9E3N KileOGzUnKWms9X/lUN3VciZ9+NZeZEybP9JiEbIwhIogr3JT+HXnBXCDrq7nb9unLaX 3zGGjBVNcAvSMmJ10KeKowl/lHlcDre/i32u0Ru9bDT1ARdmK60xGpVEeH8bEOXBf/Up UNMPPZRXBGZ8WKGtqmx6cJhM5cfpcI+OUE6SyEhx60Y1VP6DrTFTpYBipENbR12fmMmF DNFbIodOzPqININQfkwDAKfggrv016HazuW1co3y+V+pz9tTEKingt+eL4TbNNeQvgZb 5U7Q== X-Gm-Message-State: AODbwcDlRrw9ZS9rWJyV+6oBsvr5rifqmYjlOHsHK1ILlLe5lmFfUg7G bpVdjdFNBPoE2Vo5GIGCe7rv3zrD7g== X-Received: by 10.202.82.23 with SMTP id g23mr91905oib.217.1495778557244; Thu, 25 May 2017 23:02:37 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: GN Keshava Date: Fri, 26 May 2017 06:02:26 +0000 Message-ID: To: "Carsey, Jaben" , "edk2-devel@lists.01.org" X-Content-Filtered-By: Mailman/MimeDel 2.1.22 Subject: Re: Unmount and mount a mass storage from shell X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2017 06:02:38 -0000 Content-Type: text/plain; charset="UTF-8" Hi Jaben, Thanks a lot for input. My necessity for unmount-mount is that, the USB client is a Linux storage gadget, which needs to be remounted to get the updated/new files created by Linux. Anyhow, now I'm doing this programmatically by copying mount command code from older shell. :) One more issue is that, after Linux updates some file (on client side, Linux will mount the same partition, save some file, and then umount the partition. Then if i remount the partition on Host side, when host is windows, i will get updated files) I will manually remove and connect the cable (MS device), UEFI is not able to detect the MS itself. (This issue observed, regardless of remount. This issue is not there on windows 10 host). Can you give some pointers on this? Thanks a lot, Jaben. Regards, Keshava On Thu, 25 May 2017 at 21:26 Carsey, Jaben wrote: > You can "disconnect" the driver > You can do "map -d" to delete a mapping > > I am unsure what your goals are for mount/unmount > > -Jaben > > > -----Original Message----- > > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of > > GN Keshava > > Sent: Wednesday, May 24, 2017 10:59 PM > > To: edk2-devel@lists.01.org > > Subject: [edk2] Unmount and mount a mass storage from shell > > Importance: High > > > > How can I unmount and mount a mass storage fs from UEFI shell? > > > > In older EFI shells, I can do with "mount" command. But it just does > > "mapping" in newer shell. It doesn't actually remounting the device. > > > > Please help. > > > > thanks > > _______________________________________________ > > edk2-devel mailing list > > edk2-devel@lists.01.org > > https://lists.01.org/mailman/listinfo/edk2-devel >