Skip to contentSkip to conversation

Link /media to /run/media

PATCH Superseded Michael Gloff 2 participants 4 messages Dec 13, 2014 – Dec 15, 2014

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Link /media to /run/media

Since the change in automout.sh to mount devices to /run/media, we create the /run/media directory on startup and link /media to it.

---
 meta/recipes-core/initscripts/initscripts-1.0/volatiles | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-core/initscripts/initscripts-1.0/volatiles +2 -0
index 297245d..1fc5816 100644
@@ -34,3 +34,5 @@ f root root 0664 /var/log/wtmp none
 f root root 0664 /var/run/utmp none
 l root root 0644 /etc/resolv.conf /var/run/resolv.conf
 f root root 0644 /var/run/resolv.conf none
+d root root 1777 /run/media none
+l root root 1777 /media /run/media
Signature · 1 line
2.1.2.374.g63a4513
#1 lore raw

PATCH 2/2 volatiles: Link /media to /run/media

Since the change in automout.sh to mount devices to /run/media, we create the /run/media directory on startup and link /media to it.

---
 meta/recipes-core/initscripts/initscripts-1.0/volatiles | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/initscripts/initscripts-1.0/volatiles +1 -1
index 1fc5816..e6f0695 100644
@@ -32,7 +32,7 @@ l root root 1777 /tmp /var/tmp
 d root root 0755 /var/lock/subsys none
 f root root 0664 /var/log/wtmp none
 f root root 0664 /var/run/utmp none
-l root root 0644 /etc/resolv.conf /var/run/resolv.conf
 f root root 0644 /var/run/resolv.conf none
+l root root 0644 /etc/resolv.conf /var/run/resolv.conf
 d root root 1777 /run/media none
 l root root 1777 /media /run/media
Signature · 1 line
2.1.2.374.g63a4513
#2 lore raw

Re: [PATCH 2/2] volatiles: Link /media to /run/media

Backport to dizzy also please since the automount change is already in.

Michael Gloff

Quoted 27 lines · Michael Gloff

Since the change in automout.sh to mount devices to /run/media, we create the /run/media directory on startup and link /media to it.

---
 meta/recipes-core/initscripts/initscripts-1.0/volatiles | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/initscripts/initscripts-1.0/volatiles +1 -2
index 1fc5816..e6f0695 100644
@@ -32,7 +32,7 @@ l root root 1777 /tmp /var/tmp
 d root root 0755 /var/lock/subsys none
 f root root 0664 /var/log/wtmp none
 f root root 0664 /var/run/utmp none
-l root root 0644 /etc/resolv.conf /var/run/resolv.conf
 f root root 0644 /var/run/resolv.conf none
+l root root 0644 /etc/resolv.conf /var/run/resolv.conf
 d root root 1777 /run/media none
 l root root 1777 /media /run/media
--

2.1.2.374.g63a4513

#3 lore raw

Re: [PATCH 2/2] volatiles: Link /media to /run/media

In reply to Michael Gloff
Quoted 3 lines · Michael Gloff

Since the change in automout.sh to mount devices to /run/media, we create the /run/media directory on startup and link /media to it.

This patch does not match the commit log.

Quoted 19 lines
---
  meta/recipes-core/initscripts/initscripts-1.0/volatiles | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/initscripts/initscripts-1.0/volatiles +1 -1
index 1fc5816..e6f0695 100644
@@ -32,7 +32,7 @@ l root root 1777 /tmp /var/tmp
  d root root 0755 /var/lock/subsys none
  f root root 0664 /var/log/wtmp none
  f root root 0664 /var/run/utmp none
-l root root 0644 /etc/resolv.conf /var/run/resolv.conf
  f root root 0644 /var/run/resolv.conf none
+l root root 0644 /etc/resolv.conf /var/run/resolv.conf
  d root root 1777 /run/media none
  l root root 1777 /media /run/media
Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------