Harry Putnam wrote:
:
:
> If not though, I wondered if someone could coach me a bit with
> `format'
>
> When `format' is run with no args it lists all disks and prompts for a
> command.
>
> It appears there is no simple way to get the output by scripting,
> since `format' doesn't close by itself. Its probably dead easy to run
> it with a `quit' or `exit' somewhere but I'm not sure how that might
> be done.
This works on my home system (OpenSolaris snv_127):
% pfexec format < /dev/null
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c5t0d0 <DEFAULT cyl 30397 alt 2 hd 255 sec 63>
/p...@0,0/pci108e,6...@5/d...@0,0
1. c5t1d0 <ATA-ST3750330AS-SD1A-698.64GB>
/p...@0,0/pci108e,6...@5/d...@1,0
2. c6t0d0 <ATA-ST3750330AS-SD1A-698.64GB>
/p...@0,0/pci108e,6...@5,1/d...@0,0
3. c6t1d0 <ATA-ST3750330AS-SD1A-698.64GB>
/p...@0,0/pci108e,6...@5,1/d...@1,0
Specify disk (enter its number):
%
HTH -
Tim
_______________________________________________
opensolaris-discuss mailing list
[email protected]