Evan, your partman patch seems wrong to me. The "cut" part leaves only
the device name through, so it's too late to grep for fs type
afterwards. You might want to do something like this (not tested):

CDDEV=$(grep " /cdrom \(iso9660\|udf\) " /proc/mounts | cut -d ' ' -f 1
| grep -v "^/dev/loop")

-- 
Installer should not list removable media in /etc/fstab
https://bugs.launchpad.net/bugs/150872
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to