summaryrefslogtreecommitdiff
path: root/usr/src/cmd/format/misc.h
diff options
context:
space:
mode:
authorPrasad Singamsetty <Prasad.Singamsetty@Sun.COM>2008-09-11 18:00:50 -0700
committerPrasad Singamsetty <Prasad.Singamsetty@Sun.COM>2008-09-11 18:00:50 -0700
commit342440ec94087b8c751c580ab9ed6c693d31d418 (patch)
tree87195f6bee2bb52c9f592f1ce57636b3de75b7d7 /usr/src/cmd/format/misc.h
parent7ddfa2acf3cfb8a6397a0fb7b4dcd2ce701cc293 (diff)
downloadillumos-joyent-342440ec94087b8c751c580ab9ed6c693d31d418.tar.gz
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
Diffstat (limited to 'usr/src/cmd/format/misc.h')
-rw-r--r--usr/src/cmd/format/misc.h13
1 files changed, 5 insertions, 8 deletions
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();