mount --move /oldmountpoint /newmountpoint GNU/Linux command is part of that, thereby making "moving" a mounted filesystem different from unmounting and remounting. Since you asked the question, you may know more about how this functionality has been implemented. I would be intrigued know when it might be useful. # umount /dev/example0 && mount /dev/example0 /newmountpoint # ln -s /dev /path/to/desired/location/dev mdconfig -o compress).# mount
/dev/md0 on / (ufs, local, read-only)
devfs on /dev (devfs, local, multilabel)
zroot in /zroot (zfs, local, nfsv4acls)
devfs on /zroot/dev (devfs, local, multilabel)
The mfsBSD tool-set can be used to build a tiny FreeBSD image. As the name of mfsBSD suggests (“mfs” means “memory file system”), the resulting image runs entirely from a ramdisk.
Your image should not exceed 45MB in total, otherwise kernel panic may occur on boot-time.
No, that's not possible. It is however possible to mount devfs(5) multiple times.jyhpsycho said:Because it cannot be unmounted. I need to "move" /dev which is automatically mounted by FreeBSD kernel to another path, but it really possible?
dice@molly:~> mount | grep devfs
devfs on /dev (devfs, local, multilabel)
devfs on /jails/j-internetz/dev (devfs, local, multilabel)
dice@armitage:~ % mount | grep devfs
devfs on /dev (devfs, local, multilabel)
devfs on /jails/webtrees/dev (devfs, local, multilabel)
devfs on /jails/ports/dev (devfs, local, multilabel)
devfs on /jails/mysql/dev (devfs, local, multilabel)