You could use the map command to delete the mapping before you delete it. Are you sure that the shell and your module are not on that file system?
-Jaben > -----Original Message----- > From: ASM [mailto:[email protected]] > Sent: Friday, August 22, 2014 5:04 AM > To: [email protected] > Subject: [edk2] How can I "umount" filesystem from UEFI Shell? > > Hi folks. > > After UEFI Shell was run I can see FS0 filesystem. > FS0 is alias for PciRoot/Pci/Ata device. > > I want to remove all MBR and GPT partition from this device (I write zeros to > the 0,1,last sectors). > > What I doing: > 1 I get Handle for this device, > 2 I call gBS->DisconnectController (DiskHandle,NULL,NULL); for umount (If I > return in this step, UEFI Shell is not answer) > 3 I call WriteBlock for erase data. > 4 I return to the UEFI Shell, and it doesn't answer) > > If I skip step 2, then UEFI Shell is will be broken too. > How can I erase data from disk without breaking UEFI Shell? > > --- > Best regards, > Leonid Myravjev > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > edk2-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/edk2-devel ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ edk2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/edk2-devel
