From owner-FreeBSD-users-jp@jp.freebsd.org  Tue Feb  2 18:59:03 1999
Received: (from daemon@localhost)
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) id SAA09838;
	Tue, 2 Feb 1999 18:59:03 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from ns.takezo.co.jp ([210.161.118.162])
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) with SMTP id SAA09829
	for <FreeBSD-users-jp@jp.freebsd.org>; Tue, 2 Feb 1999 18:59:01 +0900 (JST)
	(envelope-from namaadmin@mail.takezo.co.jp)
Received: from pc-1.takezo.co.jp (unverified [210.161.118.167]) by ns.takezo.co.jp
 (EMWAC SMTPRS 0.83) with SMTP id <B0000022430@ns.takezo.co.jp>;
 Tue, 02 Feb 1999 18:58:56 +0900
Message-ID: <006001be4e93$3cca4300$a776a1d2@pc-1.takezo.co.jp>
From: "Hirose Takenori" <namaadmin@mail.takezo.co.jp>
To: <FreeBSD-users-jp@jp.freebsd.org>
Date: Tue, 2 Feb 1999 19:03:09 +0900
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-2022-jp"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+981115
X-Sequence: FreeBSD-users-jp 38301
Subject: [FreeBSD-users-jp 38301] RE: edquota
 =?ISO-2022-JP?B?GyRCJTMlXiVzJUkkSyREJCQkRhsoQg==?= 
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org
X-Originator: namaadmin@mail.takezo.co.jp

$BW"@%!w(BTAKEZO$B$G$9!#(B

$B$A$g$C$H!"%a!<%kFI$a$J$$4D6-$K$$$C$F$$$?$b$N$G!"(B
$B$*JV;vCY$l$^$7$F$9$_$^$;$s!#(B

df $B$NI8=`$O(B 1 block = 512 bytes $B$G$"$k$3$H$O!"$o$+$j$^$7$?!#(B
$B!J:YLn$5$s$"$j$,$H$&$4$6$$$^$7$?!#!K(B
$B$d$C$Q$jKM$_$?$$$K$*$+$@$5$s$b(Bedquota$B$GLB$o$l$?$h$&$G$9$M!#(B
$B3N$+$K!"$3$NJU$O!">pJs$,>/$J$$>e!"%;%-%e%j%F%#!<4X78$@$+$i(B
$B?5=E$K$J$j$^$9$h$M!#(B

$B0J2<;qNA(B

# df
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/wd0a      197743    13423   168501     7%    /
/dev/wd0s3e    992375    88656   824329    10%    /usr
/dev/wd0s4e    660391    12762   594798     2%    /var
procfs              4        4        0   100%    /proc

# ee /etc/login.conf

auth-defaults:\
        :auth=krb_skey_or_passwd,passwd,kerberos,skey:
---------------------$B!JCfN,!K(B-----------------------
#
# standard - standard user defaults
#
standard:\
        :copyright=/etc/COPYRIGHT:\
        :welcome=/etc/motd:\
        :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,EDITOR=/usr/bin/ee:\
        :path=~/bin /bin /usr/bin /usr/local/bin:\
        :manpath=/usr/share/man /usr/local/man:\
        :nologin=/etc/nologin:\
        :cputime=1h30m:\
        :datasize=8M:\
        :stacksize=2M:\
        :memorylocked=4M:\
        :memoryuse=8M:\
        :filesize=8M:\
        :coredumpsize=8M:\

# ee /etc/fstab
^[ (escape) menu  ^e search prompt  ^y delete line    ^u up     ^p prev page
^a ascii code     ^x search         ^z undelete line  ^d down   ^n next page
^b bottom of text ^g begin of line  ^w delete word    ^l left
^t top of text    ^o end of line    ^v undelete word  ^r right
^c command        ^k delete char    ^f undelete char      ESC-Enter: exit ee
============================================================================
===
# Device                Mountpoint      FStype  Options         Dump
Pass#
/dev/wd0s2b             none            swap    sw              0       0
/dev/wd0a               /               ufs     rw              1       1
/dev/wd0s3e             /usr            ufs     rw,userquota    2       2
/dev/wd0s4e             /var            ufs     rw              2       2
proc                    /proc           procfs  rw              0       0
/dev/wcd0c              /cdrom          cd9660  ro,noauto       0       0

file "/etc/fstab", 7 lines

# edquota -u test
edquota: warning: quotas are not compiled into this kernel

^[ (escape) menu  ^e search prompt  ^y delete line    ^u up     ^p prev page
^a ascii code     ^x search         ^z undelete line  ^d down   ^n next page
^b bottom of text ^g begin of line  ^w delete word    ^l left
^t top of text    ^o end of line    ^v undelete word  ^r right
^c command        ^k delete char    ^f undelete char      ESC-Enter: exit ee
============================================================================
===
Quotas for user test:
/usr: blocks in use: 2, limits (soft = 2, hard = 2)
        inodes in use: 2, limits (soft = 200, hard = 210)

file "/tmp/EdP.a03687", 3 lines

$B>e5-$N$h$&$K@_Dj$7$F$$$^$9!#(B
$B>e5-$N$h$&$J@_Dj$@$H!"(B2MB$B$G7Y9p$H(B2MB$B0J>e$N%U%!%$%k$N%"%C%W%m!<%I$,$G$-$J$$$h(B
$B$&$K(B
$B@_Dj$7$?$D$b$j$G$7$?!#$G$9$,!"M>M5$G(B2MB$B0J>e$N%"%C%W%m!<%I$,$G$-$F$7$^$$$^(B
$B$9!#(B
$BA4$/860x$,J,$+$i$J$$$N$G!"C/$+!"65$($F$$$?$@$1$^$;$s$G$7$g$&!)(B

$B#P#S!!(B/usr: blocks in use: 2, limits (soft = 2, hard = 2)
$B!!!!!!!!!!!!!!!!!!!!!!!!!!",$3$3$N(B2
        inodes in use: 2, limits (soft = 200, hard = 210)
$B!!!!!!!!!!!!!!!!!!!!!!",$3$3$N(B2
$B>e5-$N(B2$B$C$F2?$N$3$H$rI=$7$F$k$N$G$9$+!)(B

$BJ;$;$F$*4j$$$7$^$9!#(B

