[lkml]   [2001]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Linux 2.4.2ac12

On Mon, 5 Mar 2001, Alan Cox wrote:

> o Fix binfmt_misc (and make the proc handling (Al Viro)
> |a filesystem -
> |mount -t binfmt_misc none /proc/sys/fs/binfmt_misc

One comment: probably the best way to maintain backwards compatibility
for people who used binfmt_misc as a module would be the following:

post-install binfmt_misc /bin/mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
pre-remove binfmt_misc /bin/umount /proc/sys/fs/binfmt_misc

in the /etc/modules.conf. Then insmod binfmt_misc and rmmod binfmt_misc
will have the same effect as they used to do.

However, the Right Thing(tm) is
a) let mount do insmod (not the other way round)
b) use less idiotic mountpoint (binfmt_misc is sysctl-related, so it
got no business being under /proc/sys).

BTW, the new code in fs/binfmt_misc.c can be considered as a demo on how to turn
drivers into filesystems...

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:29    [W:0.073 / U:3.372 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site