Solved

Disk space in blocks vr. megs

Posted on 1997-09-18
2
256 Views
Last Modified: 2013-12-15
Can someone please tell me how to translate megs into blocks? I am enabling quota on my system and the last step is figuring out how many blocks 45 megs is and how many blocks 50 megs is so I can limit my users to said amount of drive space. thank you very much !
0
Comment
Question by:lorenkia
2 Comments
 
LVL 4

Accepted Solution

by:
jlms earned 20 total points
ID: 1629890
1 block = 1024 bytes = 1 Kbyte (in Linux!)

blocks = Megabytes*1024

Examples:

45Mbytes*1024= 46080 blocks
50Mbytes*1024= 51200 blocks


0
 

Author Comment

by:lorenkia
ID: 1629891
Thank YOU !!! very Much!! **sigh** at last an answer I can work with LOL
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Currently, there is not an RPM package available under the RHEL/Fedora/CentOS distributions that gives you a quick and easy way to allow PHP to interface with Oracle. As a result, I have included a set of instructions on how to do this with minimal …
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now