Re: svn commit: r217229 - head/usr.sbin/pc-sysinstall/backend

2011-01-11 Thread Garrett Cooper
On Jan 10, 2011, at 11:26 PM, Pawel Jakub Dawidek wrote: > On Mon, Jan 10, 2011 at 03:52:12PM -0800, Garrett Cooper wrote: +if [ "${FS}" != "UFS" -a "${FS}" != "UFS+S" -a "${FS}" != "UFS+J" -a "${FS}" != "UFS+SUJ" ] ; then >>> >>> Something like this should work too: >>> >>>

Re: svn commit: r217229 - head/usr.sbin/pc-sysinstall/backend

2011-01-10 Thread Pawel Jakub Dawidek
On Mon, Jan 10, 2011 at 03:52:12PM -0800, Garrett Cooper wrote: > >> +        if [ "${FS}" != "UFS" -a "${FS}" != "UFS+S" -a "${FS}" != "UFS+J" > >> -a "${FS}" != "UFS+SUJ" ] ; then > > > > Something like this should work too: > > > >        if [ "${FS%+*}" != "UFS" ]; then > > Except they're cat

Re: svn commit: r217229 - head/usr.sbin/pc-sysinstall/backend

2011-01-10 Thread Garrett Cooper
On Mon, Jan 10, 2011 at 2:09 PM, Pawel Jakub Dawidek wrote: > On Mon, Jan 10, 2011 at 07:11:26PM +, Josh Paetzel wrote: > [...] >>    while read line >>    do >>      # Check for data on this slice >> -    echo $line | grep "^${DISKTAG}-part=" >/dev/null 2>/dev/null >> +    echo $line | grep "

Re: svn commit: r217229 - head/usr.sbin/pc-sysinstall/backend

2011-01-10 Thread Pawel Jakub Dawidek
On Mon, Jan 10, 2011 at 07:11:26PM +, Josh Paetzel wrote: [...] >while read line >do > # Check for data on this slice > -echo $line | grep "^${DISKTAG}-part=" >/dev/null 2>/dev/null > +echo $line | grep "^${_dTag}-part=" >/dev/null 2>/dev/null You can just use 'grep -q' in

svn commit: r217229 - head/usr.sbin/pc-sysinstall/backend

2011-01-10 Thread Josh Paetzel
Author: jpaetzel (ports committer) Date: Mon Jan 10 19:11:25 2011 New Revision: 217229 URL: http://svn.freebsd.org/changeset/base/217229 Log: Patch pc-sysinstall to deal with 4k sector size drives PR: bin/151967 Submitted by: kmoore Approved by: imp Modified: head/usr.sbin/pc-sysi