mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [patch 0/7] vfs: mountinfo (v4)
       [not found] <abZpb-4D2-3@gated-at.bofh.it>
@ 2008-03-27 14:10 ` Bodo Eggert
  2008-03-27 14:42   ` Miklos Szeredi
  0 siblings, 1 reply; 3+ messages in thread
From: Bodo Eggert @ 2008-03-27 14:10 UTC (permalink / raw)
  To: Miklos Szeredi, viro, akpm, linuxram, linux-fsdevel, linux-kernel

Miklos Szeredi <miklos@szeredi.hu> wrote:

> Another update that fixes Al's latest comments:
> 
>  - the per-sb options are merged into the fs-specific options
>  - mount source is shown as a separate field (because commas are not
>    escaped within it)
>  - group id checking before allocation/freeing: this one doesn't
>    actually make a difference for the moment (I hope) but Al's variant
>    is cleaner
>  - simplify ID allocation and freeing
>  - dominator renaming
>  - function header comment updating

Is it robust against mounting /dev/$'abc def\x0dghi'
to ~/mnt/`perl -e 'print "a" x 4050'`?

Besides that, I don't like having 'none' as the mount source. Instead, I
like to e.g. mount proc /proc -t proc, this will put the important
information into the first column of the mount(1) output, right where I
start reading.



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

* Re: [patch 0/7] vfs: mountinfo (v4)
  2008-03-27 14:10 ` [patch 0/7] vfs: mountinfo (v4) Bodo Eggert
@ 2008-03-27 14:42   ` Miklos Szeredi
  0 siblings, 0 replies; 3+ messages in thread
From: Miklos Szeredi @ 2008-03-27 14:42 UTC (permalink / raw)
  To: 7eggert; +Cc: miklos, viro, akpm, linuxram, linux-fsdevel, linux-kernel

> > Another update that fixes Al's latest comments:
> > 
> >  - the per-sb options are merged into the fs-specific options
> >  - mount source is shown as a separate field (because commas are not
> >    escaped within it)
> >  - group id checking before allocation/freeing: this one doesn't
> >    actually make a difference for the moment (I hope) but Al's variant
> >    is cleaner
> >  - simplify ID allocation and freeing
> >  - dominator renaming
> >  - function header comment updating
> 
> Is it robust against mounting /dev/$'abc def\x0dghi'
> to ~/mnt/`perl -e 'print "a" x 4050'`?

It is.

> Besides that, I don't like having 'none' as the mount source. Instead, I
> like to e.g. mount proc /proc -t proc, this will put the important
> information into the first column of the mount(1) output, right where I
> start reading.

So do that, this patch doesn't force you to put 'none' in there.

Miklos

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

* [patch 0/7] vfs: mountinfo (v4)
@ 2008-03-27 12:06 Miklos Szeredi
  0 siblings, 0 replies; 3+ messages in thread
From: Miklos Szeredi @ 2008-03-27 12:06 UTC (permalink / raw)
  To: viro; +Cc: akpm, linuxram, linux-fsdevel, linux-kernel

Another update that fixes Al's latest comments:

 - the per-sb options are merged into the fs-specific options
 - mount source is shown as a separate field (because commas are not
   escaped within it)
 - group id checking before allocation/freeing: this one doesn't
   actually make a difference for the moment (I hope) but Al's variant
   is cleaner
 - simplify ID allocation and freeing
 - dominator renaming
 - function header comment updating

Updated the git tree:

  git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git mountinfo

I suspect it doesn't work for -mm, because it's not based on -linus
directly, but on the mountinfo-base branch in the vfs-2.6.git tree.

Andrew, I'm happy that you applied the patches, but if it's the
slightest inconvenience to deal with them, just leave it.  It'll get
there through the vfs-2.6 tree anyway.

Thanks,
Miklos

--

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

end of thread, other threads:[~2008-03-27 14:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <abZpb-4D2-3@gated-at.bofh.it>
2008-03-27 14:10 ` [patch 0/7] vfs: mountinfo (v4) Bodo Eggert
2008-03-27 14:42   ` Miklos Szeredi
2008-03-27 12:06 Miklos Szeredi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®