lkml.org 
[lkml]   [2002]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Ramdisks and tmpfs problems
On Wed, Apr 10, 2002 at 01:31:14PM -0200, Denis Vlasenko wrote:
> On 10 April 2002 05:45, Sean Hunter wrote:
> > Wouldn't this be easier?
> >
> > mount -t tmpfs none /dev/shm
> > cp -axf /etc/* !$
> > mount --bind /dev/shm /etc
>
> /dev is for devices, why do you use it for mounting filesystems?

Normally yes, but the tmpfs provides posix shared memory semantics and thus
/dev/shm is the "normal" place to mount it. Don't blame me.

Sean
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:25    [from the cache]
©2003-2011 Jasper Spaans