Jump to content

ChrisB What does this do?


Recommended Posts

mtools are tools to work with ms-dos disks. For example you can set a label on a vfat partition with the command mlabel.

When using the mtools in scripts, you don't want that these commands are prompting/asking questions/being verbose.

That breaks the scripts.


--> let the commands skip certain checks, that would lead to a 'question' when running in a script.


Edit: Oops, the following is wrong:


We had some mtools commands in our specific scripts.

But not any longer.

You don't need it.



We don't need it in the script that creates the persistent loop file, because we don't work with a label on a vfat partition.


But we still need it for the "Create Live USB" script. The syslinux command, which installs the syslinux booloader on the partition, calls a certain mtool utility in the background.

Edited by chris:b
Link to comment
Share on other sites

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...