Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Apr 2012 14:27:46 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        jhs@berklix.com, perryh@pluto.rain.com, freebsd-questions@freebsd.org
Subject:   Re: mounting ext2fs
Message-ID:  <alpine.BSF.2.00.1204191424270.46081@wonkity.com>
In-Reply-To: <20120419185902.GA1292@tiny>
References:  <201204181259.q3ICx2ZJ052422@fire.js.berklix.net> <4f90406e.wUY9XXMDqOEhzRDN%perryh@pluto.rain.com> <20120419123609.GA1195@tiny> <alpine.BSF.2.00.1204190828010.45169@wonkity.com> <20120419185902.GA1292@tiny>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

---902635197-2077731019-1334867266=:46081
Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8BIT

On Thu, 19 Apr 2012, Matthias Apitz wrote:

> El día Thursday, April 19, 2012 a las 08:29:52AM -0600, Warren Block escribió:
>
>> On Thu, 19 Apr 2012, Matthias Apitz wrote:
>>
>>> the problem with (this) cardreader seems to be that the card must
>>> already inserted at boot time; a later switch to another card, for
>>> example from a card with 'msdosfs' to a card with 'ext2fs', gives the
>>> problem in my first mail; don't know if this is a bug or feature :-)
>>
>> Try forced retasting after loading a card.
>>
>>    true > /dev/da0
>
> What do you expect exactly from this command? The actual shell will open
> /dev/da0 for writing + truncating and will connect (dup) its fd 1 to it;
> then it will execute 'true', perhaps as buit-in; so what?

It looks wrong, doesn't it?  Devices are "retasted" when opened for 
write.  It doesn't actually write anything to da0, it's just a trick to 
force a retaste and get GEOM to show changed media or devices.
---902635197-2077731019-1334867266=:46081--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1204191424270.46081>