| To: | Eric Sandeen <sandeen@xxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 08/19] mkfs: getbool is redundant |
| From: | Jan Tulak <jtulak@xxxxxxxxxx> |
| Date: | Fri, 8 Apr 2016 12:30:40 +0200 |
| Cc: | xfs-oss <xfs@xxxxxxxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <5706981A.9090904@xxxxxxxxxxx> |
| References: | <1458818136-56043-1-git-send-email-jtulak@xxxxxxxxxx> <1458818136-56043-9-git-send-email-jtulak@xxxxxxxxxx> <5706981A.9090904@xxxxxxxxxxx> |
âYeah, I should reformulate it, I think. The meaning is that it won't matter what the defaults are now, or will be in the future. E.g., if you had a script creating a fs without crc before, when it was disabled by default, and we changed the default, you are now creating with the crc. But if you give it -m crc=0, then no matter what the default is, you have it always disabled. How about changing the line to "Boolean options allows for optional argument of value 0 or 1, to explicitly disable or enable the functionality," and dropping the forward-compatible part? Â Otherwise this looks ok to me; Dave explained that it is intentional to âFor options inside of -m, -d and such, yes. Top-level flags, that is -f, -q, -N, -K and -V, are still only flags, but these don't change the FS attributes. They are something different from the other. Still, I wonder whether they should accept [0|1] too... â Â
Doneâ Â Thanks, âThanks, Janâ |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 17/19] xfsprogs: disable truncating of files, Jan Tulak |
|---|---|
| Next by Date: | Re: [PATCH 09/19] mkfs: use getnum_checked for all ranged parameters, Jan Tulak |
| Previous by Thread: | Re: [PATCH 08/19] mkfs: getbool is redundant, Eric Sandeen |
| Next by Thread: | Re: [PATCH 08/19] mkfs: getbool is redundant, Eric Sandeen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |