Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!news.mira.net.au!werple.mira.net.au!gfm From: gfm@werple.mira.net.au (Graham Menhennitt) Newsgroups: comp.os.386bsd.bugs Subject: [FreeBSD 2.0] ld should be in /bin Date: 12 Dec 1994 23:43:48 GMT Organization: werple public-access unix, Melbourne Lines: 21 Message-ID: <3cin7k$ef@eplet.mira.net.au> NNTP-Posting-Host: werple.mira.net.au X-Newsreader: TIN [version 1.2 PL1] On FreeBSD 2.0R, ld lives in /usr/bin. This can be a problem if a filesystem is mentioned in /etc/fstab before /usr and the filesystem needs a linkable kernel module to be mounted. I built a kernel without the MS-DOS filesys, and had /dos mentined before /usr (I think that the install program did this but I'm not sure - I may have added it manually). During boot I got the following: (output from fsck) ld: not found modload: can't prelink `/lkm/msdos_mod.o' creating `msdos_mod' msdos: vfsload(msdos): Operation not permitted starting network The /dos filesystem was not mounted - I did it manually after boot. The simple fix was to change the order of lines in /etc/fstab. The better fix is probably to put ld in /bin rather than /usr/bin. Then you could have a /usr filesystem that relied on a lkm. Thanks, 2.0 is great. Graham