[Gta04-owner] Antwort: Antwort: Re: QtMoko reloaded
andreas at kemnade.info
Thu Mar 1 19:15:57 CET 2018
On Thu, 1 Mar 2018 19:02:55 +0100
"H. Nikolaus Schaller" <hns at goldelico.com> wrote:
> Hi Andreas and Sven,
> > Am 01.03.2018 um 18:01 schrieb Andreas Kemnade <andreas at kemnade.info>:
> > Hi Sven,
> > Reason is probably:
> > sudo does not pass the variables on (security reasons,
> > you could do funny things).
> > So makesd did not know about your DEV=/dev/sdg
> > makesd should simply have no default for DEV
> > and not do anything if not set.
> Well, it has to have some default because if you make 20 sd cards
> per day, every keystroke counts. And in 19 times you type
> /dev/sdg correctly and then you mistype /dev/sdh + Enter.
> So it needs some default you do not have to think about too much.
well, then you type
export DEV=/dev/sdSomething once
and do not do it in the makesd command line.
No doubt, it needs to be configured for such actions.
> There is already a secondary default which reads the file ~/.makesd.conf
> to set such a default. And the /dev/sdc is only used if that file
> does not exist or is empty.
And that is a good place to configure that.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the Gta04-owner