Re: Please review wip/tsm
Hauke Fath <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.wip.review |
|---|---|
| Message-ID | <f06230900c037179dd65e@[130.83.118.66]> |
Am 09.03.2006 um 20:49 Uhr +0100 schrieb [email protected]: >Add an explicit entry to MESSAGES that /etc/mtab *must* exist in the >emulation. Added. > It is the default, but one of the problems that hit me more >than once... The problem here is that emulators/suse91_base creates ${EMULDIR}/etc/mtab as a symlink to ${EMULDIR}/proc/mounts [hf@venediger] /<3>emulators/suse91_base > fgrep mtab * Makefile: ${LN} -fs ${EMULDIR}/proc/mounts ${EMULDIR}/etc/mtab PLIST:${EMULSUBDIR}/etc/mtab [hf@venediger] /<3>emulators/suse91_base > -- but even if you 'mount -o linux' procfs to ${EMULDIR}/proc, the link target is an empty file, which won't do for TSM. As it is, the TSM package Makefile replaces this symlink with one to /etc/fstab [hf@venediger] /<3>wip/tsm > fgrep mtab * Makefile: @${TEST} -f ${EMULDIR}/etc/mtab || ${LN} -fs /etc/fstab ${EMULDIR}/etc/mtab [hf@venediger] /<3>wip/tsm > but of course the proper fix is to have procfs provide the necessary information in ${EMULDIR}/proc/mounts like linux machines do. hauke -- /~\ The ASCII Ribbon Campaign Hauke Fath \ / No HTML/RTF in email Institut für Nachrichtentechnik X No Word docs in email TU Darmstadt / \ Respect for open standards Ruf +49-6151-16-3281 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642