Subject: bin/36708: quotacheck doesn't work with lfs partition
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <alexey@zhtw.org.ru>
List: netbsd-bugs
Date: 07/30/2007 16:10:01
>Number:         36708
>Category:       bin
>Synopsis:       quotacheck doesn't work with lfs partition
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 30 16:10:01 +0000 2007
>Originator:     alexey@zhtw.org.ru
>Release:        NetBSD 3.1
>Organization:
	
>Environment:
	
	
System: 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
Architecture: i386
Machine: i386
>Description:
	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
	/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=132048
	kernfs /kern kernfs rw
	procfs /proc procfs rw
	avl@kl:~$ sudo quotacheck /usr
	Password:
	/usr not found in /etc/fstab
>How-To-Repeat:
	See description.
>Fix:
	

>Unformatted: