maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Repartition the internal drive (https://talk.maemo.org/showthread.php?t=35122)

白い熊 2010-02-09 08:31

Re: Repartition the internal drive
 
Hahah, this is the first time I hear of GNU Stow...

Let me inspect, hope it doesn't work the same way as my infrastructure, lest I've wasted tons of time designing and working out this "incredible" :) system for nothing, only to reinvent the wheel.

ruskie 2010-02-09 08:33

Re: Repartition the internal drive
 
Ehh nothing wrong with reinventing the wheel. Apparently Nokia loves to do it as well ;)

白い熊 2010-02-09 08:55

Re: Repartition the internal drive
 
OK, fortunately GNU Stow is not very potent as it actually just symlinks all the stuff into root etc., that's no good, and it requires admin privileges.

So my solution is more elegant and better, as it doesn't mess with the base system at all and is more flexible, phew... :)

ruskie 2010-02-09 08:58

Re: Repartition the internal drive
 
There's a few other systems like this as well. Some of which work on both user and system level(I think Stow does as well)

titan 2010-02-09 22:00

Re: Repartition the internal drive
 
stow works for user level as well (-d and -t options).
A while ago I had also started a fork of stow called optstow to set the defaults
to /opt and /opt/maemo and fix a design issue of stow:
it symlinks the shared directories like share/man if they don't exist
in the /opt/maemo yet -> the symlinks of all subsequently installed packages
are stored in the directory of the first package. So I was planning to filter common
directories and to create instead of symlinking them.

j.s 2010-02-09 22:21

Re: Repartition the internal drive
 
Quote:

Originally Posted by ruskie (Post 517273)
Well found some new limitation. Maemo5 expects /usr available early init(/sbin/preinit relies on it). So if you do offload /usr and then rm the old /usr your device will stop booting up.

I guess I'll modify my script to use /usr/local for storage now.

Why not /opt/something/bin and reserve /usr/local for truly local?

ruskie 2010-02-09 22:23

Re: Repartition the internal drive
 
Because /opt is NOT meant for that. I wish people would actually read the FHS sometime(and no don't plan on going into the FHS arguments anymore... read it or not... I don't care)

And /usr/local is fine for this certainly better than /opt

Can't wait for some SANE distro to become available on the device.

ruskie 2010-02-10 06:15

Re: Repartition the internal drive
 
j.s. sorry for that outburst. Spillover from another thread and me being tired(and yes for me that qualifies as an outburst).

javispedro 2010-02-10 12:15

Re: Repartition the internal drive
 
Quote:

Originally Posted by 白い熊 (Post 517371)
lest I've wasted tons of time designing and working out this "incredible" :) system for nothing, only to reinvent the wheel.

Have you read of Gobolinux in user mode?

白い熊 2010-02-10 13:48

Re: Repartition the internal drive
 
Yeah, that was one of the starting points, that got me thinking. Gobolinux's file system structure, which is a bit strange IMO, aside, the thing is Gobolinux is a distribution.

However, I've arrived at a solution enabling you to implement it on top of any distribution, for any architecture. I.e. try installing Gobolinux on the N900? Possible?


All times are GMT. The time now is 19:05.

vBulletin® Version 3.8.8