Active Topics

 


Reply
Thread Tools
Posts: 451 | Thanked: 334 times | Joined on Sep 2009
#161
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.
 
Posts: 543 | Thanked: 181 times | Joined on Aug 2009 @ Universe,LocalCluster.MilkyWay.Sol.Earth.Europe.Slovenia.Ljubljana
#162
Ehh nothing wrong with reinventing the wheel. Apparently Nokia loves to do it as well
__________________
For any repos or anything else I might have working on my N900 see:
http://wiki.maemo.org/User:Ruskie
A quick list of what I have in the repos
zsh|xmms2|fcron|gtar|gcoreutils
 
Posts: 451 | Thanked: 334 times | Joined on Sep 2009
#163
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...
 
Posts: 543 | Thanked: 181 times | Joined on Aug 2009 @ Universe,LocalCluster.MilkyWay.Sol.Earth.Europe.Slovenia.Ljubljana
#164
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)
__________________
For any repos or anything else I might have working on my N900 see:
http://wiki.maemo.org/User:Ruskie
A quick list of what I have in the repos
zsh|xmms2|fcron|gtar|gcoreutils
 
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#165
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.
 
Posts: 486 | Thanked: 251 times | Joined on Oct 2009
#166
Originally Posted by ruskie View Post
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?
__________________
The Mini-USB plug is an improvement over both the Type B plug and the Micro-B plug.
 
Posts: 543 | Thanked: 181 times | Joined on Aug 2009 @ Universe,LocalCluster.MilkyWay.Sol.Earth.Europe.Slovenia.Ljubljana
#167
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.
__________________
For any repos or anything else I might have working on my N900 see:
http://wiki.maemo.org/User:Ruskie
A quick list of what I have in the repos
zsh|xmms2|fcron|gtar|gcoreutils
 
Posts: 543 | Thanked: 181 times | Joined on Aug 2009 @ Universe,LocalCluster.MilkyWay.Sol.Earth.Europe.Slovenia.Ljubljana
#168
j.s. sorry for that outburst. Spillover from another thread and me being tired(and yes for me that qualifies as an outburst).
__________________
For any repos or anything else I might have working on my N900 see:
http://wiki.maemo.org/User:Ruskie
A quick list of what I have in the repos
zsh|xmms2|fcron|gtar|gcoreutils
 
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#169
Originally Posted by 白い熊 View Post
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?
 
Posts: 451 | Thanked: 334 times | Joined on Sep 2009
#170
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?
 
Reply


 
Forum Jump


All times are GMT. The time now is 02:55.