Date: Mon, 23 May 2005 05:25:17 +0200 From: Dario Freni <saturnero@freesbie.org> To: freesbie@gufi.org Cc: freebsd-hackers@freebsd.org Subject: Behaviour of mount_unionfs Message-ID: <20050523032517.GM52714@cvs.freesbie.org>
next in thread | raw e-mail | index | archive | help
--hXth9cGL35Nvpk4x Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable cupa:/mnt/freesbie# ll total 4 drwxr-xr-x 2 root wheel 512 23 Mag 05:13 unionvar drwxr-xr-x 2 root wheel 512 23 Mag 05:13 var cupa:/mnt/freesbie# mdconfig -a -t vnode -f /usr/local/freesbieiso/uzip/var= =2Euzip md2 cupa:/mnt/freesbie# mount /dev/md2.uzips1a var cupa:/mnt/freesbie# ls -l var/ total 40 drwxrwxr-x 2 root operator 512 23 Mag 04:54 .snap drwxr-xr-x 2 root wheel 512 23 Mag 04:33 account drwxr-xr-x 4 root wheel 512 23 Mag 04:33 at drwxr-x--- 2 root wheel 512 23 Mag 04:33 backups drwxr-x--- 2 root wheel 512 23 Mag 04:33 crash drwxr-x--- 3 root wheel 512 23 Mag 04:33 cron drwxr-xr-x 6 root wheel 512 23 Mag 04:33 db dr-xr-xr-x 2 root wheel 512 23 Mag 04:33 empty drwxrwxr-x 2 root games 512 23 Mag 04:33 games drwx------ 2 root wheel 512 23 Mag 04:33 heimdal drwxr-xr-x 2 root wheel 512 23 Mag 04:33 log drwxrwxr-x 2 root mail 512 23 Mag 04:33 mail drwxr-xr-x 2 daemon wheel 512 23 Mag 04:33 msgs drwxr-xr-x 5 root wheel 512 23 Mag 04:33 named drwxr-xr-x 2 root wheel 512 23 Mag 04:33 preserve drwxr-xr-x 4 root wheel 512 23 Mag 04:48 run drwxrwxr-x 2 root daemon 512 23 Mag 04:33 rwho drwxr-xr-x 8 root wheel 512 23 Mag 04:33 spool drwxrwxrwt 3 root wheel 512 23 Mag 04:48 tmp drwxr-xr-x 2 root wheel 512 23 Mag 04:35 yp cupa:/mnt/freesbie# mdconfig -a -t malloc -o compress -s 16m md3 cupa:/mnt/freesbie# /sbin/newfs -U /dev/md3 /dev/md3: 16.0MB (32768 sectors) block size 16384, fragment size 2048 using 4 cylinder groups of 4.02MB, 257 blks, 576 inodes. with soft updates super-block backups (for fsck -b #) at: 160, 8384, 16608, 24832 cupa:/mnt/freesbie# mount /dev/md3 unionvar/ cupa:/mnt/freesbie# mount_unionfs unionvar/ var/ cupa:/mnt/freesbie# ls -l var/ total 40 drwxrwxr-x 4 root operator 512 23 Mag 05:14 .snap drwxr-xr-x 4 root wheel 512 23 Mag 05:15 account drwxr-xr-x 6 root wheel 512 23 Mag 05:15 at drwxr-xr-x 4 root wheel 512 23 Mag 05:15 backups drwxr-xr-x 4 root wheel 512 23 Mag 05:15 crash drwxr-xr-x 5 root wheel 512 23 Mag 05:15 cron drwxr-xr-x 8 root wheel 512 23 Mag 05:15 db drwxr-xr-x 4 root wheel 512 23 Mag 05:15 empty drwxr-xr-x 4 root wheel 512 23 Mag 05:15 games drwxr-xr-x 4 root wheel 512 23 Mag 05:15 heimdal drwxr-xr-x 4 root wheel 512 23 Mag 05:15 log drwxr-xr-x 4 root wheel 512 23 Mag 05:15 mail drwxr-xr-x 4 root wheel 512 23 Mag 05:15 msgs drwxr-xr-x 7 root wheel 512 23 Mag 05:15 named drwxr-xr-x 4 root wheel 512 23 Mag 05:15 preserve drwxr-xr-x 6 root wheel 512 23 Mag 05:15 run drwxr-xr-x 4 root wheel 512 23 Mag 05:15 rwho drwxr-xr-x 10 root wheel 512 23 Mag 05:15 spool drwxr-xr-x 5 root wheel 512 23 Mag 05:15 tmp drwxr-xr-x 4 root wheel 512 23 Mag 05:15 yp cupa:/mnt/freesbie# With unionfs we lost (again) every kind of permission. From the man page I cannot realize if this really is the expected behaviour. Bye, Dario --=20 Dario Freni (saturnero@freesbie.org) - satu on Azzurra FreeSBIE developer (http://www.freesbie.org) GPG Public key at http://www.saturnero.net/saturnero.asc --hXth9cGL35Nvpk4x Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCkU0cymi72IiShysRAusUAJwOy0d8VK4Q25aW/9048Z3t8nxioACeJdGo CBhbk6KOEYZ4m/Fi9jytVrE= =Amj9 -----END PGP SIGNATURE----- --hXth9cGL35Nvpk4x--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050523032517.GM52714>