History log of /freebsd/sbin/fdisk/fdisk.c (Results 26 – 50 of 240)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/8.3.0_cvs, release/8.3.0
# 8fa0b743 23-Jan-2012 Xin LI <delphij@FreeBSD.org>

IFC @230489 (pending review).


Revision tags: release/9.0.0
# 3ee1a36e 22-Nov-2011 Peter Grehan <grehan@FreeBSD.org>

IFC @ r227804

Pull in the virtio drivers from head.


# 39e9a28f 07-Nov-2011 Andrey V. Elsukov <ae@FreeBSD.org>

Fix multi-line comment formatting.

Pointed by: jh
MFC after: 1 week


# fd1ca22a 07-Nov-2011 Andrey V. Elsukov <ae@FreeBSD.org>

Improve error reporting when MBR can not be written.
Remove obsolete code which uses DIOCSMBR ioctl.
When writing MBR first check that GEOM_MBR is available, if it is not
available, then try write MB

Improve error reporting when MBR can not be written.
Remove obsolete code which uses DIOCSMBR ioctl.
When writing MBR first check that GEOM_MBR is available, if it is not
available, then try write MBR directly to provider. If both are failed,
then recommend to use gpart(8).

MFC after: 2 week

show more ...


# 1b100fd3 06-Nov-2011 Andrey V. Elsukov <ae@FreeBSD.org>

Initialize "acc" value inside the loop to reset failed attempts.

PR: misc/162262
MFC after: 3 days


# 1efe3c6b 04-Nov-2011 Ed Schouten <ed@FreeBSD.org>

Add missing static keywords for global variables to tools in sbin/.

These tools declare global variables without using the static keyword,
even though their use is limited to a single C-file, or wit

Add missing static keywords for global variables to tools in sbin/.

These tools declare global variables without using the static keyword,
even though their use is limited to a single C-file, or without placing
an extern declaration of them in the proper header file.

show more ...


# 21fa3932 29-Oct-2011 John-Mark Gurney <jmg@FreeBSD.org>

remove trailing whitespace...

MFC after: 1 week


# 469a1218 29-Oct-2011 John-Mark Gurney <jmg@FreeBSD.org>

error if /boot/mbr is empty... This can happen on a system like arm
that doesn't have a /boot/mbr, and you touch it to get past the previous
error message...

MFC after: 1 week


# fab4c373 16-Sep-2011 Peter Grehan <grehan@FreeBSD.org>

IFC @ r225592

sys/dev/bvm/bvm_console.c - move up to the new alt-break order.


# 4ff9eb89 01-Sep-2011 Alexander Motin <mav@FreeBSD.org>

Integrate from head at r225316.


# 6bfcd9c3 19-Aug-2011 Andrey V. Elsukov <ae@FreeBSD.org>

The decimal() function was changed in r217808 to take the
maximum value instead of number of bits. But for case when
limitation is not needed it erroneously skips conversion to
number and always retu

The decimal() function was changed in r217808 to take the
maximum value instead of number of bits. But for case when
limitation is not needed it erroneously skips conversion to
number and always returns zero. So, don't skip conversion
for case when limitation is not needed.

PR: bin/159765
Approved by: re (kib)

show more ...


# bd2228ab 19-Jul-2011 Peter Grehan <grehan@FreeBSD.org>

IFC @ r224187


# c462f54d 18-Jul-2011 Justin T. Gibbs <gibbs@FreeBSD.org>

Integrate from head into ZFSD feature branch as of revision 224171.


# f9373bbd 17-Jul-2011 Ryan Stone <rstone@FreeBSD.org>

The MBR uses a 32-bit unsigned integer to store the size of a slice, but
fdisk(1) internally uses a signed int. Should a user attempt to specify
a slice containing more than 2^31 - 1 sectors, an err

The MBR uses a 32-bit unsigned integer to store the size of a slice, but
fdisk(1) internally uses a signed int. Should a user attempt to specify
a slice containing more than 2^31 - 1 sectors, an error will be reported
on systems with sizeof(long) == 4 and the slice size will be silently
truncated on systems with sizeof(long) > 4.

Instead use an unsigned long to store the slice size in fdisk(1). This
allows the user to specify a slice size up to the maximum permitted by
the MBR on-disk format and does not have any problems with silent
truncation should the use specify an slice size larger than 2^32 on systems
with sizeof(long) > 4.

Submitted by: Mark Johnston (markjdb AT gmail DOT com)
MFC after: 2 weeks

show more ...


Revision tags: release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0
# 4be78ce3 25-Jan-2011 Maxim Sobolev <sobomax@FreeBSD.org>

Supply maximum value as an argument to the decimal() function
instead of supplying number of bits.

Submitted by: bde


# f70a8a9c 24-Jan-2011 Maxim Sobolev <sobomax@FreeBSD.org>

o Cylinder numbers are 10 bits in the MBR;

o Sector numbers are only 6 bits in the MBR;

o bde'cize name of the local variable.

Submitted by: bde


# 68df7abe 22-Jan-2011 Maxim Sobolev <sobomax@FreeBSD.org>

Warn user when value entered is greated than the amount supported
by the MBR for the given parameter and set that parameter to the
maximum value instead of just truncating the most significant part
s

Warn user when value entered is greated than the amount supported
by the MBR for the given parameter and set that parameter to the
maximum value instead of just truncating the most significant part
silently.

Could happen for example if the capacity of the device is more
than 2TB, so that the number of sectors is greater than 2Mib.

MFC after: 1 month

show more ...


# 6a5ffa06 16-Sep-2010 Brian Somers <brian@FreeBSD.org>

Add support for identifying a journaled root filesystem.
Fix support for identifying the given /dev/vinum/root example.

MFC after: 3 weeks


# 1dc7e010 06-Sep-2010 Brian Somers <brian@FreeBSD.org>

Handle geli-encrypted root disk devices.

MFC after: 2 weeks


Revision tags: release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0
# 10b3b545 17-Sep-2009 Dag-Erling Smørgrav <des@FreeBSD.org>

Merge from head


# 7d4b968b 17-Sep-2009 Dag-Erling Smørgrav <des@FreeBSD.org>

Merge from head up to r188941 (last revision before the USB stack switch)


# ea32a699 17-Jun-2009 Ulf Lilleengen <lulf@FreeBSD.org>

- Back out the previous change in order to maintain compatibility.


# 1d695e8e 15-Jun-2009 Ulf Lilleengen <lulf@FreeBSD.org>

- The maximum number of heads is 255, not 256.

Pointed out by: marcel


# 2e370a5c 26-May-2009 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Merge from HEAD


# d1c77156 25-May-2009 Brian Somers <brian@FreeBSD.org>

Enhance the 'p' command so that it understands size qualifiers (K/M/G) and
so that it understands '*' as 'DTRT'.

PR: 68312
Submitted by: Rene de Vries - rene at tunix dot nl (mostly)
MFC after: 3 w

Enhance the 'p' command so that it understands size qualifiers (K/M/G) and
so that it understands '*' as 'DTRT'.

PR: 68312
Submitted by: Rene de Vries - rene at tunix dot nl (mostly)
MFC after: 3 weeks

show more ...


12345678910