Re: format
- From: Tim Bradshaw <tfb+google@xxxxxxxx>
- Date: Mon, 10 Sep 2007 07:11:24 -0700
On Sep 10, 2:45 pm, Casper H.S. *** <Casper....@xxxxxxx> wrote:
I think that's pretty much what the argument boiled down to when no
option was added to format to achieve this. "format -f" is too easy
to type and having to go in and investigate; it's much better to
first investiage why format/newfs/zfs won't take the disks on offer.
So , just what is one meant to do to, say, repartition the disk
containing / to add space for a metadb? Because here's what you have
to do now, if you don't grovel around looking for secret environment
variable:
1. You can't, without booting from media.
Yes, format -f is easy to type. So, well, make it something hard to
type:
format -yes-i-really-want-to-do-this-please-actually-yes-really
or even better:
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0d0 <DEFAULT cyl 4076 alt 2 hd 255 sec 63>
/pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0
Specify disk (enter its number): 0
selecting c0d0
Controller working list found
[disk formatted, defect list found]
Warning: Current Disk has mounted partitions.
/dev/dsk/c0d0s0 is currently mounted on /. Please see umount(1M).
/dev/dsk/c0d0s1 is currently used by swap. Please see swap(1M).
/dev/dsk/c0d0s7 is part of active ZFS pool export. Please see
zpool(1M).
Authorisation key (valid for this disk, for 10 minutes):
72a3b27550755979bec553cd5715f5c2
FORMAT MENU:
disk - select a disk
...
auth - enter authorisation key to override in use checks
...
format> auth
key> 72a3b27550755979bec553cd5715f5c2
Authorised, In use checking off for c0d0.
format>
But whatever you do, don't treat your customers like children. They
don't like it.
.
- Follow-Ups:
- Re: format
- From: Tim Bradshaw
- Re: format
- References:
- format
- From: Tim Bradshaw
- Re: format
- From: Richard B. Gilbert
- Re: format
- From: Tim Bradshaw
- Re: format
- From: Richard B. Gilbert
- Re: format
- From: Casper H . S . ***
- format
- Prev by Date: Re: format
- Next by Date: Re: women seeking free denver , women seeking free detroit , women seeking free durham
- Previous by thread: Re: format
- Next by thread: Re: format
- Index(es):