[OE-core] [PATCH 1/1] base-files: remove the unnecessary /media/xxx directories

Richard Purdie richard.purdie at linuxfoundation.org
Fri Jun 28 09:48:08 UTC 2013


On Fri, 2013-06-28 at 15:48 +0800, Qi.Chen at windriver.com wrote:
> From: Chen Qi <Qi.Chen at windriver.com>
> 
> A few directories under /media were created by default, /media/card,
> /media/ram, /media/realroot, etc.
> 
> These directories actually have no real usage now, thus removing them.
> 
> The /media/ram entry in the fstab is also removed, as mounting a tmpfs
> over /media/ram in our system brings no benefit.
> 
> Note that a duplicate '/mnt' entry in dirs755 are also removed.
> 
> [Yocto #4774]
> 
> Signed-off-by: Chen Qi <Qi.Chen at windriver.com>

Just to be clear, most of these date around 10 years from OpenZaurus and
similar times. We now automount media and there is no real need for
these specific directories or the ramfs. If there is some need in legacy
systems (I did wonder about opie), I'd suggest they get created by them
rather than the core base-files.

Cheers,

Richard




More information about the Openembedded-core mailing list