From 342440ec94087b8c751c580ab9ed6c693d31d418 Mon Sep 17 00:00:00 2001 From: Prasad Singamsetty Date: Thu, 11 Sep 2008 18:00:50 -0700 Subject: PSARC/2008/336 Extended VTOC 6708609 Support booting on disks > 1TB (phase 1) 6672960 cmlb: default minor nodes for disks > 1TB is not EFI/GPT style 6727240 When a fat32 partition created in the part of the disk after 1TB, block I/O and umount fail --- usr/src/cmd/format/misc.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'usr/src/cmd/format/misc.h') diff --git a/usr/src/cmd/format/misc.h b/usr/src/cmd/format/misc.h index 27ceaebab9..ca3050b02b 100644 --- a/usr/src/cmd/format/misc.h +++ b/usr/src/cmd/format/misc.h @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -20,15 +19,13 @@ * CDDL HEADER END */ /* - * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _MISC_H #define _MISC_H -#pragma ident "%Z%%M% %I% %E% SMI" - #ifdef __cplusplus extern "C" { #endif @@ -169,10 +166,10 @@ void canonicalize_name(char *dst, char *src); int match_substr(char *s1, char *s2); void dump(char *, caddr_t, int, int); float bn2mb(uint64_t); -uint_t mb2bn(float); +diskaddr_t mb2bn(float); float bn2gb(uint64_t); float bn2tb(uint64_t); -uint_t gb2bn(float); +diskaddr_t gb2bn(float); int get_tty_lines(); -- cgit v1.2.3