Re: [Perl-unix-users] Filesystem Block Size...how to get?

2005-09-19 Thread Arijit Das
Thanks Bruce...Your solution was good. But unfortunately it doesn't seem to work on RH Linux 7.2 and RHAS3.0 which is what I need.   Went though its documentation.Seemed like the blksize field of the stat structure is not very portable...which is what the Linux failures proves...   -ArijitBruce

RE: [Perl-unix-users] Filesystem Block Size...how to get?

2005-09-19 Thread Peter Eisengrein
Not sure how to do programmatically, but `df -k` should do. -Original Message-From: Arijit Das [mailto:[EMAIL PROTECTED]Sent: Monday, September 19, 2005 10:45 AMTo: activeperl@listserv.ActiveState.com; perl-unix-users@listserv.ActiveState.comSubject: [Perl-unix-users] Fil

[Perl-unix-users] Filesystem Block Size...how to get?

2005-09-19 Thread Arijit Das
Given a UNIX flavor/machine, say a Linux box, I need to figure out the size of the file system block of the current file system I am working in. Generally, it is multiple of 512 but less than the page frame size...but how can I get the exact value of my current file system?   Any idea...?   Thanks,