Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: [OT] Resetting USB flash
Date: Mon, 07 Jan 2013 03:15:19
Message-Id: 20130107031330.GA22820@waltdnes.org
In Reply to: Re: [gentoo-user] Re: [OT] Resetting USB flash by Mick
1 On Sat, Jan 05, 2013 at 10:05:29AM +0000, Mick wrote
2 > On Saturday 05 Jan 2013 02:26:18 Walter Dnes wrote:
3 >
4 > > One last gasp... were you doing this as root? Regular users cannot dd
5 > > directly to a device, for obvious reasons.
6 >
7 > Yes, also tried it as root. No change. BTW, with the device mounted I
8 > shouldn't have a problem with dd on a file.
9
10 Whoa... you should *NOT* have it mounted when trying to dd to the
11 device. I.e., it must be mounted if you're trying...
12
13 dd if=~/foo of=/media/usbstick/bar
14
15 But it must *NOT* be mounted if you want to...
16
17 dd count=1 bs=512 if=/dev/zero of=/dev/sdx
18
19 Do you run with an automounter?
20
21 --
22 Walter Dnes <waltdnes@××××××××.org>
23 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-user] Re: [OT] Resetting USB flash Mick <michaelkintzios@×××××.com>