I understand what it's saying but I can't figure out which one it's
complaining about.  All I have mounted is:

freebie# mount
/dev/wd0a on / type ffs (local)
/dev/wd0i on /win_c type msdos (local)
/dev/wd0l on /win_d type msdos (local)
/dev/wd0m on /win_e type msdos (local)
/dev/wd0n on /usr type ffs (local, nodev)
fusefs on /root/.gvfs type fuse (local)
freebie#

I'm trying to go from:
# /dev/rwd0c:
type: ESDI
disk: ESDI/IDE disk
label: ST31000340AS
duid: f1f9d8681047d339
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 121601
total sectors: 1953525168
boundstart: 65545200
boundend: 196619535
drivedata: 0

16 partitions:
#                size           offset  fstype [fsize bsize  cpg]
  a:         41945712         65545200  4.2BSD   2048 16384    1 # /
  b:          2088453        107490912    swap                   # none
  c:       1953525168                0  unused
  d:         87040128        109579392  4.2BSD   2048 16384    1
  i:         65545137               63   MSDOS                   # /win_c
  j:            32130        196619535  ext2fs                   # /grubpart
  k:         10249407        262148733 unknown                   # none
  l:         65545137        272398203   MSDOS                   # /win_d
  m:         65545137        337943403   MSDOS                   # /win_e
  n:       1023999102        403488603  4.2BSD   2048 16384    1 # /usr
  o:        526032297       1427487768  ext2fs

to  (boundend is wrong here, it might as well be the whole drive)

# /dev/rwd0c:
type: ESDI
disk: ESDI/IDE disk
label: ST31000340AS
duid: f1f9d8681047d339
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 121601
total sectors: 1953525168
boundstart: 65545200
#boundend: 196619535
boundend: 1427487704
drivedata: 0

16 partitions:
#                size           offset  fstype [fsize bsize  cpg]
  a:         41945712         65545200  4.2BSD   2048 16384    1 # /
  b:          2088453        107490912    swap                   # none
  c:       1953525168                0  unused
#  d:         87040128        109579392  4.2BSD   2048 16384    1
  e:         40960000        196671488  ext2fs                   # /debroot
  f:         24515127        237633543  ext2fs                   # /archroot
  g:            32130        196619535  ext2fs                   # /grubpart
  i:         65545137               63   MSDOS                   # /win_c
  j:         10244096        262152192    swap                   # shared swap
#  k:         10249407        262148733 unknown                   #
none (?) moved
# k was my /usr as installed, I moved the files to n
  l:         65545137        272398203   MSDOS                   # /win_d
  m:         65545137        337943403   MSDOS                   # /win_e
  n:       1023999102        403488603  4.2BSD   2048 16384    1 # /usr
  o:        327677742       1427487768  ext2fs                   # /debdata
  p:        184313856       1769209856  ext2fs                   # /archdata

I did some rearranging in gparted but I was careful to not move
anything except empty partitions.  Everything except the little grub
partition was empty.  o doesn't exist anymore, there was never
anything in there, but it's not mounted either.



On 12/2/15, Theo de Raadt <[email protected]> wrote:
>> I'm trying to make several changes to my disklabel at once.  If I try
>> to do it with -R to read in a file I get disklabel: ioctl DIOCWDINFO:
>> Open partition would move or shrink
>
> You are attempting to change the position or size of a mounted partition.
> You can't do that.  The filesystem will attempt to write out to the disk
> and scribble somewhere unhealthy.  The kernel therefore refuses to
> perform the action.
>


-- 
Credit is the root of all evil.  - AB1JX

Reply via email to