To temporarily remove a partition name in Linux, you can use the “blockdev” command line tool. Here’s an example for removing a partition named “/dev/sdb1”:
sudo blockdev --remove-partition /dev/sdb1
This will remove the partition name “/dev/sdb1”, but the partition itself will still exist on the disk. To add the partition name back, you can use the “blockdev” command with the “–rereadpt” option:
sudo blockdev --rereadpt /dev/sdb
Note that these changes will only persist until the next reboot.