summaryrefslogtreecommitdiffstats
path: root/fs/partitions/ultrix.h
blob: b2d24fdfdde744729b98906166ab584b6c7e7ac8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 *  fs/partitions/ultrix.h
 */

#define PT_MAGIC	0x032957	/* Partition magic number */
#define PT_VALID	1		/* Indicates if struct is valid */

#define	SBLOCK	((unsigned long)((16384 - sizeof(struct ultrix_disklabel)) \
                  /get_ptable_blocksize(dev)))

int ultrix_partition(struct gendisk *hd, kdev_t dev,
		  unsigned long first_sector, int first_part_minor);