Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2000 07:45:15 +0900
From:      Yukihiro Nakai <nakai@FreeBSD.org>
To:        Marcel Moolenaar <marcel@cup.hp.com>
Cc:        sada@bsdclub.org, marcel@FreeBSD.org, freebsd-ports@FreeBSD.org
Subject:   Re: ports/22310: Update port: x11-wm/icewm-i18n
Message-ID:  <200011012254.HAA14917@ns.tokyo.redhat.com>
In-Reply-To: <39FDA1A9.117AF201@cup.hp.com>
References:  <200010291631.BAA23255@home.bsdclub.org> <39FCE142.C19F368E@cup.hp.com> <200010300906.SAA24240@ns.tokyo.redhat.com> <39FDA1A9.117AF201@cup.hp.com>

next in thread | previous in thread | raw e-mail | index | archive | help

There is /etc/mtab and /proc/mounts files in Linux and they means
what is mounted just now.

In FreeBSD, there doesn't seem to be such files.
/var/run/mount.today seems to be a mounted path when boot,
and /var/db/mounttab disappears when unmounted...

On Mon, 30 Oct 2000 11:28:25 -0500
Marcel Moolenaar <marcel@cup.hp.com> wrote:

> Yukihiro Nakai wrote:
> > 
> > There is no such file '/etc/mnttab' in a linux box. (Red Hat Linux 7J). ??
> 
> I know of other applications that need mnttab. I believe that mnttab is
> written by the mount family of tools. I don't keep up with Linux enough
> to know the hairy details. I'm 100% sure it's not a FreeBSD "thingy" :-)
> 
> Maybe the use of /etc/mnttab is a fallback method when some other method
> fails (ie backward compatibility). If this is the case, we need to start
> looking at the Linuxulator (missing syscall)...
> 
> > > >
> > > > Looks ports/emulators/linux_base need /etc/mnttab on my 4.1.1 box.
> > > > Is there anything to do with it ?
> > > >
> > > > # rpm -U --ignoreos --root /compat/linux --dbpath /var/lib/rpm  --nodeps --replacepkgs setup-2.
> > > > 0.5-1.noarch.rpm
> > > > failed to open /etc/mnttab: No such file or directory
> > > > # touch /etc/mnttab
> > > > # rpm -U --ignoreos --root /compat/linux --dbpath /var/lib/rpm  --nodeps --replacepkgs setup-2.
> > > > 0.5-1.noarch.rpm
> > > > <Looks OK>
> > >
> > > Hmmm... This is new. I think the updated rpm needs mnttab and since
> > > linux_base has ``--root /compat/linux'', rpm expects it in /compat/linux
> > > (which I think is strange, so I may be wrong here).
> > >
> > > Can you file a PR?
> 
> -- 
> Marcel Moolenaar
>   mail: marcel@cup.hp.com / marcel@FreeBSD.org
>   tel:  (408) 447-4222
> 


---
Nakai


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011012254.HAA14917>