public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Make devfs create /dev/shm (was: Re: Trashing ext2 with hdparm) )
       [not found] <F947C7609FCD02F0412569AD007A3EC0.000087C3412569AE@experteam.de>
@ 2000-12-08  8:46 ` Roderich Schupp
  2000-12-18 15:23   ` Christoph Rohland
  0 siblings, 1 reply; 2+ messages in thread
From: Roderich Schupp @ 2000-12-08  8:46 UTC (permalink / raw)
  To: linux-kernel; +Cc: rgooch, H. Peter Anvin

Chris Meadors wrote:
>
> On 6 Dec 2000, H. Peter Anvin wrote:
>
> > <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:


--- 2.4.0-test11/ipc/shm.c.~1~       Thu Dec  7 22:32:47 2000
+++ 2.4.0-test11/lipc/shm.c   Thu Dec  7 22:38:59 2000
@@ -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
-- 
         When in trouble or in doubt,
         run in circles, scream and shout.

Roderich Schupp 		mailto:rsch@ExperTeam.de
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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Make devfs create /dev/shm (was: Re: Trashing ext2 with hdparm) )
  2000-12-08  8:46 ` [PATCH] Make devfs create /dev/shm (was: Re: Trashing ext2 with hdparm) ) Roderich Schupp
@ 2000-12-18 15:23   ` Christoph Rohland
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Rohland @ 2000-12-18 15:23 UTC (permalink / raw)
  To: Roderich Schupp; +Cc: linux-kernel, rgooch, H. Peter Anvin

Hi Roderich,

On Fri, 08 Dec 2000, Roderich Schupp wrote:
>> 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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-12-18 15:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <F947C7609FCD02F0412569AD007A3EC0.000087C3412569AE@experteam.de>
2000-12-08  8:46 ` [PATCH] Make devfs create /dev/shm (was: Re: Trashing ext2 with hdparm) ) Roderich Schupp
2000-12-18 15:23   ` Christoph Rohland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox