It's working very well

Thank you


-- 

------------------------------------
Alejandro Soler
Administrador de Sistemas
Martina di Trento S.A.
Tel.: (011) 4000-7243
Av.Pedro de Mendoza 2555
(C1169AAJ) Buenos Aires - Argentina
--- Begin Message ---
Hi Alejandro,

On 09/08/2012 11:00 AM, [email protected] wrote:
VFS: Can't find ext3 filesystem on dev utdisk1.
  utdisk1: p1

as far as I can see the problem is related to /opt/SUNWut/lib/utmountd and /opt/SUNWut/lib/utpremount. utmountd call the ksh script utprepmount with "utdisk1" as parameter but not "utdisk1p1".

My solution was to patch utpremount with the following part:

>> cut here <<<<

    139         # fix incorrect Linux USB device mounting
    140         # abock, Uni Hamburg, 2012-08-22
    141         if [[ "X$OS" = "XLinux" ]] then
    142                 for i in 0 1 2 3 4
    143                 do
    144                         if [[ -b ${BLKDEVPATH}p${i} ]] then
    145                                 BLKDEVPATH=${BLKDEVPATH}p${i}
    146                                 break
    147                         fi
    148                 done
    149         fi

>> cut here <<<<

I have put it in the function "do_mount" after "if [[ "X$OS" = "XSunOS" ]] then .... fi" and in front of the two comment lines "# if utprepmount has been invoked...".

I'm open to any suggestions regarding my patch.


Cheers,
Andreas

--
Dipl. Ing. Andreas Bock
Meteorologisches Institut - CIS
KlimaCampus, Universitaet Hamburg
Bundesstrasse 55, 20146 Hamburg, Germany
Phone/Fax: +49-40-41173-248/356

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

--- End Message ---
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to