Re: [Vserver] Script testfs.sh on Reiser3

From: Michael S. Zick <mszick_at_morethan.org>
Date: Mon 19 Dec 2005 - 14:50:20 GMT
Message-Id: <200512190850.20937.mszick@morethan.org>

On Mon December 19 2005 07:06, Michael S. Zick wrote:
> On Sun December 18 2005 21:39, Herbert Poetzl wrote:
> >
> - - - - -
> >
> > > PS: anyone tried this on reiser4?
> >
> > PS: did it get into to the kernel yet?
> >
> It is in Linux-2.6.14-mm2 but it is
> still only a namesys.com patch for plain Linux-2.6.14
> Which applies cleanly to Linux-2.6.14+Vserver-2.0.1
>
Sort of works - Just enough to mislead someone.

The Vserver utils...

wolf466:/mnt# showattr dir_one
---bui- dir_one

wolf466:/mnt# setattr --barrier dir_one
wolf466:/mnt# showattr dir_one
---Bui- dir_one

But the stock extended attributes and acl functions
are not yet included. Meaning that when they are
incorporated, you will probably wipe out any of
the Vserver bits.

wolf466:/mnt# chattr +d dir_one
chattr: Inappropriate ioctl for device while reading flags on dir_one

wolf466:/mnt# lsattr dir_one
wolf466:/mnt#
- - - neither error message nor display of attributes - - -

And the ACL functions:

wolf466:/mnt# getfacl dir_one
# file: dir_one
# owner: root
# group: root
user::rwx
group::r-x
other::---

wolf466:/mnt# setfacl -d -m g:mszick:-x dir_one
setfacl: dir_one: Operation not supported

But the make filesystem command for Reiser4 will tell you
what is built-in:
(If you presume "permission" == "extended attributes")

wolf466:mkfs# ./mkfs.reiser4 -p /dev/loop0
/Builds/BLDS/reiser4progs-1.0.5/progs/mkfs/.libs/lt-mkfs.reiser4 1.0.5
Copyright (C) 2001, 2002, 2003, 2004 by Hans Reiser, licensing governed by reiser4progs/COPYING.

Default profiles:
format: "format40" (id:0x0 type:0x8)
journal: "journal40" (id:0x0 type:0xf)
oid: "oid40" (id:0x0 type:0x9)
alloc: "alloc40" (id:0x0 type:0xe)
key: "key_large" (id:0x1 type:0x10)
node: "node40" (id:0x0 type:0x2)
statdata: "stat40" (id:0x0 type:0x1)
nodeptr: "nodeptr40" (id:0x3 type:0x1)
direntry: "cde40" (id:0x2 type:0x1)
tail: "plain40" (id:0x6 type:0x1)
extent: "extent40" (id:0x5 type:0x1)
acl: "absent (id:0x4 type:0x1)"
permission: "absent (id:0x0 type:0x6)"
regular: "reg40" (id:0x0 type:0x0)
directory: "dir40" (id:0x1 type:0x0)
symlink: "sym40" (id:0x2 type:0x0)
special: "spl40" (id:0x3 type:0x0)
hash: "r5_hash" (id:0x1 type:0x3)
fibration: "ext_1_fibre" (id:0x2 type:0x4)
formatting: "smart" (id:0x2 type:0x5)

Block size 4096 will be used.
Linux 2.6.14-vs2-r4 is detected.
Uuid 888f553a-78a8-4565-aa48-aad2dddcd2d6 will be used.
Reiser4 is going to be created on /dev/loop0.
(Yes/No): no

- - - -
I guess that makes it official for the current version.

Mike

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Mon Dec 19 14:51:01 2005

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 19 Dec 2005 - 14:51:06 GMT by hypermail 2.1.8