Flash drive, mobile media for data storage or "USB memory stick"As they are known, they have come to support large data capacities, the equivalent of a classic hard disk or SSD. We have flash drives with connection USB or USB Type-C which exceed 1 - 2 TB storage space.
In the case of a flash drive with large storage space, we can Partition and get it format them just like a classic had disk. Moreover, we can create more partitions of which one or more of them should be encrypted si password protected.
How we divide the storage space of a flash drive into several partitions or containers
With the introduction of the system APFS (Apple File System) by Apple in the spring of 2017, the possibility of split the volume of a hard disk into several compartments, called Container, without the actual partitioning of the disk space. Basically, in APFS, "container" means partition. With the particularity that the space on a "container" can be dynamic. From the total disk space (container) is shared a preset space (volumes) or dynamic.
The user has the possibility on the Mac to divide the space of a flash drive into several classic partitions (partitioning) or to add APFS volumes in the main container. Each added volume will have a predetermined space or a dynamic space.
The advantage of APFS is that of adding and deleting volumes APFS it is simpler and faster than in the case of a classical partition.
In our example we will take a flash drive SanDisk de 256 GB that we want to we divide into two volumes. Two virtual partitions. One visible to all users and one encrypted and spoken.
SanDisk Ultra USB 3.0 Media, connected to Mac.
open disk Utility and go to the menu on the top left (views) to see all the devices.
Select diskthe physical under "External"And click on the"Erase"In disk Utility. At this moment, our flash drive is formatted exFAT - MBR (Master Boot Record).
In the dialog box from “Erase"We choose a name for the first volume (iHowTo.Tips, in our case), then we choose the scheme: "GUID Partition Map"Then format: "APFS". It is very important to choose "GUID Partition Map”Before formatting. It is the only scheme that will allow you APFS.
Before you press the button “Erase”Make sure you do not have important data on flash drive or that you backed up to them.
After the completion of the operation, under the name of the physical hard will appear a "Container"And under him a"Volume”With the name chosen by us. Both container and volume will be APFS. The space can be used for data storage.
At this moment we have a storage volume called "iHowTo.Tips" which we can access from Finder.
Next we will see how we can add another "encrypted volume" with "ihowTo.Tips". Password protected.
We can add the new volume by creating another container or inside the already created container. Select the container on the left (Container disk3, in our case) and then click on “Partition"At the top of Disk Utility.
After clicking on "Add Volume" we have a dialog box where we choose the name of the new volume and the format. Select "APFS (Encrypted)".
We set a password and a hint to remember our password in case we forget it.
Click "Add" and wait for the completion of the operation.
In the end we will have two volumes (iHowTo.Tips and Stealth) under the same container, both dynamically sharing all available space.
Each time we connect the flash drive to a PC or Mac, a password will be required to access the data on the "Stealth" volume.
Both partitions can be accessed from Finder and you can copy, delete and edit the stored data.
This is the simplest way you can partition a flash drive si you can password a partition or the entire USB stick.Partition and flash drive (USB stick) on Mac