On Sat, Sep 21, 2002 at 11:40:00PM -0700, Crist J. Clark wrote:
> On Sat, Sep 21, 2002 at 12:32:47PM +0300, mika ruohotie wrote:
> > eh?
> > it seems regardless of the flags i'm giving to disklabel it prevents
> > me from editing/restoring/whatever labels. only thing i can do is
> What error are you getting?

apoligies for not giving all the details.

what i'm trying to do is something i've done in the past years tens
of times when i've "cloned" one installed system to be several more
or less identical ones, ofcourse systems sharing one identical
component, the hard drive and its layout.

anyway, i'm not able to overwrite the current disklabel on a drive
using the -R flag anymore, system tells me "Operation not permitted".

if i add -n flag, i dont get errors.

nowadays it seems my only way is to use boot floppies (for some reason
my system's /stand/sysinstall cant see any disks) and it's really quite
annoying... one other thing i noticed which have changed was that i'm no
longer able to even edit a label, i ended up having a label:

[the upper part of the label snipped to make this email a bit shorter]

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  b:  2621440  1048576      swap                        # (Cyl.   65*- 228*)
  c: 120101877        0    unused        0     0        # (Cyl.    0 - 7475*)
  e:  1048576        0    4.2BSD     2048 16384    89   # (Cyl.    0 - 65*)
  f: 12582912  3670016    4.2BSD     2048 16384    89   # (Cyl.  228*- 1011*)
  g:  1048576 16252928    4.2BSD     2048 16384    89   # (Cyl. 1011*- 1076*)
  h: 102800373 17301504    4.2BSD     2048 16384    89  # (Cyl. 1076*- 7475*)

which i tried to edit to look like:

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:  1048576        0    4.2BSD     2048 16384    89   # (Cyl.    0 - 65*)
  b:  2621440  1048576      swap                        # (Cyl.   65*- 228*)
  c: 120101877        0    unused        0     0        # (Cyl.    0 - 7475*)
  e: 12582912  3670016    4.2BSD     2048 16384    89   # (Cyl.  228*- 1011*)
  f:  1048576 16252928    4.2BSD     2048 16384    89   # (Cyl. 1011*- 1076*)
  g: 102800373 17301504    4.2BSD     2048 16384    89  # (Cyl. 1076*- 7475*)

(something which i too have done _tens_ of times in the past, i even went
 and tried this on a separate machine, older current. worked like it always
 has.)

and the system just told me:

disklabel: Operation not permitted
re-edit the label? [y]: 

also, no matter what i try to edit on the label, including not changing
_anything_ on the label, i get that same error.

so something has changed, and i really wish it hadnt.

and yes, the situation remains the same if i boot single user.

> Crist J. Clark                     |     [EMAIL PROTECTED]


mickey

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to