Skip to contentSkip to conversation

Make devfs create /dev/shm (was: Re: Trashing ext2 with hdparm) )

PATCH In review Roderich Schupp 2 participants 2 messages Dec 8, 2000 – Dec 18, 2000 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 Make devfs create /dev/shm (was: Re: Trashing ext2 with hdparm) )

Quoted 10 lines · Chris Meadors
Quoted 4 lines · H. Peter Anvin

<HARP>
Please don't use the path /var/shm... it was a really bad precedent set when someone suggested it. Use /dev/shm.
</HARP>

And I'll ask again... If this is now the recommend mount point, can we have devfs create this directory for us?

C'mon guys, this is just to easy:

lipc/shm.c Thu Dec 7 22:38:59 2000 renamed from ipc/shm.c.~1~ Thu Dec 7 22:32:47 2000 +1 -0
@@ -221,6 +221,7 @@
 #ifdef CONFIG_PROC_FS
        create_proc_read_entry("sysvipc/shm", 0, 0, sysvipc_shm_read_proc, NULL);
 #endif
+       devfs_mk_dir (NULL, "shm", NULL);
        zero_id = ipc_addid(&shm_ids, &zshmid_kernel.shm_perm, 1);
        shm_unlock(zero_id);
        INIT_LIST_HEAD(&zshmid_kernel.zero_list);

Cheers, Roderich

Signature · 11 lines
         When in trouble or in doubt,
         run in circles, scream and shout.

Roderich Schupp 		mailto:[email protected]
ExperTeam GmbH			http://www.experteam.de/
Munich, Germany

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#2 lore raw

Hi Roderich,

Quoted 4 lines · Roderich Schupp
Quoted 2 lines

And I'll ask again... If this is now the recommend mount point, can we have devfs create this directory for us?

C'mon guys, this is just to easy:

Included in 2.4.0-test13-pre3...

Greetings
Christoph

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/