Subject: Quotas on lfs partition
To: None <netbsd-users@netbsd.org>
From: Alexey Lebedev <lebedev@zhtw.org.ru>
List: netbsd-users
Date: 07/12/2007 10:39:58
--=-Kqz4qTQcgHhM8D35vP4O
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hello!

I'd like to use quotas on an lfs partition. I accidentally found that
quotactl() call supports both ffs and lfs filesystems so I expected
quotackeck to work as well. But it doesn't seem to:

avl@kl:~$ uname -a
NetBSD kl.zhtw.org.ru 3.1 NetBSD 3.1 (GENERIC.MP) #0: Tue Oct 31
04:42:38 UTC 2006
builds@b0.netbsd.org:/home/builds/ab/netbsd-3-1-RELEASE/i386/200610302053Z-=
obj/home/builds/ab/netbsd-3-1-RELEASE/src/sys/arch/i386/compile/GENERIC.MP =
i386
avl@kl:~$ cat /etc/fstab=20
/dev/wd0a / ffs rw 1 1
/dev/wd0b none swap sw 0 0
/dev/wd0e /usr lfs rw,userquota 1 2
/dev/wd0b /tmp mfs rw,-s=3D132048
kernfs /kern kernfs rw
procfs /proc procfs rw
avl@kl:~$ sudo quotacheck /usr
Password:
/usr not found in /etc/fstab

Any ides how to fix that?

Thanks, Alexey Lebedev.

--=-Kqz4qTQcgHhM8D35vP4O
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQBGlcy8zFXYGA7bWtARAlTuAJwLARsp2coNC7s4mKUHd1YLFk8MvQCfQISo
QJ/KPIO7Kcm33PEeYZq2Zpk=
=wkS7
-----END PGP SIGNATURE-----

--=-Kqz4qTQcgHhM8D35vP4O--