Bug#630723: misc regressions on GNU/kFreeBSD
Control: notfixed -1 2.88dsf-34
Control: found -1 2.88dsf-41
Control: tags -1 + patch
On Thu, 16 Jun 2011 16:41:57 +0200, Robert Millan wrote:
> mount: /run: unknown special file or file system
There are still some remaining errors like that:
> mount: /run: unknown special file or file system
> mount: /run/lock: unknown special file or file system
> mount: proc : Operation not supported
> mount: sys : Operation not supported
> mount: /run/shm: unknown special file or file system
These come from S08mtab.sh, in the "Add entries for mounts created in
early boot" section. The mount_filesystems function only knows about
Linux-specific filesystems (proc, sysfs) and also uses the remount
option not supported by kFreeBSD for these filesystems.
I don't think we even need to run S08mtab.sh on GNU/kFreeBSD, as
/etc/mtab is only symlinked to /proc/mounts. Maybe we could exit early
with:
# Abort if /etc/mtab is a symlink to /proc/mounts (e.g. on GNU/kFreeBSD)
[ "$(readlink /etc/mtab)" = "/proc/mounts" ] && exit 0
As far as I can tell the errors are harmless though.
Regards,
--
Steven Chamberlain
steven@pyro.eu.org
Reply to: