Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
moving /usr
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
frankOnPPC
Apprentice
Apprentice


Joined: 26 May 2003
Posts: 169
Location: Fulda, Hessen, Germany, Europe, Earth

PostPosted: Fri Jun 13, 2003 8:59 am    Post subject: moving /usr Reply with quote

as times goes by, space will be not avaible....
so I decided to move my /usr to an extra partition.
That runts fine...until....
some scripts done by booting, init.d, is doing some checks. According to the unique system of the gentoo boot-process, I guess (theses additional scripts, not init.d ;-) )
Unfortunatly, local disks will be mounted after this scripts are executed.
what happend was easy : the scripts need 2 cmds from /usr/bin (which was not mounted until the mounting was started). theses 2 cmd were id and find.
So moved it to /bin . Then it runs perfectly.
So that the question : I can imagine why these cmds id and find are not hold under /sbin, but whats the reason to have them not under /bin, especialy when these command are needed by a boot ?
Is a bug or a feature ? Is it gone with rc7 ?
kind rgds,
Frank
PPC - 1.4rc6
Back to top
View user's profile Send private message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Fri Jun 13, 2003 9:22 pm    Post subject: Reply with quote

that's odd. all 7 of my gentoo machines have /usr in a separate partition and I've never had trouble. did you put the entry in the /etc/fstab file correctly so /usr gets mounted automatically at boot?

my /usr entry looks like this for example:

Code:

/dev/hda8 /usr ext3 defaults 0 0

_________________
http://www.desertsol.com/~kevin/ppc
Back to top
View user's profile Send private message
frankOnPPC
Apprentice
Apprentice


Joined: 26 May 2003
Posts: 169
Location: Fulda, Hessen, Germany, Europe, Earth

PostPosted: Fri Jun 13, 2003 9:56 pm    Post subject: Reply with quote

It looks like this,
/dev/hde8 /usr ext2 defaults 1 2
anything wrong ?
rgds,
frank
_________________
always look at yellow site of Linux on the PPC.
Its PPCNUX.
Back to top
View user's profile Send private message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Fri Jun 13, 2003 11:00 pm    Post subject: Reply with quote

that looks ok, assuming it's on /dev/hde :)

I don't know
_________________
http://www.desertsol.com/~kevin/ppc
Back to top
View user's profile Send private message
genfoo
Apprentice
Apprentice


Joined: 17 Apr 2003
Posts: 192

PostPosted: Mon Jun 16, 2003 9:32 pm    Post subject: Reply with quote

try:

/dev/hde8 /usr ext2 defaults 1 1
Back to top
View user's profile Send private message
frankOnPPC
Apprentice
Apprentice


Joined: 26 May 2003
Posts: 169
Location: Fulda, Hessen, Germany, Europe, Earth

PostPosted: Mon Jun 16, 2003 9:42 pm    Post subject: Reply with quote

sorry,
could you explain it a little bit ?
thanks in adcance,
krgds, frank
_________________
always look at yellow site of Linux on the PPC.
Its PPCNUX.
Back to top
View user's profile Send private message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Mon Jun 16, 2003 9:51 pm    Post subject: Reply with quote

'man fstab' tells what the functions of the last two fields are. I've always used '0 0' but now upon reading the man page, I may try out '1 1' for my / directory and '1 2' for everything else.

the first one is whether the file system should be dumped or not. dump is a back up utility so it's kind of like saying if you want it backed up or not. of course, it makes no difference if you don't set dump up to run periodically.

the second one has to do with checking the file systems at boot time. but I think the init scripts make their own decisions as to whether or not the filesystems should be checked.

so I'm thinking it doesn't really matter what you put in the last two fields.
_________________
http://www.desertsol.com/~kevin/ppc
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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