Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Oct 1997 13:33:54 +0200 (EET)
From:      Alexander Indenbaum <baum@actcom.co.il>
To:        stable@FreeBSD.ORG
Subject:   disklabel problem - disklabel: ioctl DIOCSDINFO: No space left on device
Message-ID:  <Pine.SUN.3.96-heb-2.07.971007132233.28486B-100000@actcom.co.il>
In-Reply-To: <199710071051.UAA15356@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

I am using -stable and sharing swap partition between Linux and FreeBSD.
In order to do so I disklabel swap partition out of /etc/rc

echo "LOCAL: Initializing Linux swap partition..."
disklabel -w -r /dev/rwd0s5 linswap

echo "Turning swap space on..."
swapon -a


Where linswap is defined in /etc/disktab
linswap:ty=mfs:se#512:nt#128:rm#3600:\
        :ns#63:nc#13:\
        :pb#104769:oa#0:tb=swap:\
        :pc#104769:oc#0:bc#4096:fc#512:

Anyway, it worked fine since 2.2.0 till 2.2-stable from
month or so before. In latest -stable ( from 06.10.97 )
I get message:
1:27pm schneider -> /home/baum# uname -a
FreeBSD schneider.actcom.co.il 2.2-STABLE FreeBSD 2.2-STABLE #25: Tue Oct
7 11:52:32 IDT 1997
baum@schneider.actcom.co.il:/usr/src/sys/compile/BAUM  i386
1:27pm schneider -> /home/baum# disklabel -w -r /dev/rwd0s5 linswap
disklabel: ioctl DIOCSDINFO: No space left on device

But when I booted 2.2.1 kernel it worked fine.

So what do you think about it?

  Alexander Indenbaum
  baum@actcom.co.il




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.96-heb-2.07.971007132233.28486B-100000>