Picon
Favicon

R: Re: HDUPDATE script not working with SATA disk

I meant to put it in TS5....

----Messaggio originale----
Da: doncuppjr-/E1597aS9LQAvxtiuMwx3w@public.gmane.org
Data: 17/05/2012 18.11
A: "thinstation-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org"<thinstation-general <at> lists.sourceforge.net>
Ogg: Re: [Thinstation-general] HDUPDATE script not working with SATA disk

There will not be an more releases in the 2.2 series.

From: Blade McKain <dragon38 <at> libero.it>
To: thinstation-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Sent: Thursday, May 17, 2012 8:07 AM
Subject: Re: [Thinstation-general] HDUPDATE script not working with SATA disk


Please insert this fix in the next release!

Ruud Hop wrote:
>
> L.S.
>
> I'm using Thinstation 2.2.2h and found that the hdupdate script is not
> working with sata disks.
>
> I've changed the script (found in /packages/hdupdate/etc/init.d) to
> include sata:
>
> - In the beginning of the script I've changed 'DSKMNT=...' to
> 'DISK_LIST=...'.
> <old>
>  DISKMNT="/mnt/disc/hda"
> </old>
> <new>
>  DISK_LIST="/mnt/disc/hda /mnt/disc/sda"
> </new>
>
> - Starting on line 51 I've changed the search for vmlinuz.
> <old>
>  # Search local hard ide disk for existing vmlinuz
>      HDTARGET="NONE"
>      for CURRENT_PART in ${PARTITION_LIST}
>      do
>        HDCHECK="${DISKMNT}/part${CURRENT_PART}"
>        echo_log "Checking for vmlinuz on ${HDCHECK}"
>        if [ -e ${HDCHECK}/vmlinuz ] ; then
>          echo_log "vmlinuz found at ${HDCHECK}"
>          HDTARGET="${HDCHECK}"
>        fi
>      done
>      if [ "${HDTARGET}" = "NONE" ] ; then
>        echo_log "Update failed, target drive not found\n" $debug
>        exit 0
>      fi
> </old>
> <new>
>  # Search local hard disk (ide/sata) for existing vmlinuz
>      HDTARGET="NONE"
>      for CURRENT_DISK in ${DISK_LIST}
>      do
>        for CURRENT_PART in ${PARTITION_LIST}
>        do
>          HDCHECK="${CURRENT_DISK}/part${CURRENT_PART}"
>          echo_log "Checking for vmlinuz on ${HDCHECK}"
>          if [ -e ${HDCHECK}/vmlinuz ] ; then
>            echo_log "vmlinuz found at ${HDCHECK}"
>            HDTARGET="${HDCHECK}"
>          fi
>        done
>      done
>      if [ "${HDTARGET}" = "NONE" ] ; then
>        echo_log "Update failed, target drive not found\n" $debug
>        exit 0
>      fi
> </new>
>
> Hope this helps someone with the same problem :-)
>
> Regards,
> Ruud
>
> ------------------------------------------------------------------------------
> uberSVN's rich system and user administration capabilities and model
> configuration take the hassle out of deploying and managing Subversion and
> the tools developers use with it. Learn more about uberSVN and get a free
> download at:  http://p.sf.net/sfu/wandisco-dev2dev
> _______________________________________________
> Thinstation-general mailing list
> Thinstation-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/thinstation-general
>
>

--
View this message in context: http://old.nabble.com/HDUPDATE-script-not-working-with-SATA-disk-tp32311829p33864893.html
Sent from the thinstation-general mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Thinstation-general mailing list
Thinstation-general-5NWGOfrQmncRDUWM+popnw@public.gmane.orgforge.net
https://lists.sourceforge.net/lists/listinfo/thinstation-general




 
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Thinstation-general mailing list
Thinstation-general@...
https://lists.sourceforge.net/lists/listinfo/thinstation-general

Gmane