Hi, To experiment with some sysinstall things, I'm trying to build a -CURRENT release. This chugs along for some hours and all works fine, until it tries to create some mfsroot filesystems, right at (nearly) the end: [...] sh -e /usr/src/release/scripts/doFS.sh bsdlabel "" /R/stage/mfsroot/mfsroot /R/stage /mnt 4320 /R/stage/mfsfd 8000 minimum3 + export BLOCKSIZE=512 + DISKLABEL=bsdlabel + shift + MACHINE= + shift + FSIMG=/R/stage/mfsroot/mfsroot + shift + RD=/R/stage + shift + MNT=/mnt + shift + FSSIZE=4320 + shift + FSPROTO=/R/stage/mfsfd + shift + FSINODE=8000 + shift + FSLABEL=minimum3 + shift + [ 4320 -eq 0 -a minimum3 = auto ] + rm -f /R/stage/mfsroot/mfsroot + dd of=/R/stage/mfsroot/mfsroot if=/dev/zero count=4320 bs=1k + uname -r + [ -f /R/stage/trees/base/boot/boot ] + BOOT=-B -b /R/stage/trees/base/boot/boot + dofs_md + [ x != x ] + mdconfig -a -t vnode -f /R/stage/mfsroot/mfsroot + MDDEVICE=md0 + [ ! -c /dev/md0 ] + trap umount /mnt; mdconfig -d -u md0 EXIT + [ xbsdlabel != x ] + bsdlabel -w -B -b /R/stage/trees/base/boot/boot md0 minimum3 + newfs -O1 -i 8000 -o space -m 0 /dev/md0c fstab: /etc/fstab:0: No such file or directory newfs: /dev/md0c: could not find special device + umount /mnt umount: /mnt: not a file system root directory *** Error code 1 Stop in /usr/src/release. [...] AFAICS, it looks like bsdlabel does NOT create /dev/md0c anymore, only /dev/md0a. Since the doFS.sh script hasn't been changed since 2004, I guess there must be some other change somewhere, that has changed either bsdlabel's (or possibly devd's?) behaviour. Example: # dd of=mfsroot if=/dev/zero count=4320 bs=1k 4320+0 records in 4320+0 records out 4423680 bytes transferred in 0.117794 secs (37554363 bytes/sec) # mdconfig -a -t vnode -f mfsroot md0 # ls -l /dev/md* crw-r----- 1 root operator 0, 90 Jan 16 15:16 /dev/md0 crw------- 1 root wheel 0, 78 Jan 16 09:08 /dev/mdctl # bsdlabel -w -B -b /boot/boot md0 minimum3 # ls -l /dev/md* crw-r----- 1 root operator 0, 90 Jan 16 15:17 /dev/md0 crw-r----- 1 root operator 0, 95 Jan 16 15:17 /dev/md0a crw------- 1 root wheel 0, 78 Jan 16 09:08 /dev/mdctl # newfs -O1 -i 8000 -o space -m 0 /dev/md0c newfs: /dev/md0c: could not find special device Or am I doing something completely crazy here? :)Received on Fri Jan 16 2009 - 13:19:27 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:40 UTC