Hozzászólások
Quotat szeretnek belalitani. Elkeszitettem a kovetkezo scriptet. Az a kerdesem, hogy hova kell berakni, ahhoz hogy mukodjon a quota??
Ugyanis azt olvastam, hogy azelott kell lefusson mielott a merevlemez mountolodna....
En beraktam az /etc/rc.d/rs.S -be de sajnos nem mukodott
# Ellenõrizd a quota-t és kapcsold is be/Check quota and then turn quota on.
if [ -x /usr/sbin/quotacheck ]
then
echo "Ellenõrzöm a quotát./Checking quotas. This may take some time."
/usr/sbin/quotacheck -avug
echo " Kész/Done."
fi
if [ -x /usr/sbin/quotaon ]
then
echo "Bekapcsolom a quota-t./Turning on quota."
/usr/sbin/quotaon -avug
- A hozzászóláshoz be kell jelentkezni
A slack-ben benne van a quota support. csak az /etc/fstab kell editálni, majd reboot. Nekem is volt, csak most mar nincs ra szuksegem.
- A hozzászóláshoz be kell jelentkezni
[quote:e611dd9b72="Anonymous"]A slack-ben benne van a quota support. csak az /etc/fstab kell editálni, majd reboot.
ott van az rc.M-ben:
[code:1:e611dd9b72]# Slackware-Mini-Quota-HOWTO:
# To really activate quotas, you'll need to add 'usrquota' to the appropriate
# partitions as listed in /etc/fstab. Here's an example:
# /dev/hda2 /home ext2 defaults,usrquota 1 1
# You'll then need to setup initial quota files at the top of the partitions
# to support quota, like this:
# touch /home/quota.user /home/quota.group
# chmod 600 /home/quota.user /home/quota.group
# Then, reboot to activate the system.
# To edit user quotas, use 'edquota'. See 'man edquota'. Also, the
# official Quota Mini-HOWTO has lots of useful information. That can be found
# here: /usr/doc/Linux-mini-HOWTOs/Quota
[/code:1:e611dd9b72]
- A hozzászóláshoz be kell jelentkezni