View previous topic :: View next topic |
Author |
Message |
frankOnPPC Apprentice
Joined: 26 May 2003 Posts: 169 Location: Fulda, Hessen, Germany, Europe, Earth
|
Posted: Fri Jun 13, 2003 8:59 am Post subject: moving /usr |
|
|
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 |
|
|
zojas Veteran
Joined: 22 Apr 2002 Posts: 1138 Location: Phoenix, AZ
|
Posted: Fri Jun 13, 2003 9:22 pm Post subject: |
|
|
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 |
|
|
frankOnPPC Apprentice
Joined: 26 May 2003 Posts: 169 Location: Fulda, Hessen, Germany, Europe, Earth
|
Posted: Fri Jun 13, 2003 9:56 pm Post subject: |
|
|
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 |
|
|
zojas Veteran
Joined: 22 Apr 2002 Posts: 1138 Location: Phoenix, AZ
|
|
Back to top |
|
|
genfoo Apprentice
Joined: 17 Apr 2003 Posts: 192
|
Posted: Mon Jun 16, 2003 9:32 pm Post subject: |
|
|
try:
/dev/hde8 /usr ext2 defaults 1 1 |
|
Back to top |
|
|
frankOnPPC Apprentice
Joined: 26 May 2003 Posts: 169 Location: Fulda, Hessen, Germany, Europe, Earth
|
Posted: Mon Jun 16, 2003 9:42 pm Post subject: |
|
|
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 |
|
|
zojas Veteran
Joined: 22 Apr 2002 Posts: 1138 Location: Phoenix, AZ
|
Posted: Mon Jun 16, 2003 9:51 pm Post subject: |
|
|
'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 |
|
|
|