Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Aug 2015 19:11:23 +0200
From:      Bernt Hansson <bah@bananmonarki.se>
To:        freebsd-questions@freebsd.org
Subject:   Re: USB stick and some help with it.
Message-ID:  <55BFA0BB.5080704@bananmonarki.se>
In-Reply-To: <55BF9FE3.3030606@gmail.com>
References:  <55BF6AA0.2030802@bananmonarki.se> <55BF8824.9050803@gmail.com> <55BF8D65.6010404@bananmonarki.se> <55BF9024.6000409@gmail.com> <55BF9522.3@bananmonarki.se> <55BF964B.7080400@gmail.com> <55BF9817.4070409@bananmonarki.se> <55BF9954.2020005@gmail.com> <55BF9F26.8030003@bananmonarki.se> <55BF9FE3.3030606@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On 2015-08-03 19:07, jd1008 wrote:
>
>
> On 08/03/2015 11:04 AM, Bernt Hansson wrote:
>>
>>
>> On 2015-08-03 18:39, jd1008 wrote:
>>>
>>>
>>> On 08/03/2015 10:34 AM, Bernt Hansson wrote:
>>>>
>>>>
>>>> On 2015-08-03 18:26, jd1008 wrote:
>>>>>
>>>>>
>>>>> On 08/03/2015 10:21 AM, Bernt Hansson wrote:
>>>>>>
>>>>>>
>>>>>> On 2015-08-03 18:00, jd1008 wrote:
>>>>>>> Are you invoking the command as root or regular user?
>>>>>>
>>>>>> As root.
>>>>> If your installation cannot write to the raw device, then
>>>>> it  is either a bug or .....????
>>>>>
>>>>> One thing that you have to be aware of is that if you
>>>>> dd an iso image to a flash, then afterwards, the OS
>>>>> will always assume it is a non-writable cdrom; that
>>>>> is until you dd /dev/zero into the raw device while
>>>>> it is not mounted.
>>>>>
>>>> There is no rda* on FreeBSD 10.1-RELEASE-p15 #0
>>> So how will a user write to the raw device?
>> You tell me. I don't know.
>
> OK, so in your installation what do you see in /dev as far as disk 
> devices that are raw
> (i.e. their name starts with r)?

None.

On FreeBSD, all block devices are in fact raw devices. Support for 
non-raw devices was removed in FreeBSD 4.0 in order to simplify buffer 
management and increase scalability and performance.

https://en.wikipedia.org/wiki/Raw_device



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55BFA0BB.5080704>