Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/usr/bin/find would be in /bin
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
chidrob
n00b
n00b


Joined: 07 Aug 2002
Posts: 17

PostPosted: Mon Nov 18, 2002 7:01 pm    Post subject: /usr/bin/find would be in /bin Reply with quote

The find program (from sys-apps/findutils-4.1.7-r1) is installed in /usr/bin.

It is used in depscan.sh, executed while booting, so, if /usr is in its own partition, it is unable to finish ok.

What do you think? Should I open a bug, or is it ok?

I haven't found any reference to this in the forums, but the problem is clear to me.

As always, excuse my bad English.
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Mon Nov 18, 2002 7:29 pm    Post subject: Re: /usr/bin/find would be in /bin Reply with quote

chidrob wrote:
The find program (from sys-apps/findutils-4.1.7-r1) is installed in /usr/bin.

It is used in depscan.sh, executed while booting, so, if /usr is in its own partition, it is unable to finish ok.

What do you think? Should I open a bug, or is it ok?

I haven't found any reference to this in the forums, but the problem is clear to me.

As always, excuse my bad English.


I would say open a bug.

It is quite common to have /usr mount on a different partition than /boot and /. If something gets used during the initial boot, prior to mounting filesystems, it needs to reside in a directory accessible from the mounting of / and is not part of directories that traditionally can be on different disks,i.e /usr, /usr/local, /var, /opt

Erik
Back to top
View user's profile Send private message
chidrob
n00b
n00b


Joined: 07 Aug 2002
Posts: 17

PostPosted: Mon Nov 18, 2002 7:47 pm    Post subject: Reply with quote

Bug 10919 opened.
Back to top
View user's profile Send private message
eric_s
n00b
n00b


Joined: 18 Nov 2002
Posts: 16

PostPosted: Tue Nov 19, 2002 12:47 am    Post subject: Reply with quote

I am in this situation where /usr is a different partition and I did not encounter that problem. So I went through depscan.sh and did not find any reference to find. Can you point out where depscan.sh uses find?

P.S. I use depscan.sh version 1.12.
Back to top
View user's profile Send private message
chidrob
n00b
n00b


Joined: 07 Aug 2002
Posts: 17

PostPosted: Tue Nov 19, 2002 2:12 am    Post subject: Reply with quote

You are right.

I thought depscan.sh executed the find program in one of the sourced funtions, etc, but didn't verify it, because I had a message like:

depscan.sh: find not found (more or less)

in every boot. I have had the problem two times in about nine months.

The solution is cp /usr/bin/find /bin and, after one succesful boot, delete the find program.

I think that under some strange conditions, some code that uses find is executed. I will look at it tomorrow if possible.

I have upgraded base-layout, so a lot of scripts have changed...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum