Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: QUOTA


  • Subject: Re: lug-bg: QUOTA
  • From: gf@xxxxxxxxx (Georgi Chorbadzhiyski)
  • Date: Mon, 11 Jun 2001 12:51:26 +0300



Tova go imash vav /etc/rc.d/rc.M, ako go niamash si
drapni sysvinit.tgz ot slackslare-current ili 7.1

# 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:  ftp://ftp.slackware.com/pub/slackware/docs/Linux-mini-HOWTO/Quota

# Check quotas and then turn quota system on:
if fgrep quota /etc/fstab 1> /dev/null 2> /dev/null ; then
  if [ -x /sbin/quotacheck ]; then
    echo "Checking filesystem quotas:  /sbin/quotacheck -avug"
    /sbin/quotacheck -avug
  fi
  if [ -x /sbin/quotaon ]; then
    echo "Activating filesystem quotas:  /sbin/quotaon -avug"
    /sbin/quotaon -avug
  fi
fi

Marian Popov wrote:
> 
>  Zdraveite vsichki.
> 
> Ot niakolko dni se opitvam da razbera kak da sloja quota na userite.
> Prochetoh pochti vsichki manuals i neshto ne mojah da razbera.
> Navsiakyde pishe che triabva da imam failove s imena quota.user i
> quota.group no az gi niamam a i ne znam ako gi syzdam kakvo da pisha v
> tiah i kyde da gi sloja.
> 
>  Ako niakoi ot vas moje da mi predostavi informacia otnosto tozi moi
> problem shte mu byda mnogo blagodaren.
> 
>  BTW iskam da kaja che izpolzvam Slackware 7.1 i direktoriata na userite
> /home e otdelen partition, v koito e mount-nat oshte edin partition v
> /home/ftp/pub za ftp-to i ne iskam quotata da vliae i na ftp-to :))


-- 
Georgi Chorbadzhiyski
System Administrator
top.bg
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora



  • Относно:
    • lug-bg: QUOTA
      • Изпратено от: mano@xxxxxxxxxxxxx (Marian Popov)

 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.