Card reader question

Robert Heller heller at deepsoft.com
Sat Jul 18 14:14:56 UTC 2015


At Sat, 18 Jul 2015 14:45:03 +0100 "Ubuntu user technical support,  not for general discussions" <ubuntu-users at lists.ubuntu.com> wrote:

> 
> On 18 July 2015 at 01:02, Phil <phil_lor at bigpond.com> wrote:
> > On 17/07/15 04:25, Colin Law wrote:
> >>
> >> On 15 July 2015 at 02:21, Phil <phil_lor at bigpond.com> wrote:
> >>>
> >>> Thank you for reading this.
> >>>
> >>> /dev/mmcblk0 is created whenever I plug an SD card into my laptop, as
> >>> expected. However, my new desktop doesn't have a card reader slot and so
> >>> I
> >>> have to use a USB card reader. The SD card is readable with a file
> >>> manager
> >>> but /dev/mmcblk0 is not created.
> >>>
> >>> How can I overcome this problem?
> >>
> >>
> >> Run
> >> df
> >> and you will see where it is, probably dev/sdb or sdc
> >
> >
> > Thanks Colin. I've since realised that I can no longer make an image of the
> > SD card read from the USB card reader. Backup yes but not an image.
> 
> Why not, I do exactly that with
> sudo dd if=/dev/sdb of=$FILENAME bs=10M

I think the OP's problem is that this cannot be easily automated, since the if
argument is not a constant value and there isn't a good way to compute the
value. OTOH, doing a file oriented backup (ala mount+tar for example) *can* be
automated, since it is possible to use either LABEL= or UUID= as the device
argument to mount, which removes the need to know the exact device file
(/dev/sd<mumble>, etc.) to use.

> 
> Colin
> 

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller at deepsoft.com       -- Webhosting Services
                                                                                




More information about the ubuntu-users mailing list