Re: listing files



On Thursday 31 August 2006 04:08, MICHAEL WEAVER wrote:
How do I list files on something other than a hard drive when using the
command line?
I have a CD burned of the latest Ubuntu but I need to find out if there
is a fault with the files ie whether it has burned properly.

A directory listing might tell me if all of the files in the iso burned
onto the CD.

Unfortunately that won't work, unless the burning process was interrupted in
the middle (in which case you wouldn't need to verify anything). This is
because the files list (TOC - table of contents) is written regardless of
content beign correctly written (or written at all, for that matter).

You'd better stick with one of the options proposed by Ted Merley. MD5 sum
would be my personal choice, if you burn a CD from an ISO (which is your
case).

In another situation, if you want to verify a CD which was burnt on the fly,
you could use "diff -rq /path/to/dir /media/cdrom" changing paths where
apropriate.


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: Can I do anything after booting from the Ubuntu CD?
    ... I can't find any of my drives. ... that I would like to be able to do under Ubuntu: ... to verify that Ubuntu supports my sound card ... If so try this at the boot prompt ...
    (comp.os.linux.misc)
  • Re: listing files
    ... I have a CD burned of the latest Ubuntu but I need to find out if there ... I think that what you want to do is verify your burned disk? ... sure that - A. What you download is proper and B. ... First - how to verify the disk you burned. ...
    (Ubuntu)
  • Re: Can I do anything after booting from the Ubuntu CD?
    ... I can't find any of my drives. ... from the CD and then do things, to verify that my hardware will ... that I would like to be able to do under Ubuntu: ... to verify that Ubuntu supports my sound card ...
    (comp.os.linux.misc)
  • Re: listing files
    ... MICHAEL WEAVER wrote: ... command line? ... I have a CD burned of the latest Ubuntu but I need to find out if there ... is a fault with the files ie whether it has burned properly. ...
    (Ubuntu)
  • Can I do anything after booting from the Ubuntu CD?
    ... I can boot Ubuntu from the distribution CD, ... I can't find any of my drives. ... to verify that Ubuntu supports my sound card ...
    (comp.os.linux.misc)