public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Carsey, Jaben" <jaben.carsey@intel.com>
To: GN Keshava <keshava.gn@gmail.com>,
	"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: Unmount and mount a mass storage from shell
Date: Tue, 30 May 2017 15:25:57 +0000	[thread overview]
Message-ID: <CB6E33457884FA40993F35157061515C6CAA2700@FMSMSX103.amr.corp.intel.com> (raw)
In-Reply-To: <CABKwMdu4pyv8akPMxLso+5cGYZSfWJBWq4DgTaNggwiWpXf=+g@mail.gmail.com>

I think that you will always need to inform the UEFI Shell of the change.  It is not designed to automatically do detection of added/removed/changed devices.

I think that your solution to use the code from mount makes the most sense.

-Jaben

From: GN Keshava [mailto:keshava.gn@gmail.com]
Sent: Thursday, May 25, 2017 11:02 PM
To: Carsey, Jaben <jaben.carsey@intel.com>; edk2-devel@lists.01.org
Subject: Re: [edk2] Unmount and mount a mass storage from shell
Importance: High

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 <jaben.carsey@intel.com<mailto:jaben.carsey@intel.com>> 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<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<mailto: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<mailto:edk2-devel@lists.01.org>
> https://lists.01.org/mailman/listinfo/edk2-devel

  reply	other threads:[~2017-05-30 15:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-25  5:59 Unmount and mount a mass storage from shell GN Keshava
2017-05-25 15:56 ` Carsey, Jaben
2017-05-26  6:02   ` GN Keshava
2017-05-30 15:25     ` Carsey, Jaben [this message]
2017-05-31  3:35       ` GN Keshava
2017-05-31 15:53         ` Carsey, Jaben
2017-05-31 16:23           ` GN Keshava

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-list 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=CB6E33457884FA40993F35157061515C6CAA2700@FMSMSX103.amr.corp.intel.com \
    --to=devel@edk2.groups.io \
    /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