The Following 2 Users Say Thank You to titan For This Useful Post: | ||
|
2009-12-30
, 13:31
|
Posts: 292 |
Thanked: 131 times |
Joined on Dec 2009
|
#102
|
I don't understand why did not stick to the original UNIX layout.
/usr, /bin etc. are stored on /
and the hierarchy /usr/local is for user installed applications.
/usr/local/bin, lib, share, icons etc. are added to the standard search paths
so that all user apps are found automatically.
The flash could be mounted on /mmc with symlinks
/usr/local -> /mmc/local
/home -> /mmc/home
maybe /etc/local -> /usr/local/etc
additionally, we could have /usr/local/stow for non-debianized stuff.
why all the hassle with bind, /opt, LVM, AUFS?
|
2009-12-30
, 13:36
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#103
|
The Following User Says Thank You to javispedro For This Useful Post: | ||
|
2009-12-30
, 13:52
|
Posts: 543 |
Thanked: 181 times |
Joined on Aug 2009
@ Universe,LocalCluster.MilkyWay.Sol.Earth.Europe.Slovenia.Ljubljana
|
#104
|
|
2009-12-30
, 14:26
|
|
Posts: 31 |
Thanked: 11 times |
Joined on Dec 2009
|
#105
|
1) the root partition makes sense as this is what the flasher overwrites
and which gives you a basic working system. home should be the user's playground.
you may have a single ext3/4 partition on the flash but you cannot export it
while it's mounted.
|
2009-12-30
, 16:55
|
Posts: 292 |
Thanked: 131 times |
Joined on Dec 2009
|
#106
|
|
2009-12-30
, 18:10
|
Posts: 946 |
Thanked: 1,650 times |
Joined on Oct 2009
@ Germany
|
#107
|
I see your point, but that means it would be a marketing decision, from a technical viewpoint it's possible, right?
I knew I'd missed something. So basically (to get back to the practical examples) if I for me personally decided that I don't need an internal vfat partition and deleted it in favour of a large ext3 home partition I could no longer access it via USB cable?
|
2009-12-30
, 18:13
|
Posts: 946 |
Thanked: 1,650 times |
Joined on Oct 2009
@ Germany
|
#108
|
Has anybody tried the feasibility of leaving only the basic rootfs in place and mounting everything else in the MMC (/usr, /opt, /home, etc)?
|
2009-12-30
, 18:25
|
Posts: 946 |
Thanked: 1,650 times |
Joined on Oct 2009
@ Germany
|
#109
|
Would this scenario allow a simpler firmware update usage, assuming it will overwrite rootfs, but during the next boot, AUFS would keep placing new stuf in /mmc?
It seems to be possible for a new firmware upgrade to restructure both the rootfs and the MMC in order stick to standard Unix Layout. Of course, the flasher could backup user files before and place them on the correct places afterwards.
|
2009-12-30
, 18:55
|
Posts: 543 |
Thanked: 181 times |
Joined on Aug 2009
@ Universe,LocalCluster.MilkyWay.Sol.Earth.Europe.Slovenia.Ljubljana
|
#110
|
moving /usr is dangerous as most essential apps are stored in /usr.
I doubt, however, that root fs is much faster than eMMC.
and which gives you a basic working system. home should be the user's playground.
2) the camera app works with a FAT32 image file mounted as loop device.
so we can get rid of the FAT partition completely and replace it by FAT images.
3) same as 2), you can keep a FAT image for M$ compatibility.
holes defined by the cluster allocation in the FAT image.
virtual machine users would benefit from such a feature as well.
For now we should stick to "dense" images for normal users.
advanced users can use the same tricks as for the virtual machine harddisks.
while it's mounted. you could, however, export it via NFS or export ext3 image files.
/usr, /bin etc. are stored on /
and the hierarchy /usr/local is for user installed applications.
/usr/local/bin, lib, share, icons etc. are added to the standard search paths
so that all user apps are found automatically.
The flash could be mounted on /mmc with symlinks
/usr/local -> /mmc/local
/home -> /mmc/home
maybe /etc/local -> /usr/local/etc
additionally, we could have /usr/local/stow for non-debianized stuff.
why all the hassle with bind, /opt, LVM, AUFS?