projects
/
grml2usb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
6f3eb52
)
Use "GRML" as FAT label when creating the file system
author
Michael Prokop
<mika@grml.org>
Fri, 2 Oct 2020 13:41:13 +0000
(15:41 +0200)
committer
Michael Prokop
<mika@grml.org>
Fri, 2 Oct 2020 13:52:22 +0000
(15:52 +0200)
Closes: grml/grml2usb#32
grml2usb
patch
|
blob
|
history
diff --git
a/grml2usb
b/grml2usb
index
7e68b18
..
9a989e3
100755
(executable)
--- 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)
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")
proc.wait()
if proc.returncode != 0:
raise CriticalException("error executing mkfs.vfat")