Bug#698670: freebsd-utils: mount_mfs missing
Package: freebsd-utils
Version: 9.0+ds1-9
Severity: normal
The freebsd-utils package is missing mount_mfs, so FreeBSD memory-backed
filesystems cannot be mounted from fstab. E.g., if I add the following line
to /etc/fstab as I would in FreeBSD:
md /tmp mfs rw,-s32m 0 0
I get an error when I try to mount it:
# mount /tmp
mount: exec mount_mfs not found: No such file or directory
mount: in path: /sbin:/usr/sbin
As a workaround I can create it manually with mdconfig:
# mdconfig -a -t swap -s 32m
md1
# mkfs -t ufs /dev/md1
/dev/md1: 32.0MB (65536 sectors) block size 16384, fragment size 2048
using 4 cylinder groups of 8.02MB, 513 blks, 1088 inodes.
Erasing sectors [128...65535]
Erasing sectors [64512...65535]
super-block backups (for fsck -b #) at:
160, 16576, 32992, 49408
# mount /dev/md1 /tmp
But this makes it difficult to mount mfs filesystems at boot.
-- System Information:
Debian Release: 7.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: kfreebsd-i386 (i386)
Kernel: kFreeBSD 9.0-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages freebsd-utils depends on:
ii libbsd0 0.4.2-1
ii libc0.1 2.13-37
ii libcam6 9.0+ds1-4
ii libgeom1 9.0+ds1-4
ii libjail1 9.0+ds1-4
ii libkiconv4 9.0+ds1-4
ii libkvm0 9.0+ds1-4
ii libsbuf6 9.0+ds1-4
ii libtirpc1 0.2.2-5
ii lsb-base 4.1+Debian8
ii zlib1g 1:1.2.7.dfsg-13
freebsd-utils recommends no packages.
Versions of packages freebsd-utils suggests:
pn freebsd-hackedutils <none>
ii kbdcontrol 9.0+ds1-9
ii vidcontrol 9.0+ds1-9
-- no debconf information
Reply to: