HowTo: Linux Remove a Partition Name (/dev/sdXY entry) Temporarily
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/sdb1This 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/sdbNote that these changes will only persist until the next reboot.
