I was wondering what the general consensus of disksuite naming convention was.
We generally use
d0 = /, mirrored over d10 and d20 where d10=c0t0d0s0 and d20=c1t0d0s0
d1 = swap, mirrored over d11 and d21 where d11=c0t0t0s1 and d21=c1t0d0s1
etc...
This works very well for only 2 disks in a...
I have to upgrade SUNWexplo across 400 or so Sun servers, and it is a pain.
Currently i have a wrapper script that generates a pkgask file for each server i install it on, but i would much rather have a single pkgask file so i can do
$ pkgadd -a <admin> -r SUNWexplo.pkgask SUNWexplo
instead...
How do i achieve a recursive glob of a directory?
Currently i am doing
glob("$dir/* $dir/*/*");
but since there could be 5 levels i dont want to repeat the $dir/*/*/.. 5 times (doesn't look correct to me).
Ta.
N.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.