Subject: vnconfig(8) against tmpfs files
To: None <tech-kern@NetBSD.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: tech-kern
Date: 08/03/2006 01:38:32
Does anyone try vnconfig(8) against files on tmpfs?

---
# uname -mrs
NetBSD 3.99.23 i386
# mount_mfs -s 16M swap /mnt2
# zcat miniroot.fs.gz > /mnt2/miniroot.fs
# vnconfig vnd0 /mnt2/miniroot.fs
# mount /dev/vnd0a /mnt
# df /mnt
Filesystem  1K-blocks      Used     Avail Capacity  Mounted on
/dev/vnd0a       4003      3053       950    76%    /mnt
# umount /mnt
# vnconfig -u vnd0
# umount /mnt2
# mount_tmpfs -s 16M tmpfs /mnt2
# zcat miniroot.fs.gz > /mnt2/miniroot.fs
# vnconfig vnd0 /mnt2/miniroot.fs
# mount /dev/vnd0a /mnt
mount_ffs: /dev/vnd0a on /mnt: Operation not supported
#
---
Izumi Tsutsui