On Thu, 1 Mar 2018 19:02:55 +0100
"H. Nikolaus Schaller" <h...@goldelico.com> wrote:

> Hi Andreas and Sven,
> 
> > Am 01.03.2018 um 18:01 schrieb Andreas Kemnade <andr...@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.

Regards,
Andreas

Attachment: pgptFq54ISnzn.pgp
Description: OpenPGP digital signature

_______________________________________________
Gta04-owner mailing list
Gta04-owner@goldelico.com
http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner

Reply via email to