[brlug-general] [SAGE] df breaks scripts
willhill
williamhill2 at cox.net
Mon Feb 4 14:55:03 CST 2008
People who shortened device to dev might not think
that "/dev/mapper/VolGroup00-LogVol00" is a sane device name.
Have you looked at perl's Filesys::DiskSpace? I ran into it here:
http://www.cyberciti.biz/tips/howto-write-perl-script-to-monitor-disk-space.html
A similar dissaster happened to g77, where the print output was automatically
line broken to 80 columns. This broke every loop formated code. I'm not
sure how that one turned out because I've done everything in C since.
On Monday 04 February 2008 10:43 am, Dustin Puryear wrote:
> But I think you're missing the point. Since days of yore, people have
> generally used 'df' with the assumption that it had sane output by
> default. ;)
More information about the General
mailing list