* [PATCH] FS: Make RAMFS both selectable and tristate.
@ 2007-08-25 19:40 Robert P. J. Day
2007-08-25 21:29 ` Al Viro
0 siblings, 1 reply; 5+ messages in thread
From: Robert P. J. Day @ 2007-08-25 19:40 UTC (permalink / raw)
To: Linux Kernel Mailing List; +Cc: Andrew Morton
Allow RAMFS to be user-selectable, and to be built as a module.
Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
---
given that the help content for that option suggests it can be built
as a module, it just makes sense to make it selectable and tristate,
unless someone has a compelling argument against it.
diff --git a/fs/Kconfig b/fs/Kconfig
index 58a0650..e79ac86 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -1003,7 +1003,7 @@ config HUGETLB_PAGE
def_bool HUGETLBFS
config RAMFS
- bool
+ tristate "Ramfs support"
default y
---help---
Ramfs is a file system which keeps all files in RAM. It allows
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA
http://crashcourse.ca
========================================================================
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] FS: Make RAMFS both selectable and tristate.
2007-08-25 19:40 [PATCH] FS: Make RAMFS both selectable and tristate Robert P. J. Day
@ 2007-08-25 21:29 ` Al Viro
2007-08-25 21:40 ` Robert P. J. Day
2007-08-25 21:43 ` Robert P. J. Day
0 siblings, 2 replies; 5+ messages in thread
From: Al Viro @ 2007-08-25 21:29 UTC (permalink / raw)
To: Robert P. J. Day; +Cc: Linux Kernel Mailing List, Andrew Morton
On Sat, Aug 25, 2007 at 03:40:23PM -0400, Robert P. J. Day wrote:
>
> Allow RAMFS to be user-selectable, and to be built as a module.
>
> Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
>
> ---
>
> given that the help content for that option suggests it can be built
> as a module, it just makes sense to make it selectable and tristate,
> unless someone has a compelling argument against it.
How about "check if the kernel builds if you do that"?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] FS: Make RAMFS both selectable and tristate.
2007-08-25 21:29 ` Al Viro
@ 2007-08-25 21:40 ` Robert P. J. Day
2007-08-25 21:59 ` Al Viro
2007-08-25 21:43 ` Robert P. J. Day
1 sibling, 1 reply; 5+ messages in thread
From: Robert P. J. Day @ 2007-08-25 21:40 UTC (permalink / raw)
To: Al Viro; +Cc: Linux Kernel Mailing List, Andrew Morton
On Sat, 25 Aug 2007, Al Viro wrote:
> On Sat, Aug 25, 2007 at 03:40:23PM -0400, Robert P. J. Day wrote:
> >
> > Allow RAMFS to be user-selectable, and to be built as a module.
> >
> > Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
> >
> > ---
> >
> > given that the help content for that option suggests it can be built
> > as a module, it just makes sense to make it selectable and tristate,
> > unless someone has a compelling argument against it.
>
> How about "check if the kernel builds if you do that"?
i did. i did a simple "make defconfig" and "make", and the kernel
built fine. that patch didn't change the status of RAMFS in any way,
it was still selected as default "y", so why would that patch have
made any difference to the eventual build?
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA
http://crashcourse.ca
========================================================================
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] FS: Make RAMFS both selectable and tristate.
2007-08-25 21:40 ` Robert P. J. Day
@ 2007-08-25 21:59 ` Al Viro
0 siblings, 0 replies; 5+ messages in thread
From: Al Viro @ 2007-08-25 21:59 UTC (permalink / raw)
To: Robert P. J. Day; +Cc: Linux Kernel Mailing List, Andrew Morton
On Sat, Aug 25, 2007 at 05:40:00PM -0400, Robert P. J. Day wrote:
> On Sat, 25 Aug 2007, Al Viro wrote:
>
> > On Sat, Aug 25, 2007 at 03:40:23PM -0400, Robert P. J. Day wrote:
> > >
> > > Allow RAMFS to be user-selectable, and to be built as a module.
> > >
> > > Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
> > >
> > > ---
> > >
> > > given that the help content for that option suggests it can be built
> > > as a module, it just makes sense to make it selectable and tristate,
> > > unless someone has a compelling argument against it.
> >
> > How about "check if the kernel builds if you do that"?
>
> i did. i did a simple "make defconfig" and "make", and the kernel
> built fine. that patch didn't change the status of RAMFS in any way,
> it was still selected as default "y", so why would that patch have
> made any difference to the eventual build?
Your patch allows to make it a module. That seems to be the only point of
your patch. So check if it builds when RAMFS is made "m" or "n".
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] FS: Make RAMFS both selectable and tristate.
2007-08-25 21:29 ` Al Viro
2007-08-25 21:40 ` Robert P. J. Day
@ 2007-08-25 21:43 ` Robert P. J. Day
1 sibling, 0 replies; 5+ messages in thread
From: Robert P. J. Day @ 2007-08-25 21:43 UTC (permalink / raw)
To: Al Viro; +Cc: Linux Kernel Mailing List, Andrew Morton
On Sat, 25 Aug 2007, Al Viro wrote:
> On Sat, Aug 25, 2007 at 03:40:23PM -0400, Robert P. J. Day wrote:
> >
> > Allow RAMFS to be user-selectable, and to be built as a module.
> >
> > Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
> >
> > ---
> >
> > given that the help content for that option suggests it can be built
> > as a module, it just makes sense to make it selectable and tristate,
> > unless someone has a compelling argument against it.
>
> How about "check if the kernel builds if you do that"?
ah, i see what you mean -- selecting it as a module. apparently,
then, the "help" text telling me "To compile this as a module, choose
M here: the module will be called ramfs." was overly optimistic.
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA
http://crashcourse.ca
========================================================================
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-08-25 21:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-25 19:40 [PATCH] FS: Make RAMFS both selectable and tristate Robert P. J. Day
2007-08-25 21:29 ` Al Viro
2007-08-25 21:40 ` Robert P. J. Day
2007-08-25 21:59 ` Al Viro
2007-08-25 21:43 ` Robert P. J. Day
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.