From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653643321604.tru64-unix-managers.marc@archive.invalid> From: Paul LaMadeleine Date: Mon, 05 Nov 2001 17:23:40 +0000 To: tru64-unix-managers Subject: SUMMARY: question on disklabel X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653643321604 Fantastic, Ok, the problem I had was that I referencing the "C" partition in the commands. To do things like I was trying, you have to reference the "A" partition: disklabel -r -e /dev/rdisk/dsk26a Once I did that, it worked. However, I better way was pointed out to me by most people: disklabel -s -F /dev/rdisk/dsk26a unused The "-F" flag was needed in this case as the partition was already tagged as not "unused" (ie - raw). It was also suggested to zero out the label using "disklabel -z /dev/rdisk/dsk26a" Thanks to: Dr. Thomas P. Blinn, John Farmer, Dermot Paikkos, Selden E. Ball, Jr., Brandon Malli, Manish Soni, Jason Neil, Olle Eriksson, Oisin McGuinness, Alan Davis and anyone else who might respond after I send this. thanks, Paul At 09:52 AM 11/5/01 -0500, Paul LaMadeleine wrote: >Greetings, > > I'm trying to edit the disklabel on a disk. I know I've done > this before without an issue, but now the edit's I make don't seem to be > sticking. what I'm doing is: > > 1) disklabel -r /dev/rdisk/dsk26c > 2) The "C" partition is currently set to raw, I want it to be > unused so I can add it into and ADVFS domain > 3) disklabel -r -e /dev/rdisk/dsk26c > 3a) once in vi, I change "raw" to "unused" for the "C" > partition > 3b) save and quit > 4) disklabel -r /dev/rdisk/dsk26c > 5) I notice that the changes I made did not work. > > What am I missing? > > thanks, > > Paul >