On Mon, 18 Sep 2000, Marc Tardif wrote:
0cicuta/home/babolo(9)#dd of=/dev/wd0s2 if=/dev/zero bs=660b
1cicuta/home/babolo(11)#od -b /dev/wd0s2
[ snip ]
Why I use 2.2.7 for test?
Because of my lovely 4.1-STABLE is extremly unstable with content of
ad0s2 (wd0s2) above and silently reboot
Marc Tardif writes:
What is slices content?
s1 - almost right FreeBSD label
s2 - not a right FreeBSD label but similar enough to label.
s3 - no label or similar at all.
How to do such a content that screw the system?
This is my way for this test:
- shorten s2 to 3 cilinder.
-
Marc Tardif wrote:
What is the FreeBSD naming convention for devices of disk slices and
labels? Considering my system is installed on the first partition of
/dev/wd0 (non-dedicated), these are the block-device interfaces I
have to my disk:
wd0 wd0cwd0fwd0s1 wd0s1c
Marc Tardif wrote:
If I understand correctly, wd0[a-h] will be the same as wd0s3[a-h] in a
situation where DOS is on first slice, Linux on second and FreeBSD on
third, right? But what if the fourth slice is also FreeBSD? In such a
Right.
case, I'll assume you meant "booted slice" instead
On Tue 2000-09-19 (00:54), Daniel C. Sobral wrote:
Lastly, where else could I have found this information other
than asking on the FreeBSD mailing list?
Beats me, but it _should_ be in the handbook.
A basic device naming overview, as well as some simple disk layout
information, is
[ snip ]
Assuming /dev/wd0s2 contains a few blocks, ie /dev/wd0s1
doesn't span to the end of disk:
4. If I want to use /dev/wd0s2 as a raw slice for reading
and writing, what are the steps to follow?
None. You just use it.
This is what I have in fdisk (from /stand/sysinstall):
On Mon 2000-09-18 (14:42), Marc Tardif wrote:
4b. Should I then be using /dev/rwd0s2 or /dev/rwd0s2a
for reading and writing (of course, this is assuming
block i/o of multiples of 512 bytes)?
Nope, using raw devices is almost always wrong, and we even got rid of
raw device
Marc Tardif wrote:
This is what I have in fdisk (from /stand/sysinstall):
Offset SizeEnd Name PType Desc Subtype Flags
0 63 62- 6 unused0
6319375651937627wd0s1 3freebsd 165 C
This is what I have in fdisk (from /stand/sysinstall):
Offset SizeEnd Name PType Desc Subtype Flags
0 63 62- 6 unused0
6319375651937627wd0s1 3freebsd 165 C
1937628 191268
On 18-Sep-00 Marc Tardif wrote:
This is what I have in fdisk (from /stand/sysinstall):
Offset SizeEnd Name PType Desc Subtype Flags
0 63 62- 6 unused0
6319375651937627wd0s1 3freebsd
Daniel C. Sobral writes:
Marc Tardif wrote:
4. If I want to use /dev/wd0s2 as a raw slice for reading
and writing, what are the steps to follow?
You can't write several blocks near /dev/wd0s2 beginning.
Use /dev/wd0 with proper address
That is rather risky. Wouldn't it be
0cicuta/home/babolo(9)#dd of=/dev/wd0s2 if=/dev/zero bs=660b
1cicuta/home/babolo(11)#od -b /dev/wd0s2
[ snip ]
Why I use 2.2.7 for test?
Because of my lovely 4.1-STABLE is extremly unstable with content of
ad0s2 (wd0s2) above and silently reboot after the first dd in the test above.
What is the FreeBSD naming convention for devices of disk slices and
labels? Considering my system is installed on the first partition of
/dev/wd0 (non-dedicated), these are the block-device interfaces I
have to my disk:
wd0 wd0cwd0fwd0s1 wd0s1cwd0s1fwd0s2
wd0awd0d
Marc Tardif writes:
What is the FreeBSD naming convention for devices of disk slices and
labels? Considering my system is installed on the first partition of
/dev/wd0 (non-dedicated), these are the block-device interfaces I
have to my disk:
wd0 wd0cwd0fwd0s1 wd0s1c
[ snip ]
1. What are wd0[a-h] used for?
For wd0sN[a-h] where N is number of first slice recognized
as FreeBSD slice
If I understand correctly, wd0[a-h] will be the same as wd0s3[a-h] in a
situation where DOS is on first slice, Linux on second and FreeBSD on
third, right? But what if the
Marc Tardif writes:
[ snip ]
1. What are wd0[a-h] used for?
For wd0sN[a-h] where N is number of first slice recognized
as FreeBSD slice
If I understand correctly, wd0[a-h] will be the same as wd0s3[a-h] in a
situation where DOS is on first slice, Linux on second and FreeBSD on
16 matches
Mail list logo