Re: Estimating left space on a CD...

From: Lewi Kristianto (ichtus_lewi_at_yahoo.com)
Date: 08/27/04

  • Next message: Satrio Hanindito: "modem for redhat"
    Date: Fri, 27 Aug 2004 04:09:27 -0700 (PDT)
    To: Andrea Giuliano <a.giuliano@iccu.sbn.it>, For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    --- Andrea Giuliano <a.giuliano@iccu.sbn.it> wrote:

    > Hi,
    >
    > I'm writing a BASH script to do simple backups on a
    > CD-RW, but I can't
    > find a way to know how much space is left on the
    > medium.
    >
    > A trivial solution could be mounting the medium and
    > use "du -sk" on it,
    > but the disadvantage of this method is that the
    > result would just be the
    > total length of the original files, while the ISO
    > images are usually
    > slightly longer. The result is an underestimated
    > value.
    >
    just an idea, while backing up files to cd
    read manual mkisofs in "--print-size" section

    > Any hints?
    >
    > Best regards.
    >
    > ----
    > Andrea Giuliano, Ph. D.
    > ICCU - Istituto Centrale per il Catalogo Unico
    > Viale Castro Pretorio 105, Rome - ITALY
    > Tel. +39064989509, Fax +39064059302
    >
    >
    > --
    > fedora-list mailing list
    > fedora-list@redhat.com
    > To unsubscribe:
    > http://www.redhat.com/mailman/listinfo/fedora-list
    >

                    
    _______________________________
    Do you Yahoo!?
    Win 1 of 4,000 free domain names from Yahoo! Enter now.
    http://promotions.yahoo.com/goldrush

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Satrio Hanindito: "modem for redhat"

    Relevant Pages