Subject: Problems with makefs(8)
To: None <tech-userlevel@netbsd.org>
From: Juan RP <juan@xtrarom.org>
List: tech-userlevel
Date: 08/11/2005 16:23:55
Hi,

I need to create ffs images of /bin and /libexec, but 
there are some errors:

[juan@Nocturno][~]> makefs -t ffs bin.fs /bin
Calculated size of `bin.fs': 1327104 bytes, 36 inodes
Extent size set to 8192
bin.fs: 1.3MB (2592 sectors) block size 8192, fragment size 1024
        using 1 cylinder groups of 1.27MB, 162 blks, 64 inodes.
super-block backups (for fsck -b #) at:
 32,
Populating `bin.fs'
makefs: Writing inode 35 (/bin/systrace), bytes 155648 + 7553: No space
left on device
[juan@Nocturno][~]>

Clearly there is free space on my home:

/dev/wd0h                    30G      24G      3.2G    88%    /home

There are plenty inodes free.

Mounting the image with vnd(4):

/dev/vnd0a on /mnt type ffs (local)

[juan@Nocturno][~]> ls -l /mnt/systrace 
ls: /mnt/systrace: Bad file descriptor
[juan@Nocturno][~]>

Does anyone know what's the problem here?

Thanks.