]> err.no Git - util-linux/commit
mount: parse SPEC before search in fstab
authorKarel Zak <kzak@redhat.com>
Fri, 25 May 2007 10:28:49 +0000 (12:28 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 25 May 2007 10:28:49 +0000 (12:28 +0200)
commitbcea2252572bfecd002500cc8d0e2f3fd807ebdd
tree71b961a06fb3333edfd57990ea1cbf2e94fe8035
parent8c61f43a4c2a17ee6ebf830bb5869569305f1eaa
mount: parse SPEC before search in fstab

The mount blindly uses a SPEC from command line and tries to found the
SPEC in /etc/fstab. It's better to parse the SPEC and search by UUID,
LABEL or devname only.

Signed-off-by: Karel Zak <kzak@redhat.com>
mount/fstab.c