2 * Copyright (C) 2012-2020 all contributors <cmogstored-public@yhbt.net>
3 * License: GPL-3.0+ <https://www.gnu.org/licenses/gpl-3.0.txt>
7 * caller needs to setup: uint32_t *mog_devid = ...
14 /* no overflow checking here, we do it in mog_dev_new */
16 *mog_devid += fc - '0';
19 # only stuff MogileFS will use
20 mog_path_rest = [a-zA-Z0-9/\.\-]{0,36};
21 mog_path = '/' (devid)? mog_path_rest;