Re: [edk2] Deleting a map name with EFI Shell

Subject: Re: [edk2] Deleting a map name with EFI Shell

From: Daniel Moral <daniel.moral@ericsson.com>

To: "edk2-devel@lists.sourceforge.net" <edk2-devel@lists.sourceforge.net>, "efidevkit-devel@lists.sourceforge.net" <efidevkit-devel@lists.sourceforge.net>

Date: 2011-09-01 02:13:36

Thank you for your response.
 
I am thinking about other thing then. When I connect a USB stick to my system, it gets the 3 names:
 
fs0, blk0 and f65b0c0
 
Nevertheless, when I do connecdt a ram disk driver it gets:
 
fs0, blk0, f0agonennapphibbndlnmeaakamjeafdnb
 
 
I am looking into the algorithm you have told me about, in the UEFI Shell spec and I am trying to find a why to change the name then, not delete it, and reduce it to 7 or 8 characters. But I am not finding the way. Do you think that would be possible?
 
Thank you very much
 
BR
 
Daniel
 

From: Carsey, Jaben [mailto:jaben.carsey@intel.com]
Sent: den 31 augusti 2011 17:48
To: efidevkit-devel@lists.sourceforge.net; edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] Deleting a map name with EFI Shell

Nope.

 

Each hardware device that has BlockIo gets a Blk<?> identifier.

Each hardware device that has SimpleFileSystem gets a Fs<?> current file system identifier.

Each hardware device that has SimpleFileSystem gets a F<*> consistent file system identifier.

 

When you do a reset then all 3 will be restored.

 

Note: the algorithm for that last one (consistent) is explained in detail in the UEFI Shell spec appendix.

 

-Jaben

 

From: Daniel Moral [mailto:daniel.moral@ericsson.com]
Sent: Wednesday, August 31, 2011 7:03 AM
To: efidevkit-devel@lists.sourceforge.net; edk2-devel@lists.sourceforge.net
Subject: [edk] Deleting a map name with EFI Shell

 

Hi,

 

I have a problem with the map command in the EFI Shell. I have a device with 3 different names: "blk0", "fs0" and a really long weird name: "f0agonennapphibbndlnmeaakamjeafdnd".

 

I want to delete the last one, but really delete it because when I do this in the shell:

 

>map -d 0agonennapphibbndlnmeaakamjeafdnd

>map

 

It dos not show it but when you execute:

 

>map -r

 

To reset to default mappings, it appears again. Any way to make it dissapear completely?

 

Thank you very much

 

BR

 

Daniel