From: "Peter V.Saveliev" <peet@infosite.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] ReiserFS
Date: Fri Dec 28 14:47:03 2001
Message-ID: <20011228145237.24decfb8.peet@infosite.ru> (raw)
In-Reply-To: <1009534935.7098.2.camel@alexey.wolf.ru>
On 28 Dec 2001 13:22:15 +0300
"alex" <bee@fbm.msu.ru> wrote:
> Здравствуйте!
>
> Можно ли прикрутить квоты к ReiserFS?
> Ядро 2.4.17-smp-alt1
> Если вдруг можно, то какие пакеты ставить и с какими опциями монтировать
> fs?
Универсальный механизм квотирования, хотя и самый приблудный:
# dd if=/dev/zero of=/home/quoted/user_1 bs=1M count=10
# losetup -e none /dev/loop0 /home/quoted/user_1
# mkfs.ext2 /dev/loop0
# losetup -d /dev/loop0
# echo -e "/home/quoted/user_1\t/home/user_1 ext2\tuser,nodev,noexec\t0\t0\n" >> /etc/fstab
# adduser user_1
# passwd user_1
# echo -e "/bin/mount $HOME\tcd" >> /home/user_1/.bashrc
Вот такая комбинация из лихого свиста и пляски с бубном дает квоту на 10 метров юзеру user_1.
Недостатки такого способа очевидны, также, как и достоинства.
Петр.
prev parent reply other threads:[~2001-12-28 14:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-28 13:08 alex
2001-12-28 14:47 ` Peter V.Saveliev [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011228145237.24decfb8.peet@infosite.ru \
--to=peet@infosite.ru \
--cc=mandrake-russian@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git