zfsonlinux/zfs — Issue #439: dracut cannot handle whitespace in a pool name
Author: dajhorn
Created: 2011-11-07 04:55:20+00:00
State: open

A literal space character is permitted in a zpool name. For example:

# zpool create 'foo bar' /dev/sdb
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
foo bar 75k 9.78G 30K /foo bar

Unquoted variables near `dracut/90zfs/mount-zfs.sh.in:64` like this:

mountpoint=`zfs get -H -o value mountpoint $zfsbootfs`

Get a command substitution like this:

zfs get -H -o value mountpoint foo bar/ROOT/linux
cannot open 'foo': dataset does not exist
cannot open 'bar/ROOT/linux': dataset does not exist