]> err.no Git - util-linux/commit
swapoff: correctly handle UUID= and LABEL= identifiers
authorLaMont Jones <lamont@mmjgroup.com>
Sun, 5 Aug 2007 00:04:11 +0000 (18:04 -0600)
committerKarel Zak <kzak@redhat.com>
Tue, 7 Aug 2007 08:27:45 +0000 (10:27 +0200)
commit4ee7bde1441fa7ea8f85d05fc2d08d7dc5a24c1f
tree94b74fef56a95d2351d1e87932e87f8f6c3f0c57
parent35eca7d577e01ad5145fb454a64006a2a9eb5dcb
swapoff: correctly handle UUID= and LABEL= identifiers

While parsing /etc/fstab, swapoff did not make provision for UUID= and
LABEL= identifiers.  Added logic similar to swapon -a code.

Signed-off-by: Kel Modderman <kel@otaku42.de>
Signed-off-by: LaMont Jones <lamont@mmjgroup.com>
mount/swapon.c