pkgsrc-WIP-review archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Please review wip/tsm



Am 09.03.2006 um 20:49 Uhr +0100 schrieb joerg%britannica.bec.de@localhost:
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
_______________________________________________
pkgsrc-wip-review mailing list
pkgsrc-wip-review%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-review



Home | Main Index | Thread Index | Old Index