lkml.org 
[lkml]   [2008]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch 4/6] vfs: mountinfo show dominating group id
From
Date
> >  Makes reliable parsing of
> > the damn thing in userland impossible. IOW, fs options should go _last_
> > and they should follow an unconditionally present field.
>
> But then we lose the ability to later extend the format by adding
> fields at the end. Which is one of the things that would be nice to
> have, in contrast to /proc/mounts, which we are so afraid to touch now.
>
> So maybe some alternative, multi line format would be better?
>
> MountID: 99
> ParentID: 88
> DevID: 0:34
> Type: foofs
> Source: /dev/foo
> Root: /
> MountPoint: /mnt/foo
> MountOpts: rw,noatime
> Opts: rw,errors=continue
> Propagation: shared:42

Which still doesn't fully solve the problem, since ->show_options()
can also spew newlines + MountID:. Oh well.

Miklos


\
 
 \ /
  Last update: 2008-03-20 01:21    [W:0.068 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site