info-mtools
[Top][All Lists]
Advanced

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

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


From: Linden Krouse
Subject: [Info-mtools] Feature request: Add flag to skip track sectors to mlabel
Date: Mon, 21 Nov 2016 01:05:35 -0500

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.

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. 


reply via email to

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