Re: format
- From: andrew@xxxxxxxxxxxxxxxxxxxx (Andrew Gabriel)
- Date: 10 Sep 2007 19:25:27 GMT
In article <46E53817.8050203@xxxxxxxxxxx>,
"Richard B. Gilbert" <rgilbert88@xxxxxxxxxxx> writes:
Tim Bradshaw wrote:
Does anyone know if there is an option to format in Solaris 10 (u4,
but they all have it) which turns off the "No, I won't let you edit
this disk's partition table because I've found entries in /etc/vfstab
for it and I'm so much cleverer than you that I just can't trust you
to actually be competent" feature.
How do I file a request for a "hammer nails into the head of whoever
added this braindeath" option? That would actually be some use.
I mean, really.
Yes, I got bitten by this too. Unmounted the swap slice (swap -d)
and then wanted to mount it again (swap -a). Sorry, can't do that
because it's in /etc/vfstab. Of course it is -- it's the swap slice!
I suspect if I mistyped the wrong slice which wasn't in /etc/vfstab,
it would have probably worked, and potentially screwed something!
So we have a check which stops you doing the right thing, and
probably allows you to do the wrong thing.
How about just editing /etc/vfstab to comment out the offending entry or
entries? Do your thing with format and edit vfstab again.
What an excellent way to risk accidentally corrupting your /etc/vfstab,
and have the system not boot next time (which might be months after
you corrupted it).
I realize that you'd rather do it your way but if you actually want to
get the job done. . . .
--
Andrew Gabriel
[email address is not usable -- followup in the newsgroup]
.
- References:
- format
- From: Tim Bradshaw
- Re: format
- From: Richard B. Gilbert
- format
- Prev by Date: Re: docs.sun.com is useless!
- Next by Date: opensolaris releases
- Previous by thread: Re: format
- Next by thread: Remote installing of Solaris 8
- Index(es):
Relevant Pages
|