{"id":28,"date":"2006-03-25T21:59:04","date_gmt":"2006-03-25T20:59:04","guid":{"rendered":"http:\/\/www.yelloworb.com\/freebsd\/?p=28"},"modified":"2006-03-25T21:59:04","modified_gmt":"2006-03-25T20:59:04","slug":"mounting-a-shared-windows-drive","status":"publish","type":"post","link":"https:\/\/www.yelloworb.com\/freebsd\/2006\/03\/mounting-a-shared-windows-drive\/","title":{"rendered":"Mounting a shared windows drive"},"content":{"rendered":"\n<p>I&#8217;m about to setup a photoblog for a friend and since he currently got his machine\/server standing here I thought it could be convinient if I could have his webfiles on that machine and somehow mount that into my FreeBSD machine. So sstarted to search for mounting samba and stumbled upon this article:<br \/>\n<a title=\"FreeBSD and Samba: Automounting\" href=\"http:\/\/sig9.com\/articles\/samba-automount-freebsd\">FreeBSD and Samba: Automounting<\/a><\/p>\n<p>But I could not make it work, first I had Samba 2 so upgraded to 3, but still no progress. Got wierd errors when doing mount_smbfs. The first I got was: &#8220;mount_smbfs: vfsload(smbfs): File exists&#8221; which didnt make much sense. I tried a lot of things, nothing helped. Finally I rebooted and now I got &#8220;mount_smbfs: vfsload(smbfs): Exec format error&#8221; which was not much more informative&#8230;<br \/>\nThough I found some information about that one needed to have NETSMB option set when compiling the kernel so checked my Kernel config file. Had that already and also the other pre-requisits&#8230; Though after a while I realized that I was missing the SMBFS option! So recompiling the kernel with all of these options solved it:<\/p>\n<p>options         NETSMB<br \/>\noptions         NETSMBCRYPTO<br \/>\noptions         SMBFS<br \/>\noptions         LIBMCHAIN <br \/>\noptions         LIBICONV<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m about to setup a photoblog for a friend and since he currently got his machine\/server standing here I thought it could be convinient if I could have his webfiles on that machine and somehow mount that into my FreeBSD &hellip; <a href=\"https:\/\/www.yelloworb.com\/freebsd\/2006\/03\/mounting-a-shared-windows-drive\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-28","post","type-post","status-publish","format-standard","hentry","category-network"],"_links":{"self":[{"href":"https:\/\/www.yelloworb.com\/freebsd\/wp-json\/wp\/v2\/posts\/28","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yelloworb.com\/freebsd\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yelloworb.com\/freebsd\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yelloworb.com\/freebsd\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yelloworb.com\/freebsd\/wp-json\/wp\/v2\/comments?post=28"}],"version-history":[{"count":0,"href":"https:\/\/www.yelloworb.com\/freebsd\/wp-json\/wp\/v2\/posts\/28\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yelloworb.com\/freebsd\/wp-json\/wp\/v2\/media?parent=28"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yelloworb.com\/freebsd\/wp-json\/wp\/v2\/categories?post=28"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yelloworb.com\/freebsd\/wp-json\/wp\/v2\/tags?post=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}