[Crash-utility] Whether crash support extracting file previously stored in the tmpfs?

Lei Wen leiwen at marvell.com
Mon Mar 5 16:32:14 UTC 2012


Hi Dave,

> -----Original Message-----
> From: crash-utility-bounces at redhat.com
> [mailto:crash-utility-bounces at redhat.com] On Behalf Of Dave Anderson
> Sent: Monday, March 05, 2012 11:07 PM
> To: Discussion list for crash utility usage, maintenance and development
> Subject: Re: [Crash-utility] Whether crash support extracting file previously
> stored in the tmpfs?
> 
> 
> 
> ----- Original Message -----
> > Hi Dave,
> >
> > Could the crash current support extract the file which was stored in
> > the tmpfs when the panic happen?
> > Since we know the tmpfs is purely all in memory, it think it is
> > ideally that crash could do such job.
> 
> Although some/all of a tmpfs file could be swap-backed, correct?
> Anyway, whatever's there in memory could presumably be extracted,
> but somebody's got to write a function to do it.  It sounds more
> suited as an extension module.

My board has no swap enabled, so the swap concern maybe not urgent for me. :)
Thanks for your advice, I would try to make a extension module for that.

> 
> Dave
> 

Thanks,
Lei




More information about the Crash-utility mailing list