> Alexander Eremin wrote:
> > I need review for Bug 3136 - TI fails to create
> VTOC on unlabeled disk
> > on Sparc.
> >
> > webrev : http://cr.opensolaris.org/~alhazred/3136/
> >   
> 
> A couple of thoughts...
> 
> The return code from prtvtoc(1M) is not currently a
> documented/stable 
> interface, but you are relying on it as though it
> was, and also assuming 
> the only meaning is an unlabeled disk, which seems
> unlikely.
Will look for alternate method
> 
> Personally, I would use format -f so you don't have
> to feed in the "y" 
> and "q". I suspect you can do this with something
> like:
> 
> "echo 'label' | /usr/sbin/format -f /dev/fd/0 -d %s"
> 
> but I haven't tried it (haven't got a spare drive to
> zap).
This is not works for me. Also without "q" you have 1 after "format" exiting.
> -- 
> Andrew
> 
> _______________________________________________
> caiman-discuss mailing list
> caiman-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/caiman-di
> scuss
-- 
This message posted from opensolaris.org

Reply via email to