Jump to content

ChrisB What does this do?


mindwave
 Share

Recommended Posts

Chris,

 

I dont remember where but in one of your documertation sets i saw a comment about ediing

etc\mtools.con

 

and adding MTOOLS_SKIP_CHECK=1

 

what does that do?

 

just trying to learn

 

thanks

 

J

 

 

Spelling correction

Link to comment
Share on other sites

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.

MTOOLS_SKIP_CHECK=1

--> 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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...