From: Michael Prokop Date: Fri, 2 Oct 2020 13:41:13 +0000 (+0200) Subject: Use "GRML" as FAT label when creating the file system X-Git-Tag: v0.18.4~4 X-Git-Url: http://git.grml.org/?p=grml2usb.git;a=commitdiff_plain;h=1dfee7dc5236d2eb6e93aca0f3d9a85c1a47ba39;hp=6f3eb526aad869050f24159dc46e5d3bfe7cf952 Use "GRML" as FAT label when creating the file system Closes: grml/grml2usb#32 --- diff --git a/grml2usb b/grml2usb index 7e68b18..9a989e3 100755 --- a/grml2usb +++ b/grml2usb @@ -520,7 +520,7 @@ def mkfs_fat16(device): logging.info("Formating partition with fat16 filesystem") logging.debug("mkfs.vfat -F 16 %s", device) - proc = subprocess.Popen(["mkfs.vfat", "-F", "16", device]) + proc = subprocess.Popen(["mkfs.vfat", "-n", "GRML", "-F", "16", device]) proc.wait() if proc.returncode != 0: raise CriticalException("error executing mkfs.vfat")