info-mtools
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Info-mtools] Feature request: Add flag to skip track sectors to mla


From: Alain Knaff
Subject: Re: [Info-mtools] Feature request: Add flag to skip track sectors to mlabel
Date: Mon, 21 Nov 2016 21:58:08 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0

Hi,

On 11/21/2016 07:05, Linden Krouse wrote:
> Currently, an error such as the following:
> 
> Total number of sectors (38270976) not a multiple of sectors per track (63)!
> Add mtools_skip_check=1 to your .mtoolsrc file to skip this test
> 
> may occur when using mlabel. The only current way to resolve it is to
> create a file called .mtoolsrc in the home directory of the user running
> the command, which may be the current user, or root as this command acts on
> devices. As this is an error, having the only way to disable it to be to
> disable it permanently (effectively) seems counter-productive. So, I
> propose a new -S, --skip flag for mlabel that skips this check.

There already is an environment variable MTOOLS_SKIP_CHECK with which
you can do this on a case-by-case basis. This is already being used by
syslinux

> 
> TLDR;
> 
> Add a -S, --skip flag to the mlabel program that skips the sectors per
> track check.
> 
> Reasons:
> 1 - Currently one or more config files need to be created in home
> directories to get around this check.
> 2 - This will allow users to avoid this check without disabling it for an
> indeterminate amount of time.
> 3 - Scripting mlabel becomes much easier as the script no longer need to
> create, append, replace, and/or delete one or more config files before
> running the command.
> 


Regards,

Alain



reply via email to

[Prev in Thread] Current Thread [Next in Thread]