Temat: mkswap - UUID
Czy mkswap w openwrt jest jakiś okrojony ?
Nie mogę wygenerować identyfikatora UUID dla partycji swap na flash microsd w modemie 3g
root@router:~# mkswap -U
mkswap: invalid option -- U
root@router:~# mkswap --help
BusyBox v1.23.2 (2016-11-11 12:30:44 CET) multi-call binary.
Usage: mkswap [-L LBL] BLOCKDEV [KBYTES]
Prepare BLOCKDEV to be used as swap partition
-L LBL Label
dla odmiany w linux mint
user@host ~ $ mkswap --help
Usage:
mkswap [options] device [size]
Options:
-c, --check check bad blocks before creating the swap area
-f, --force allow swap size area be larger than device
-p, --pagesize SIZE specify page size in bytes
-L, --label LABEL specify label
-v, --swapversion NUM specify swap-space version number
-U, --uuid UUID specify the uuid to use
-V, --version output version information and exit
-h, --help display this help and exit
Jest jakiś inny sposób aby poradzić sobie zdalnie z tym problemem bez fizycznej ingerencji do karty micorsd ?
Tune2fs nie działa z partycją typu swap.