help : mount of root /
1 Attachment(s)
========================================
I run a little script that prints the available space for file system: Code:
#!/usr/bin/perl5 ======================================== The result is: ... /dev,/var/run,/boot,'/' at /dev, available bits = 1028820992 at /var/run, available bits = 1028730880 at /boot, available bits = at /, available bits = ======================================== I then type command "df -a" and get: Code:
Filesystem 1K-blocks Used Available Use% Mounted on I then run "gparted" and get the picture as attached. It shows /dev/sda3 is mounted to '/'. ======================================== The thing I do not understand is: Why cannot perl script tell the available size of "/"? Why doesnot df command show "/" as a mount point while gparted correctly shows that? I tried to mount /dev/sda3 to '/' but it says it already exists. My system is ubuntu server. Can someone help me? Thanks. |
I'm just taking a guess, but do you have to escape the / ?
|
All times are GMT -5. The time now is 03:44 PM. |