OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: asmar on September 15, 2004, 06:11:50 pm

Title: /usr on OZ , any problems?
Post by: asmar on September 15, 2004, 06:11:50 pm
Hi guys,

I installed /opt /home and /root on my sd card.
I read on oz main page that moving /usr into the sd card is a bad idea.

Anyone that moved /usr to sd ?

Thanks
Title: /usr on OZ , any problems?
Post by: Teletubbie on September 15, 2004, 06:59:31 pm
/usr/share
works fine
Cheers,
Sam
Title: /usr on OZ , any problems?
Post by: asmar on September 15, 2004, 07:18:50 pm
Quote
/usr/share
works fine
Cheers,
Sam
Thanks a lot Sam,

Just added /usr/share as well  

I really like this machine!

What about /usr and /etc ?
Title: /usr on OZ , any problems?
Post by: dtruchan on September 15, 2004, 07:38:47 pm
I have all of /usr on an SD card.
There is no problem as long as you relink a few /usr/bin busybox apps to /bin ([, tail, cut, test and dc) and make sure all the busybox apps in /usr/bin and /usr/sbin point to /bin/busybox or just copy busybox to where the links can find it.

I found the answer on the sourceforge OZ mailing list.
Have fun!  
Title: /usr on OZ , any problems?
Post by: asmar on September 15, 2004, 08:43:15 pm
Quote
I have all of /usr on an SD card.
There is no problem as long as you relink a few /usr/bin busybox apps to /bin ([, tail, cut, test and dc) and make sure all the busybox apps in /usr/bin and /usr/sbin point to /bin/busybox or just copy busybox to where the links can find it.

I found the answer on the sourceforge OZ mailing list.
Have fun!  
Hi dtruchan,

Thanks for your answer.

What if I do:

cp -a /usr /mnt/card/usr
cp -a /bin /mnt/card/bin

and then

rm -rf /usr /bin

ln -s /mnt/card/usr /usr
ln -s /mnt/card/bin /bin


I am not sure if I understand well about relinking. Do you mean that I won't be able to ln the dirs if I remove /usr and /bin directories?

In case that you mean something like that. what if I leave it as it is and just add 2 entries in fstab pointing in sd card?

Thanks