]> git.ipfire.org Git - thirdparty/util-linux.git/commit
mkswap: tolerate ENOTSUP when failing to relabel
authorLubomir Rintel <lkundrak@v3.sk>
Mon, 18 Apr 2016 07:01:23 +0000 (09:01 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 14 Jun 2016 09:18:40 +0000 (11:18 +0200)
commit39f577e53675453eb48cd806310bff1253e45145
treea1f932c507e2c7b8f9c315e7584e3e7f4f154eab
parentd9937b1f425071659471194afad63c3da6fc4ab7
mkswap: tolerate ENOTSUP when failing to relabel

It might be that the underlying filesystem just doesn't support SELinux
labeling. This fixes creating swap on vfat live media:

  # livecd-iso-to-disk.sh --msdos --swap-size-mb 666 ...

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
disk-utils/mkswap.c