Kernel 2.4 é necrofilia :)
O Ubuntu já tem ramdisk por default:

$ mount|grep shm
none on /dev/shm type tmpfs (rw,nosuid,nodev)

As permissões de acesso são as mesmas do /tmp (sticky bit), então é só
redirecionar os seus arquivos temporários para lá!

ABS()



2011/3/16 Daniel de Oliveira Mantovani <[email protected]>

> O Eden Cardim me disse através do IRC que isso chama "ramdisk", então
> eu consegui me virar.
> http://www.vanemery.com/Linux/Ramdisk/ramdisk.html
>
> []'s
>
> 2011/3/16 Daniel de Oliveira Mantovani <
> [email protected]>:
> > Pessoal, eu estou com a idéia de pegar um diretório já existente:
> > /home/foo/text/
> > pegar todo o conteúdo e jogar para a memória. Após isso, eu quero
> > criar um diretório virtual:
> > /home/foo/virtual/text/
> > Com todo o conteúdo direto da memória, ou seja qualquer coisa que for
> > chamar o que estiver dentro do ~/virtual/text "não fará operação de
> > I/O", pois tudo já estará na memória.
> >
> >
> >
> > --
> > "If you’ve never written anything thoughtful, then you’ve never had
> > any difficult, important, or interesting thoughts. That’s the secret:
> > people who don’t write, are people who don’t think."
> >
>
>
>
> --
> "If you’ve never written anything thoughtful, then you’ve never had
> any difficult, important, or interesting thoughts. That’s the secret:
> people who don’t write, are people who don’t think."
> =begin disclaimer
>   Sao Paulo Perl Mongers: http://sao-paulo.pm.org/
>  SaoPaulo-pm mailing list: [email protected]
>  L<http://mail.pm.org/mailman/listinfo/saopaulo-pm>
> =end disclaimer
>
=begin disclaimer
   Sao Paulo Perl Mongers: http://sao-paulo.pm.org/
 SaoPaulo-pm mailing list: [email protected]
 L<http://mail.pm.org/mailman/listinfo/saopaulo-pm>
=end disclaimer

Responder a