On Wed, Feb 27, 2013 at 07:23:33PM -0500, ed stuckems wrote:
> True, I actually did something similar using parted:
> 
> for f in /dev/sd?; do parted -s $f print; done

So in this sort of case, I ususally put something before the command:

        for f in /dev/sd?; do echo Checking $f...;parted -s $f print;done

> which lists the partition table as 'fdisk -l' does but it does so
> accurately for a larger number of partition table formats.  But, I get
> your point: I should have used an option that actually produced output
> when the drive was there.

> regards,
> eds.

        slainte mhath, RGB

--
Richard Guy Briggs               --  ~\    -- ~\            <hpv.tricolour.net>
<www.TriColour.net>                --  \___   o \@       @       Ride yer bike!
Ottawa, ON, CANADA                  --  Lo_>__M__\\/\%__\\/\%
Vote! -- <greenparty.ca>_____GTVS6#790__(*)__(*)________(*)(*)_________________
_______________________________________________
Linux mailing list
Linux@lists.oclug.on.ca
http://oclug.on.ca/mailman/listinfo/linux

Reply via email to