All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC]swapfso and "ioctl" function for filesystems
@ 2008-09-03  9:42 phcoder
  2008-09-03 10:31 ` Robert Millan
  0 siblings, 1 reply; 7+ messages in thread
From: phcoder @ 2008-09-03  9:42 UTC (permalink / raw)
  To: The development of GRUB 2

Hello, all.
For some FS sometimes additional functions are needed. It could be some
type of control (e.g. in ZFS manage zpools) or preparation for OS
booting (e.g. in FAT put IO.SYS and MSDOS.SYS at the begining of the
root directory). While theese functions are quite specific to FS
sometimes are important to implement. So I suggest to add to grub_fs a
pointer to an array in which fs module can put custom functions.
Also in many filesystems it's quite difficult to add a new file or
remove already existing one it's often quite easy to exchange 2 files or
directories. So I intend to implement a call "swapfso" (FSO=File System
Object) at least for fat and ext2. Such a call could be useful to have
multiple OS on the same partition or to have multiple configurations of
the same OS (e.g. normal and backup). Then I think to have this function
in this extended list (even if this function can be implemented for more
FS) unless maintainers suggest that such function should be a part of
grub_fs. In this case a good idea would be to have 2 modules for
fat,ext2,...: one with swapfso and one without for core image.
Vladimir 'phcoder' Serbinenko



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-09-07  0:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-03  9:42 [RFC]swapfso and "ioctl" function for filesystems phcoder
2008-09-03 10:31 ` Robert Millan
2008-09-03 12:25   ` phcoder
2008-09-04 19:26     ` Robert Millan
2008-09-04 21:27       ` phcoder
2008-09-05  9:56         ` Robert Millan
2008-09-07  0:11           ` phcoder

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.