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:
>>>
>>>
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
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 "
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
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