Jeff Garzik <[EMAIL PROTECTED]> writes:

> Vandoorselaere Yoann wrote:
> > 
> > John Cavan <[EMAIL PROTECTED]> writes:
> > 
> > > Add this to /etc/fstab, if you haven't already done so:
> > >
> > > none          /var/shm      shm     defaults                        0 0
> > >
> > > This should cause it to mount normally at start up.
> > 
> > uhh,
> > maybe i'm wrong, but i use :
> > 
> > shmfs     /var/shm   shm   defaults     0       0
> 
> The first field in fstab is the device to which your mount point is
> attached.  Since there is no device associated with shmfs, the first
> field should be "none" not "shmfs".  Otherwise it is correct.
> 
> FWIW... the first field is ignored for pseudo-filesystems like shmfs, so
> you can put "yoann" as the first field in fstab if you want to... :)


Ooops ok, 
so the kernel search the corresponding filesystem using the type field :)

-- 
                   -- Yoann,  http://prelude.sourceforge.net
     It is well known that M$ products don't call free() after a malloc().
     The Unix community wish them good luck for their future developments.

Reply via email to