On Tue, Aug 09, 2016 at 02:26:21PM -0600, Andreas Dilger wrote: > I'll push a v2 patch that keeps the original logic, and Ted can choose > which one is correct. > The original logic is what's intended. What's going on here is that the argument to -C is optional (for backwards compatibility reasons), and we know it's always going to be a positive integer, since it's a file descriptor. If the next argument begins with a '-', it must be an option specifier, and the argument to -C was missing. If the next argument does not begin with a '-', then we try to parse it as an integer, and we rely on the fact that in general the device specifier to fsck generally begins with a '/', and if not, isn't going to be parseable as a number. - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html