Re: encrypted hjfs support

Wed, 7 Feb 2018 07:46:50 EST
mykhal@[REDACTED]

formatted hopefully correctly, for convenience:

patch1:

/bin/inst/mounthjfs.ooo:10,16 - /bin/inst/mounthjfs:10,16
        echo Please choose your $fstype partition
        echo

-       files=(`{ls /dev/sd*/fs* >[2]/dev/null})
+       files=(`{ls /dev/sd*/fs* /dev/fs/fs* >[2]/dev/null})
        if(! ~ $#files 0)
                ls -l $files
        echo

patch2:

/bin/fstype.ooo:14,26 - /bin/fstype:14,25
        echo dos
        exit
  }
- m=`{dd -if $1 -bs 4 -count 1 >[2]/dev/null | xd | sed 's,0000000  ,,;q'}
  m=`{dd -if $1 -count 1 >[2]/dev/null | xd | sed 's,0000000  ,,;q;'}
- if(~ $"m 529ab12b){
+ if(~ $"m 529ab12b*){
        echo paqfs
        exit
  }
- if(~ $"m 011ce50d){
+ if(~ $"m 011ce50d*){
        echo hjfs
        exit
  }

Alternative fix committed by cinap.