Harald, Vladimir, All,

On Thursday 16 September 2010 18:29:04 Harald Becker wrote:
> On 16.09.2010 18:12, Vladimir Dronnikov wrote:
> >> Why don't you create a single symlink
> >> pointing to the absolute path of busybox and do hardlinks to the symlink
> >> for the remaining applets?
> > E.g. /sbin, /bin, /usr/sbin, /usr/bin can be on various filesystems,
> > thus hardlinking will fail
> In that case you just need a single symlink on each filesystem ... and
> how much systems do you know those directories are on different
> filesystems today?

In my case, I have a device where / and /usr are both on different file
systems. / contains only what is needed to boot up the machine, while /usr
contains all the applications that makes the device perform its purpose.
Thus it is easy to update only the application side, and / is never touched.
But in this case, there's not busybox links in /usr, all have gone to /
as hardlinks. Avoids the cross-filesystem issue, and saves inodes.

Of course, on very small systems (I mean with very litle flash space),
and/or systems that will never be upgraded in the field, using two FS
might be overkill, or yet impossible due to space constraints.

But yes, it does happen.

The issue is different on desktop machines, where you usualy upgrade the
full system at once, and thus /usr being a separate partition is not
really usefull any more, now that HDDs are very, very much bigger than
the OS itself. In the good old days, /usr may had gone to a separate
_disk_, but having it on a separate _partition_ on the same disk is
almost always non-sense^Wuseless nowadays.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'


_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to