Posted on 2001-06-14
I am using FreeBSD and would like to know exactly how much free space I have on my hard drive at any given time. If I do a DF, this is what I get:
/dev/ad0s1a 49583 27912 17705 61% /
/dev/ad0s1f 3877828 248293 3319309 7% /usr
/dev/ad0s1e 19815 1618 16612 9% /var
procfs 4 4 0 100% /proc
Is this in Bytes? I believe I have a 4 GIG or a 3 GIG Drive in this machine. Is there a way to tell how much free space in MB I have left? Kinda like windows chkdsk?
I would also like to know if there is a way I can specify a username not to go back in a folder. For instance, If I setup username blah on my server, Is there a way I can tell ONLY that user has access ONLY to the /usr/home/blah folder and nothing below that subdirectory?