FS#13632 - add tmpfs support

Attached to Project: Release Engineering
Opened by Eric Barrat (nowahn) - Monday, 02 March 2009, 17:31 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Monday, 26 November 2012, 04:44 GMT
Task Type Feature Request
Category AIF
Status Closed
Assigned To Dieter Plaetinck (Dieter_be)
Architecture All
Severity Low
Priority Normal
Reported Version 2009.02
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

please add an option to set some tmpfs filesystems in the "Set Filesystems Mountpoints" step.
that would be nice and that should be easy to implement.
This task depends upon

Closed by  Gerardo Exequiel Pozzi (djgera)
Monday, 26 November 2012, 04:44 GMT
Reason for closing:  Deferred
Comment by Dieter Plaetinck (Dieter_be) - Monday, 02 March 2009, 19:35 GMT
aif has no "Set Filesystems Mountpoints" step. you must be talking about the old installer.
though aif also lacks the feature you request.

What would be the purpose of this?
Comment by Eric Barrat (nowahn) - Tuesday, 03 March 2009, 17:13 GMT
well, I've tried aif onloy once few days ago. I don't remember how it is exactly.

I basicaly set my /tmp and /var/tmp to be in RAM through tmpfs. it would be nice to be able to set this directly from the installer.
in the old installer, there would be a "tmpfs" entry on the page giving choice between all the available partitions.
choosing this entry would only ask for the mount point as it is the only thing to set.
in fact, there would always be a "tmpfs" entry available when we have to choose a partition.

I ask this feature because it seems to me that it should be quite easy to implement.
Comment by Dieter Plaetinck (Dieter_be) - Tuesday, 03 March 2009, 18:45 GMT
Yeah it's doable.. Not easy but doable.
I never used it myself but here is how I see it (please comment):
the backend/file format in aif has a notion of blockdevices on which you can put one or more (eg for an lvm volume group) filesystems.
The way it works is you choose a block device, and then you choose and configure one or more filesystems to put on top of it (the choices being limited by the type of blockdevice).
So I would just add a "blockdevice" ram and allow users to define one or more tmpfs'es on it, similar to how one puts multiple logical volumes in a volume group.
I would allow users to specify a size and mountpoint, but that's pretty much all I would let them customize. for further options they have to edit fstab themselves.
Comment by Eric Barrat (nowahn) - Wednesday, 04 March 2009, 19:11 GMT
I've quickly run aif to remember how it is.
the idea of a ram "blockdevice" similar to the volume group blockdevice is exactly what I mean.
Comment by Dieter Plaetinck (Dieter_be) - Wednesday, 04 March 2009, 19:16 GMT
Allright then...It will be in aif..someday :)
Comment by Dieter Plaetinck (Dieter_be) - Friday, 24 July 2009, 16:19 GMT
btw: patches welcome
Comment by Gerardo Exequiel Pozzi (djgera) - Friday, 19 August 2011, 03:51 GMT
I think this can be closed now. Now by default /tmp is tmpfs in fstab, like other mountpoints.

Loading...