File: README

package info (click to toggle)
pydf 0.9.6
  • links: PTS
  • area: main
  • in suites: sarge, woody
  • size: 60 kB
  • ctags: 51
  • sloc: python: 263; makefile: 37
file content (48 lines) | stat: -rw-r--r-- 2,146 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
pydf is all-singing, all-dancing, fully colourised df(1)-clone
written in python.

Requirements:
    pydf was written for linux, using specific linux features.
    The fact it runs on other systems is pure coincidence.
    So far it is known to work on:
        linux with python 2.0
        linux with python 1.5.2
        linux with python 1.5.1 with statfs(1) program
        HP-UX 10.20 with python 1.5.2 (you have to specify --mounts=/etc/mnttab)
        SunOS 5.6 with python 1.5.2 (you have to specify --mounts=/etc/mnttab)

System-wide configuration is in /etc/pydfrc, per-user 
configuration in ~/.pydfrc (format of these files is the same)

Colours are one of: 
    none, default, bold, underline, blink, reverse, concealed, 
    black, green, yellow, blue, magenta, cyan, white,
    on_black, on_green, on_yellow, on_blue, on_magenta, on_cyan, on_white
    beep
on_red means that the background (instead of foreground) is painted 
with red etc...


pydf recognizes following parameters:

    -a, --all             include filesystems having 0 blocks
        --block-size=SIZE use SIZE-byte blocks
    -h, --human-readable  print sizes in human readable format (e.g., 1K 234M 2G)
    -H, --si              likewise, but use powers of 1000 not 1024
    -k, --kilobytes       use 1024-byte blocks
    -l, --local           limit listing to local filesystems
    -m, --megabytes       use 1048576-byte blocks
        --blocks           use filesystem native block size
    --bw                  do not use colours
    --mounts=FILE         file to get mount information from.
                          On normal linux system, only /etc/mtab
                          or /proc/mounts make sense.
                          Use /proc/mounts when /etc/mtab is corrupted
                          or inaccessible (the output looks a bit weird
                          in this case though)
    --help                display short help and exit
    --version             output version information and exit


Written by Radovan Garabik <garabik@melkor.dnp.fmph.uniba.sk>.
For new versions, look at http://melkor.dnp.fmph.uniba.sk/~garabik/pydf/