Hoping some people can shed some light on a little problem I have, I'm running 8.1-RELEASE.
I can make and mount vnode backed memory disks using a root shell ok, e.g....
(the 5000 for the unit number is because I want the units to match the uid of my users
However, I really want them remounted automatically in case of a reboot so I did the following...
added
etc. lines to /etc/rc.conf
added
to /etc/fstab
and I reboot, end up in single user mode because FreeBSD barfs on /dev/md5000 and refuses to proceed. So I take out the line in fstab and reboot, all is well but no /dev/md5000 gets created and running
What's the proper process for doing this? Or what have I done wrong or not done?
Obviously I've tried Googling this (for several hours actually) but I can't find anything that exactly answers what I'm trying to do.
Thanks in advance.
I can make and mount vnode backed memory disks using a root shell ok, e.g....
Code:
mdconfig -a -t vnode -f filename -u 5000
disklabel -r -w md5000 auto
newfs md5000
mount /dev/md5000 /home/somedir
(the 5000 for the unit number is because I want the units to match the uid of my users

However, I really want them remounted automatically in case of a reboot so I did the following...
added
Code:
mdconfig_md5000="-a -t vnode -f filename"
added
Code:
/dev/md5000 /home/somedir ufs rw 0 0
and I reboot, end up in single user mode because FreeBSD barfs on /dev/md5000 and refuses to proceed. So I take out the line in fstab and reboot, all is well but no /dev/md5000 gets created and running
/etc/rc.d/mdconfig start
and /etc/rc.d/mdconfig2 start
don't create them either.What's the proper process for doing this? Or what have I done wrong or not done?
Obviously I've tried Googling this (for several hours actually) but I can't find anything that exactly answers what I'm trying to do.
Thanks in advance.