Merge pull request #561 from rajasec/kcore-link
Change softlink name to /dev/core
This commit is contained in:
commit
4f33b03703
|
@ -342,7 +342,7 @@ func setupDevSymlinks(rootfs string) error {
|
|||
// kcore support can be toggled with CONFIG_PROC_KCORE; only create a symlink
|
||||
// in /dev if it exists in /proc.
|
||||
if _, err := os.Stat("/proc/kcore"); err == nil {
|
||||
links = append(links, [2]string{"/proc/kcore", "/dev/kcore"})
|
||||
links = append(links, [2]string{"/proc/kcore", "/dev/core"})
|
||||
}
|
||||
for _, link := range links {
|
||||
var (
|
||||
|
|
Loading…
Reference in New Issue