Help - Search - Members - Calendar
Full Version: ChrisB What does this do?
MandrivaUsers.org > Advanced Topics > MCNLive > Live CD/Live USB
mindwave
Chris,

I dont remember where but in one of your documertation sets i saw a comment about ediing
etc\mtools.con

and adding MTOOL_SKIP_CHECK=1

what does that do?

just trying to learn

thanks

J
mindwave
QUOTE (mindwave @ Aug 31 2007, 09:31 AM) *
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
chris:b
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.
mindwave
cool

thanks

j
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.