Re: [patch 01/26] mount options: add documentation

2008-01-30 Thread Karel Zak
patch mount(8) needn't to maintain info about loops and umount(8) doesn't need to call LOOP_CLR_FD ioctl, because umount(2) is enough. Karel -- Karel Zak <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [patch] VFS: extend /proc/mounts

2008-01-17 Thread Karel Zak
7;s impossible to check the result. Exactly. Karel -- Karel Zak <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [patch] VFS: extend /proc/mounts

2008-01-16 Thread Karel Zak
of home-made > /proc/mounts parsers and we don't know what they do. So, let's use /proc/mounts_v2 ;-) Karel -- Karel Zak <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

[ANNOUNCE] util-linux-ng 2.13.1 (stable)

2008-01-16 Thread Karel Zak
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.13/ blockdev: - add --getsz to blockdev.8 [Karel Zak] - add missing description about option --report in manpage [Li Zefan] build-sys: - fix localedir (unsupported by autoconf < 2.60) [Karel Zak] - nls/locale handling in util-linux-ng

Re: [patch 5/9] unprivileged mounts: allow unprivileged bind mounts

2008-01-09 Thread Karel Zak
%s not a mount point", spec); break; case EMFILE: error ("mount table full"); break; case EIO: error ("mount: %s: can't read superblock", spec); break; case ENODEV: error ("mount: fs type %s not supported by kernel", type); break

Re: [patch 6/9] unprivileged mounts: allow unprivileged mounts

2008-01-09 Thread Karel Zak
very subjective and it depends on your level of paranoia. There should be a way (e.g. /proc) how control and modify the list of "safe" filesystems. For example I have no problem to mark cifs as "safe" for my home server. Karel -- Karel Zak <[EMAIL PROTECTED]>

Re: [ANNOUNCE] util-linux-ng 2.13.1-rc2

2008-01-06 Thread Karel Zak
On Sat, Jan 05, 2008 at 01:31:21AM -0800, Andrew Morton wrote: > On Wed, 2 Jan 2008 22:10:52 +0100 Karel Zak <[EMAIL PROTECTED]> wrote: > > > > > > > The second util-linux-ng 2.13.1 release candidate is available at > > > > ftp://ft

[ANNOUNCE] util-linux-ng 2.13.1-rc2

2008-01-02 Thread Karel Zak
: -- blockdev: - add --getsz to blockdev.8 [Karel Zak] build-sys: - release++ (-rc2) [Karel Zak] - remove hardcoded _GNU_SOURCE [Karel Zak] docs: - add note about incorrect tag 2.13.1 [Karel Zak] - update AUTHORS file, add all translators [Karel Zak] - update ReleaseNotes [Karel Zak

[ANNOUNCE] util-linux-ng 2.13.1-rc1

2007-11-13 Thread Karel Zak
ckdev: - add missing description about option --report in manpage [Li Zefan] build-sys: - fix localedir (unsupported by autoconf < 2.60) [Karel Zak] - nls/locale handling in util-linux-ng general [Mike Frysinger] - remove files that are no longer delivered from git [LaMont Jones] cal:

[ANNOUNCE] util-linux-ng 2.13.0.1

2007-10-22 Thread Karel Zak
For more details see ChangeLog files at: ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.13/ docs: - add info about .bugfix releases and branches [Karel Zak] mount: - doesn't drop privileges properly when calling helpers [Ludwig Nussel] -- Karel Zak <[EMAIL PRO

[ANNOUNCE] util-linux-ng 2.13 (stable)

2007-08-27 Thread Karel Zak
skipped Changelog: - For more details see ChangeLog files at: ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.13/ agetty: - 8 bit characters on the Linux console lead to input corruption [Samuel Thibault] - add 'O' escape code to display doma

Re: request for patches: showing mount options

2007-07-31 Thread Karel Zak
tems and request for patches is bad thing. The /proc/mounts has to provide complete information at least about kernel mount options. Karel -- Karel Zak <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a messag

Re: [ANNOUNCE] util-linux-ng 2.13-rc1

2007-07-05 Thread Karel Zak
On Thu, Jul 05, 2007 at 12:41:59PM -0400, Mike Frysinger wrote: > On Wednesday 04 July 2007, Christoph Hellwig wrote: > > On Wed, Jul 04, 2007 at 12:11:56AM +0200, Karel Zak wrote: > > > mount(8) doesn't include filesystem detection code anymore. You > > > have

[ANNOUNCE] util-linux-ng 2.13-rc1

2007-07-03 Thread Karel Zak
that checks for {HAVE,ENABLE}_ orphans vipw: fix permissions (600->400) for edited /etc/[g]shodow files wall: fix O_NONBLOCK usage misc: Clean up pagesize/PAGE_SIZE usage. clean up realpath.[ch] includes and macros execl() should be use NULL not 0 -- Karel Zak <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [RFC PATCH 1/1] VFS: Augment /proc/mount with subroot and shared-subtree

2007-06-26 Thread Karel Zak
1208c08 devpts /dev/pts devpts rw 0 0 PRIVATE c1108c18 a:/ c1208c08 /dev/root /mnt ext2 rw 0 0 SHARED:c1e08cb0 c1e08cb0 6200:/mnt c1208c08 /dev/root /var ext2 rw 0 0 SHARED:c1f08c28,SLAVE:c1e08cb0 c1f08c28 6200:/mnt/1 c1208c08 Karel -- Karel Zak <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Adding subroot information to /proc/mounts, or obtaining that through other means

2007-06-20 Thread Karel Zak
o this file? mountpoint + ID + relative path + type + options + propagation-flag + {peer,master}-mount-id / 0xa917800 / ext3 rw PRIVATE /mnt 0xa917100 / ext3 rw SHARED peer:0xa917100 /tmp 0xa917f00 /1 ext3 rw SLAVE master:0xa917100 Karel -- Karel Zak <[EMAIL PROTECTED]> - To unsubscribe

Re: Adding subroot information to /proc/mounts, or obtaining that through other means

2007-06-20 Thread Karel Zak
that might confuse current utilities, those utilities are > *already* liable to get confused by the fact that the line doesn't mean > what they think it means. Many people use "ln -s /proc/mounts /etc/mtab". Karel -- Karel Zak <[EMAIL PROTECTED]> - To unsubscrib

Re: [RFC] obsoleting /etc/mtab

2007-06-01 Thread Karel Zak
On Fri, Jun 01, 2007 at 11:53:13AM +0200, Miklos Szeredi wrote: > > On Fri, Jun 01, 2007 at 09:49:05AM +0100, Christoph Hellwig wrote: > > > On Fri, Jun 01, 2007 at 10:33:09AM +0200, Karel Zak wrote: > > > > The core of the problem is that HAL doesn't have entrie

Re: [RFC] obsoleting /etc/mtab

2007-06-01 Thread Karel Zak
On Fri, Jun 01, 2007 at 09:49:05AM +0100, Christoph Hellwig wrote: > On Fri, Jun 01, 2007 at 10:33:09AM +0200, Karel Zak wrote: > > The core of the problem is that HAL doesn't have entries in > > /etc/fstab, so you cannot check for "user=" and "users="

Re: [RFC] obsoleting /etc/mtab

2007-06-01 Thread Karel Zak
unt option: "uopts=...", which would contain > userspace options separated by ";" or whatever. Then the kernel could > be taught to store this option verbatim and show it in /proc/mounts > along with the kernel options. Yes, something like "uopts=..." is my wis

Re: [RFC] obsoleting /etc/mtab

2007-06-01 Thread Karel Zak
> > http://client.linux-nfs.org/Linux-2.6.x/2.6.22-rc3/ :-) > NFS takes a binary option block anyway. However, that's the exception, > not the rule. I'm not sure, but I think that cifs and ncpfs (NetWare) are exceptions too. Karel -- Karel Zak <[EMAIL PR

Re: [RFC] obsoleting /etc/mtab

2007-05-31 Thread Karel Zak
e fixed -- the kernel has to fully follow mount(2) or ends with EINVAL. Karel -- Karel Zak <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [RFC] obsoleting /etc/mtab

2007-05-31 Thread Karel Zak
o the mount(8) and this patch also add new options to the mtab file. I can imagine more scenarios when userspace specific options are good thing. > [1] http://lkml.org/lkml/2007/4/27/180 The patches have been postponed by Andrew, right? Or is it already in -mm? Karel -- Karel

Re: [PATCH 08/13] NFS: Add functions to parse nfs mount options to fs/nfs/super.c

2007-05-29 Thread Karel Zak
On Tue, May 29, 2007 at 05:08:01PM -0400, Chuck Lever wrote: > Karel Zak wrote: > >On Mon, May 21, 2007 at 12:09:54PM -0400, Chuck Lever wrote: > >>For NFSv2 and NFSv3 mount options. > >>Signed-off-by: Chuck Lever <[EMAIL PROTECTED]> > > > > &g

Re: [PATCH 08/13] NFS: Add functions to parse nfs mount options to fs/nfs/super.c

2007-05-29 Thread Karel Zak
version (nfs-utils) of this code supports a quoted context strings. For example: context="aaa,bbb,ccc",hard It seems your code blindly parses a raw option string by ",". Karel -- Karel Zak <[EMAIL PROTECTED]> - To unsubscribe from this list: send the

Re: [patch 0/8] mount ownership and unprivileged mount syscall (v4)

2007-04-25 Thread Karel Zak
makes mtab more and more obsolete :-). Karel > > Miklos > - > To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in > the body of a message to [EMAIL PROTECTED] > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Kare

Re: [patch 0/8] mount ownership and unprivileged mount syscall (v4)

2007-04-24 Thread Karel Zak
serspace "user=" solution also implies the "noexec" option by default (you can override the default by "exec" option). It means the kernel based solution is not fully compatible ;-( Karel -- Karel Zak <[EMAIL PROTECTED]> Red Hat Czech s.r.o. Purkynov

Re: How to query mount propagation state?

2007-04-16 Thread Karel Zak
peer:0xa917900 Same thing (although the mounts_propagation makes more sense than mount_new from my point of view). cat /proc/mounts (or /proc/$$/mounts) /dev/root /mnt ext2 rw,mid=0xa917100,did=0x6210,prop=SHARED,peer=0xa917100 my $0.02... Karel -- Karel Zak <[EMAIL PROTECTED

Re: [patch 0/8] unprivileged mount syscall

2007-04-13 Thread Karel Zak
cesses. But my guess is, that the natural > behavior for users is to see a persistent set of mounts. > > If for example they mount something on a remote machine, then log out > from the ssh session and later log back in, they would want to see > their previous mount still there. They

Re: [patch 0/8] unprivileged mount syscall

2007-04-10 Thread Karel Zak
know the status off upstream util-linux. I did > submit the patch many times to Adrian Bunk (the then util-linux > maintainer) and got no response. I have not pushed the patches to the > new maintainer(Karel Zak?) though. The "shared-subtree" patch has been applied:

[ANNOUNCE] util-linux-ng

2006-12-18 Thread Karel Zak
ins previous 47 versions of util-linux.] The mailing list or my private e-mail are open for your patches, ideas and suggestion. The mailing list is also place where you can help us review patches. Karel -- Karel Zak <[EMAIL PROTECTED]> - To unsubscribe from this list: send

Re: Relative atime (was Re: What's in ocfs2.git)

2006-12-12 Thread Karel Zak
; mtime or ctime. Like noatime, but useful for applications like mutt > that need to know when a file has been read since it was last > modified. > > Cc: Adrian Bunk <[EMAIL PROTECTED]> > Cc: Al Viro <[EMAIL PROTECTED]> > Cc: Karel Zak <[EMAIL PROTECTED]> > > Sig