Author Topic: /usr on OZ , any problems?  (Read 2391 times)

asmar

  • Newbie
  • *
  • Posts: 9
    • View Profile
/usr on OZ , any problems?
« 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

Teletubbie

  • Sr. Member
  • ****
  • Posts: 252
    • View Profile
    • http://
/usr on OZ , any problems?
« Reply #1 on: September 15, 2004, 06:59:31 pm »
/usr/share
works fine
Cheers,
Sam
SL-5500G
OZ 3.3.6-pre1
Opie 1.1.4

asmar

  • Newbie
  • *
  • Posts: 9
    • View Profile
/usr on OZ , any problems?
« Reply #2 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 ?

dtruchan

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
    • http://
/usr on OZ , any problems?
« Reply #3 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!  
860 Debian EABI
Lexar Cards
WCF11 v2.5
Mittoni SD-CF Adapter
Gentoo

asmar

  • Newbie
  • *
  • Posts: 9
    • View Profile
/usr on OZ , any problems?
« Reply #4 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