LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-08-2006, 03:48 AM   #1
venki
Member
 
Registered: Sep 2006
Location: India
Distribution: suse10.2
Posts: 128

Rep: Reputation: 15
warning more than 100mb plz


Hi all,

my problem is...

there is 10mb folder ..if i add any more file to it ..it should give waring or poup message!! that is maximum it has to accept only 10mb!!
is it possible..

plz help me
 
Old 12-08-2006, 04:07 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
yeah you need to give a lot more information than that...

maybe chekc out gam or quota?
 
Old 12-08-2006, 04:21 AM   #3
venki
Member
 
Registered: Sep 2006
Location: India
Distribution: suse10.2
Posts: 128

Original Poster
Rep: Reputation: 15
thks sir, thks a lot for quick reply

Sir i am giving you description.

there is a folder in /home/nagesh/php/ bu using du i find that it is 33mb..

now if i add some file in to that ....it shld give me warning message or popup message stating that...

its maximum size is 33mb ..u cannot add more files in to this...

is this possible...

this is big task for me...

plz plz help......
 
Old 12-08-2006, 05:51 AM   #4
venki
Member
 
Registered: Sep 2006
Location: India
Distribution: suse10.2
Posts: 128

Original Poster
Rep: Reputation: 15
exceeding the folder size

Hi all ...

there is a folder in /home/nagesh/php/ but using du i find that it is 33mb..

now if i add some file in to that ....it shld give me warning message or popup message stating that...

its maximum size is 33mb ..u cannot add more files in to this...

is this possible...

this is big task for me...

plz plz help......
____________
 
Old 12-08-2006, 09:32 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
du tells you the disk space used by a file or folder---this is a larger number that the actual file sizes.

did you mean that you got an error message--or you think that you SHOULD get an error message?

I don't think there is a maximum size of a folder--until you run out of disk space or maybe inodes.
 
Old 12-08-2006, 09:43 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by venki
thks sir, thks a lot for quick reply

Sir i am giving you description.

there is a folder in /home/nagesh/php/ bu using du i find that it is 33mb..

now if i add some file in to that ....it shld give me warning message or popup message stating that...

its maximum size is 33mb ..u cannot add more files in to this...

is this possible...

this is big task for me...

plz plz help......
Duplicate thread---see my answer in the other one
 
Old 12-08-2006, 03:19 PM   #7
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Two threads by venki have been merged into one.

If you have quota set up, you get an error when trying to copy with not enough space.
 
Old 12-09-2006, 01:28 AM   #8
venki
Member
 
Registered: Sep 2006
Location: India
Distribution: suse10.2
Posts: 128

Original Poster
Rep: Reputation: 15
HI all, this is my /etc/fstab file

/dev/hda1 / reiserfs acl,user_xattr 1 1
/dev/hda5 /cytrion-station6 reiserfs acl,user_xattr 1 2
/dev/hda2 swap swap defaults 0 0
/swapfile none swap sw 0 0

proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0...............


my doubt is can i restict the folder size in my home directory??
i.e, /home/nagesh/php file is of 33mb can i restrict it!! by using quotas??

i am using suse10.1..i am very new..i done some changes in /etc/fstab ....whn i use mount -a...it is showing errors??
so i kept the old file...

plz help..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NIC inits at 100MB; won't at 1GB w/o first plugging in 100MB cable! JMCraig Linux - Hardware 3 01-17-2006 07:50 PM
HP J2585B at 100Mb? ldieter Linux - Networking 2 11-21-2004 12:32 PM
Multiple 100mb pipes on 100mb switches DLinkOZ Linux - Networking 2 10-22-2003 12:35 PM
10Mb/s and 100Mb/s on same network plisken General 2 05-07-2003 11:28 AM


All times are GMT -5. The time now is 02:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration