The NetBSD Project

CVS log for src/sys/sys/disklabel.h

[BACK] Up to [cvs.NetBSD.org] / src / sys / sys

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.127 / (download) - annotate - [select for diffs], Tue Nov 1 06:47:41 2022 UTC (15 months, 4 weeks ago) by simonb
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Changes since 1.126: +2 -2 lines
Diff to previous 1.126 (colored)

Define the mount program for zfs.

Revision 1.126 / (download) - annotate - [select for diffs], Mon Mar 28 12:33:59 2022 UTC (23 months ago) by riastradh
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.125: +2 -1 lines
Diff to previous 1.125 (colored)

disk(9): New function disklabel_dev_unit.

Maps a dev_t like wd3e to an autoconf instance number like 3, with no
partition.  Same as DISKUNIT macro, but is a symbol whose pointer can
be taken.  Meant for use with struct bdevsw, cdevsw::d_devtounit.

Revision 1.124.8.1 / (download) - annotate - [select for diffs], Thu Jun 17 04:46:36 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.124: +1 -3 lines
Diff to previous 1.124 (colored) next main 1.125 (colored)

Sync w/ HEAD.

Revision 1.124.10.1 / (download) - annotate - [select for diffs], Mon May 31 22:15:22 2021 UTC (2 years, 9 months ago) by cjep
Branch: cjep_staticlib_x
Changes since 1.124: +1 -3 lines
Diff to previous 1.124 (colored) next main 1.125 (colored)

sync with head

Revision 1.125 / (download) - annotate - [select for diffs], Mon May 17 08:50:36 2021 UTC (2 years, 9 months ago) by mrg
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1
Changes since 1.124: +1 -3 lines
Diff to previous 1.124 (colored)

move bi-endian disklabel support from the kernel and libsa into libkern.

- dkcksum() and dkcksum_sized() move from subr_disk.c and from
  libsa into libkern/dkcksum.c (which is missing _sized() version),
  using the version from usr.sbin/disklabel.

- swap_disklabel() moves from subr_disk_mbr.c into libkern, now called
  disklabel_swap().  (the sh3 version should be updated to use this.)

- DISKLABEL_EI becomes a first-class option with opt_disklabel.h.

- add libkern.h to libsa/disklabel.c.

this enables future work for bi-endian libsa/ufs.c (relevant for ffsv1,
ffsv2, lfsv1, and lfsv2), as well as making it possible for ports not
using subr_disk_mbr.c to include bi-endian disklabel support (which,
afaict, includes any disk on mbr-supporting platforms that do not have
an mbr as well as disklabel.)

builds successsfully on: alpha, i386, amd64, sun2, sun3, evbarm64,
evbarm64-eb, sparc, and sparc64.  tested in anita on i386 and sparc,
testing in hardware on evbarm64*.

Revision 1.119.18.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:20 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.119.18.2: +34 -0 lines
Diff to previous 1.119.18.2 (colored) to branchpoint 1.119 (colored) next main 1.120 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.119.18.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:09:03 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.119.18.1: +3 -2 lines
Diff to previous 1.119.18.1 (colored) to branchpoint 1.119 (colored)

Merge changes from current as of 20200406

Revision 1.124 / (download) - annotate - [select for diffs], Mon Mar 30 09:32:46 2020 UTC (3 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, cjep_staticlib_x-base, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Branch point for: thorpej-i2c-spi-conf, cjep_staticlib_x
Changes since 1.123: +2 -2 lines
Diff to previous 1.123 (colored)

Match indentation of previous entries.

Revision 1.123 / (download) - annotate - [select for diffs], Mon Mar 30 09:19:06 2020 UTC (3 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.122: +3 -2 lines
Diff to previous 1.122 (colored)

Now that we have a partition type for it, also add FS_ZFS.

Revision 1.122 / (download) - annotate - [select for diffs], Sat Nov 9 16:46:09 2019 UTC (4 years, 3 months ago) by pgoyette
Branch: MAIN
CVS Tags: phil-wifi-20191119, is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.121: +2 -2 lines
Diff to previous 1.121 (colored)

Fix a typo is christos long comment.  :)

Revision 1.121 / (download) - annotate - [select for diffs], Sat Nov 9 16:40:38 2019 UTC (4 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.120: +35 -1 lines
Diff to previous 1.120 (colored)

Add a rather long comment explaining what has happened with disklabel and
why.

Revision 1.119.18.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:57 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.119: +5 -2 lines
Diff to previous 1.119 (colored)

Sync with HEAD

Revision 1.119.16.1 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:52 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.119: +5 -2 lines
Diff to previous 1.119 (colored) next main 1.120 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.120 / (download) - annotate - [select for diffs], Tue Nov 6 04:04:34 2018 UTC (5 years, 3 months ago) by mrg
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2
Changes since 1.119: +5 -2 lines
Diff to previous 1.119 (colored)

add support to detect the 3 vmware GPT partition types:

- VMKcore (dump partition)
- VMFS
- VMware reserved

this enables vmkcore partitions for netbsd swap or dump, as well
as naming all of them.

Revision 1.112.6.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:20 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.112.6.2: +32 -24 lines
Diff to previous 1.112.6.2 (colored) to branchpoint 1.112 (colored) next main 1.113 (colored)

update from HEAD

Revision 1.117.2.2 / (download) - annotate - [select for diffs], Sun Dec 27 12:10:18 2015 UTC (8 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.117.2.1: +9 -3 lines
Diff to previous 1.117.2.1 (colored) to branchpoint 1.117 (colored) next main 1.118 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.119 / (download) - annotate - [select for diffs], Tue Dec 8 20:36:15 2015 UTC (8 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.118: +9 -3 lines
Diff to previous 1.118 (colored)

Replace DIOCGPART -> DIOCGPARTINFO which returns the data needed instead of
pointers.

Revision 1.117.2.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:32 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.117: +5 -4 lines
Diff to previous 1.117 (colored)

Sync with HEAD

Revision 1.118 / (download) - annotate - [select for diffs], Fri Jan 2 19:42:07 2015 UTC (9 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406
Changes since 1.117: +5 -4 lines
Diff to previous 1.117 (colored)

We have three sets of DTYPE_ constants in the kernel:
	altq		Drop 		Type
	disklabel	Disk 		Type
	file		Descriptor	Type
(not to mention constants that contain the string DTYPE).
Let's make them two, by changing the disklabel one to be DisK TYPE since the
other disklabel constants seem to do that. Not many userland programs use
these constants (and the ones that they do are mostly in ifdefs). They will
be fixed shortly.

Revision 1.117 / (download) - annotate - [select for diffs], Fri Sep 5 05:47:40 2014 UTC (9 years, 5 months ago) by matt
Branch: MAIN
CVS Tags: nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.116: +21 -20 lines
Diff to previous 1.116 (colored)

Don't nest structure definitions.

Revision 1.112.6.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:44 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.112.6.1: +1 -1 lines
Diff to previous 1.112.6.1 (colored) to branchpoint 1.112 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.109.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:41:18 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.109.2.1: +5 -4 lines
Diff to previous 1.109.2.1 (colored) to branchpoint 1.109 (colored) next main 1.110 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.115.4.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:21 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.115: +2 -2 lines
Diff to previous 1.115 (colored) next main 1.116 (colored)

sync with head

Revision 1.116 / (download) - annotate - [select for diffs], Tue Nov 5 00:36:02 2013 UTC (10 years, 3 months ago) by msaitoh
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Changes since 1.115: +2 -2 lines
Diff to previous 1.115 (colored)

Fix typo in comment.

Revision 1.112.6.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:29 2013 UTC (10 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.112: +4 -3 lines
Diff to previous 1.112 (colored)

resync from head

Revision 1.102.4.1 / (download) - annotate - [select for diffs], Wed Jun 12 06:05:52 2013 UTC (10 years, 8 months ago) by msaitoh
Branch: netbsd-5
Changes since 1.102: +2 -2 lines
Diff to previous 1.102 (colored) next main 1.103 (colored)

Pull up following revision(s) (requested by martin in ticket #1856):
	sys/arch/vax/boot/xxboot/start.S: revision 1.5
	sys/sys/bootblock.h: revision 1.55
	sys/sys/disklabel.h: revision 1.113
	usr.sbin/installboot/arch/vax.c: revision 1.14-1.15
Rearrange primary bootstrap slightly to free up all space between the disk
label and the uVAX rom boot parameter block.
Calculate the disklabel size (for asm code) dynamically based on MAXPARTITIONS.
Adapt to new vax primary bootstrap layout.
Fix installboot for VAX, as discussed on port-vax. Problem pointed out
by Jonny Billquist, thanks to Marl Pizzolato for patiently explaining
the various ways of booting a vax to me.
Now VAX 780 can boot directly from VMB.EXE again.
Provide an empty __CTASSERT() for toolbuilds

Revision 1.115 / (download) - annotate - [select for diffs], Fri May 3 21:33:06 2013 UTC (10 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900
Branch point for: rmind-smpnet
Changes since 1.114: +2 -1 lines
Diff to previous 1.114 (colored)

If used in a tool, undef MAXPARTITIONS and redefine as MAXMAXPARTITIONS

Revision 1.114 / (download) - annotate - [select for diffs], Fri May 3 16:05:11 2013 UTC (10 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.113: +2 -2 lines
Diff to previous 1.113 (colored)

Make disklabel a MI tool.  It will use MACHINE/MACHINE_ARCH to determine
the disklabel params as well as allowing command-line options of -M <machine>
and -B {le,be} to specify MACHINE and byteorder to be used.

Revision 1.112.2.1 / (download) - annotate - [select for diffs], Sat Apr 20 09:58:23 2013 UTC (10 years, 10 months ago) by bouyer
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1
Changes since 1.112: +2 -2 lines
Diff to previous 1.112 (colored) next main 1.113 (colored)

Pull up following revision(s) (requested by martin in ticket #865):
	sys/arch/vax/include/disklabel.h: revision 1.7
	sys/arch/vax/boot/xxboot/start.S: revision 1.5
	sys/sys/bootblock.h: revision 1.55
	sys/sys/disklabel.h: revision 1.113
	usr.sbin/installboot/arch/vax.c: revision 1.14
	usr.sbin/installboot/arch/vax.c: revision 1.15
	sys/kern/sys_generic.c: revision 1.129
Revert VAX MAXPARTITION bump to 16, adjusting it to 12 instead. Fix bootblocks
and installboot for VAX 780 and other machines booting via VMB.EXE.

Revision 1.113 / (download) - annotate - [select for diffs], Thu Apr 4 12:52:25 2013 UTC (10 years, 10 months ago) by martin
Branch: MAIN
Changes since 1.112: +2 -2 lines
Diff to previous 1.112 (colored)

Calculate the disklabel size (for asm code) dynamically based on
MAXPARTITIONS.

Revision 1.109.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:51 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.109: +13 -4 lines
Diff to previous 1.109 (colored)

sync with head

Revision 1.111.4.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:48 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.111: +3 -2 lines
Diff to previous 1.111 (colored) next main 1.112 (colored)

merge to -current.

Revision 1.112 / (download) - annotate - [select for diffs], Mon Jan 16 18:47:58 2012 UTC (12 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, netbsd-6
Changes since 1.111: +3 -2 lines
Diff to previous 1.111 (colored)

PR/45796: Evgeniy Ivanov minixfs3 support.

Revision 1.111 / (download) - annotate - [select for diffs], Sun Nov 13 22:19:09 2011 UTC (12 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: jmcneill-usbmp
Changes since 1.110: +2 -2 lines
Diff to previous 1.110 (colored)

s/info/name

Revision 1.110 / (download) - annotate - [select for diffs], Sun Nov 13 22:07:00 2011 UTC (12 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.109: +12 -4 lines
Diff to previous 1.109 (colored)

Sync the disklabel fstype info with the wedge partition info.
From now on these will stay synchronized because if they don't
getfstypeinfo will not compile.

Revision 1.109 / (download) - annotate - [select for diffs], Mon Jun 27 11:52:24 2011 UTC (12 years, 8 months ago) by uch
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.108: +3 -2 lines
Diff to previous 1.108 (colored)

7th Edition(V7) File System support. and NetBSD symbolic-link, socket, FIFO extension. see newfs_v7fs(8).

Revision 1.107.6.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:10:10 2011 UTC (12 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.107: +2 -1 lines
Diff to previous 1.107 (colored) next main 1.108 (colored)

Sync with HEAD.

Revision 1.107.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:56:23 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.107: +2 -1 lines
Diff to previous 1.107 (colored) next main 1.108 (colored)

sync with head

Revision 1.108 / (download) - annotate - [select for diffs], Tue Jan 18 19:52:24 2011 UTC (13 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: uebayasi-xip-base7, rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.107: +2 -1 lines
Diff to previous 1.107 (colored)

Make struct disklabel 8 byte aligned.  This increases its size by 4 bytes
on IPL32 platforms so add code in sys_ioctl (and netbsd32_ioctl) to deal
with the older/smaller diskabel size.  This change makes disklabel the
same for both IPL32 and LP64 platforms.

Revision 1.102.10.1 / (download) - annotate - [select for diffs], Fri May 7 06:15:07 2010 UTC (13 years, 9 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.102: +2 -1 lines
Diff to previous 1.102 (colored) next main 1.103 (colored)

Add a uint64_t to the union so that disklabel will have the same layout on
both LP64 and IPL32.

Revision 1.101.32.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:41 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.101.32.3: +3 -3 lines
Diff to previous 1.101.32.3 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored)

sync with head

Revision 1.107 / (download) - annotate - [select for diffs], Tue Dec 22 18:55:25 2009 UTC (14 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: rmind-uvmplock, jruoho-x86intr
Changes since 1.106: +2 -3 lines
Diff to previous 1.106 (colored)

Limit DIOCGPART and struct partinfo visibility to _KERNEL.

Revision 1.106 / (download) - annotate - [select for diffs], Fri Nov 20 17:43:35 2009 UTC (14 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.105: +2 -1 lines
Diff to previous 1.105 (colored)

Give rump virtual disks their own type.

Revision 1.101.32.3 / (download) - annotate - [select for diffs], Wed Aug 19 18:48:32 2009 UTC (14 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.101.32.2: +2 -1 lines
Diff to previous 1.101.32.2 (colored) to branchpoint 1.101 (colored)

sync with head.

Revision 1.103.2.1 / (download) - annotate - [select for diffs], Thu Jul 23 23:32:56 2009 UTC (14 years, 7 months ago) by jym
Branch: jym-xensuspend
Changes since 1.103: +4 -3 lines
Diff to previous 1.103 (colored) next main 1.104 (colored)

Sync with HEAD.

Revision 1.105 / (download) - annotate - [select for diffs], Sat Jul 18 16:31:43 2009 UTC (14 years, 7 months ago) by reinoud
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, jymxensuspend-base, jym-xensuspend-nbase
Changes since 1.104: +2 -1 lines
Diff to previous 1.104 (colored)

Import read-only part of the NiLFS (v2) implementation for NetBSD. It has been
tested with a DEBUG+DIAGNOSTIC+LOCKDEBUG kernel. To summerise NiLFS, i'll
repeat my posting to tech-kern here:

NiLFS stands for New implementation of Logging File System; LFS done
right they claim :) It is at version 2 now and is being developed by NTT, the
Japanese telecom company and recently put into the linux source tree. See
http://www.nilfs.org. The on-disc format is not completely frozen and i expect
at least one minor revision to come in time.

The benefits of NiLFS are build-in fine-grained checkpointing, persistent
snapshots, multiple mounts and very large file and media support. Every
checkpoint can be transformed into a snapshot and v.v. It is said to perform
very well on flash media since it is not overwriting pieces apart from a
incidental update of the superblock, but that might change. It is accompanied
by a cleaner to clean up the segments and recover lost space.

My work is not a port of the linux code; its a new implementation. Porting the
code would be more work since its very linux oriented and never written to be
ported outside linux. The goal is to be fully interchangable. The code is non
intrusive to other parts of the kernel. It is also very light-weight.

The current state of the code is read-only access to both clean and dirty
NiLFS partitions. On mounting a dirty partition it rolls forward the log to
the last checkpoint. Full read-write support is however planned!

Just as the linux code, mount_nilfs allows for the `head' to be mounted
read/write and allows multiple read-only snapshots/checkpoint mounts next to
it.

By allowing the RW mount at a different snapshot for read-write it should be
possible eventually to revert back to a previous state; i.e. try to upgrade a
system and being able to revert to the exact state prior to the upgrade.

Compared to other FS's its pretty light-weight, suitable for embedded use and
on flash media. The read-only code is currently 17kb object code on
NetBSD/i386. I doubt the read-write code will surpass the 50 or 60. Compared
this to FFS being 156kb, UDF being 84 kb and NFS being 130kb. Run-time memory
usage is most likely not very different from other uses though maybe a bit
higher than FFS.

Revision 1.101.32.2 / (download) - annotate - [select for diffs], Sat Jul 18 14:53:27 2009 UTC (14 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.101.32.1: +3 -3 lines
Diff to previous 1.101.32.1 (colored) to branchpoint 1.101 (colored)

sync with head.

Revision 1.104 / (download) - annotate - [select for diffs], Mon Jul 13 15:40:44 2009 UTC (14 years, 7 months ago) by reinoud
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6
Changes since 1.103: +3 -3 lines
Diff to previous 1.103 (colored)

Pretty print comment adaptions for UDF and EFS so they line up nicely again.

Revision 1.101.32.1 / (download) - annotate - [select for diffs], Mon May 4 08:14:34 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.101: +4 -2 lines
Diff to previous 1.101 (colored)

sync with head.

Revision 1.102.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:29 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.102: +2 -1 lines
Diff to previous 1.102 (colored) next main 1.103 (colored)

Sync with HEAD.

Revision 1.101.28.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:40 2009 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.101.28.1: +1 -0 lines
Diff to previous 1.101.28.1 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored)

Sync with HEAD.

Revision 1.103 / (download) - annotate - [select for diffs], Tue Dec 30 19:38:36 2008 UTC (15 years, 2 months ago) by reinoud
Branch: MAIN
CVS Tags: yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, jym-xensuspend-base
Branch point for: jym-xensuspend
Changes since 1.102: +2 -1 lines
Diff to previous 1.102 (colored)

Add ISO partition detection enabling auto-detection of iso9660 and UDF
partitions on optical media like CD/DVD/BD but also on all other media if
there is no NetBSD disklabel or MBR label.

Also fix cd's readdisklabel arguments so the ioctl's arrive at the right
device (!) and update its default label to make more sense.

Revision 1.101.38.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:18:09 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.101: +3 -2 lines
Diff to previous 1.101 (colored) next main 1.102 (colored)

Sync with HEAD.

Revision 1.101.28.1 / (download) - annotate - [select for diffs], Sun Sep 28 10:41:04 2008 UTC (15 years, 5 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.101: +3 -2 lines
Diff to previous 1.101 (colored)

Sync with HEAD.

Revision 1.101.34.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:37:04 2008 UTC (15 years, 5 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.101: +3 -2 lines
Diff to previous 1.101 (colored) next main 1.102 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.102 / (download) - annotate - [select for diffs], Tue Aug 19 12:16:49 2008 UTC (15 years, 6 months ago) by haad
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5, matt-nb5-mips64
Changes since 1.101: +3 -2 lines
Diff to previous 1.101 (colored)

I forgot to commit this file. Add definition of DM disklabel type.

Revision 1.91.2.2 / (download) - annotate - [select for diffs], Mon Sep 3 14:46:08 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.91.2.1: +11 -5 lines
Diff to previous 1.91.2.1 (colored) to branchpoint 1.91 (colored) next main 1.92 (colored)

sync with head.

Revision 1.99.2.1 / (download) - annotate - [select for diffs], Sun Jul 15 13:28:09 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.99: +6 -1 lines
Diff to previous 1.99 (colored) next main 1.100 (colored)

Sync with head.

Revision 1.99.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:12:25 2007 UTC (16 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.99: +6 -1 lines
Diff to previous 1.99 (colored) next main 1.100 (colored)

Sync with head.

Revision 1.101 / (download) - annotate - [select for diffs], Fri Jun 29 23:30:32 2007 UTC (16 years, 8 months ago) by rumble
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, wrstuden-revivesa-base-1, wrstuden-revivesa-base, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-devfs-base, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1
Branch point for: yamt-nfs-mp, wrstuden-revivesa, mjf-devfs2, haad-dm
Changes since 1.100: +2 -1 lines
Diff to previous 1.100 (colored)

Add read-only support for SGI's Extent File System.

Reviewed by pooka@.

Revision 1.100 / (download) - annotate - [select for diffs], Sun Jun 24 01:43:35 2007 UTC (16 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.99: +5 -1 lines
Diff to previous 1.99 (colored)

Extract common code from i386, xen, and sparc64, creating
config_handle_wedges() and read_disk_sectors().  On x86, handle_wedges()
is a thin wrapper for config_handle_wedges().  Share opendisk()
across architectures.

Add kernel code in support of specifying a root partition by wedge
name.  E.g., root specifications "wedge:wd0a", "wedge:David's Root
Volume" are possible.  (Patches for config(1) coming soon.)

In support of moving disks between architectures (esp. i386 <->
evbmips), I've written a routine convertdisklabel() that ensures
that the raw partition is at RAW_DISK by following these steps:

        0 If we have read a disklabel that has a RAW_PART with
          p_offset == 0 and p_size != 0, then use that raw partition.

        1 If we have read a disklabel that has both partitions 'c'
          and 'd', and RAW_PART has p_offset != 0 or p_size == 0,
          but the other partition is suitable for a raw partition
          (p_offset == 0, p_size != 0), then swap the two partitions
          and use the new raw partition.

        2 If the architecture's raw partition is 'd', and if there
          is no partition 'd', but there is a partition 'c' that
          is suitable for a raw partition, then copy partition 'c'
          to partition 'd'.

        3 Determine the drive's last sector, using either the
          d_secperunit the drive reported, or by guessing (0x1fffffff).
          If we cannot read the drive's last sector, then fail.

        4 If we have read a disklabel that has no partition slot
          RAW_PART, then create a partition RAW_PART.  Make it span
          the whole drive.

        5 If there are fewer than MAXPARTITIONS partitions,
          then "slide" the unsuitable raw partition RAW_PART, and
          subsequent partitions, into partition slots RAW_PART+1
          and subsequent slots.  Create a raw partition at RAW_PART.
          Make it span the whole drive.

The convertdisklabel() procedure can probably stand to be simplified,
but it ought to deal with all but an extraordinarily broken disklabel,
now.

i386: compiled and tested, sparc64: compiled, evbmips: compiled.

Revision 1.97.26.1 / (download) - annotate - [select for diffs], Mon Mar 12 06:00:51 2007 UTC (16 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.97: +6 -5 lines
Diff to previous 1.97 (colored) next main 1.98 (colored)

Sync with HEAD.

Revision 1.99 / (download) - annotate - [select for diffs], Sat Mar 10 16:42:04 2007 UTC (16 years, 11 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.98: +5 -5 lines
Diff to previous 1.98 (colored)

Chech for _LOCORE (aka asm source) before defining some enums instead
of inventing another symbol.

Revision 1.98 / (download) - annotate - [select for diffs], Thu Mar 1 21:30:50 2007 UTC (17 years ago) by martin
Branch: MAIN
Changes since 1.97: +2 -1 lines
Diff to previous 1.97 (colored)

Split the disklabel checksum function into two, so we can pass the
length separately.
Use this for foreign-endianess labels in wedge autodiscovery, and
calculate the checksum of those before we swap various fields in the
label.

Revision 1.91.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:12:02 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.91: +161 -231 lines
Diff to previous 1.91 (colored)

sync with head.

Revision 1.97 / (download) - annotate - [select for diffs], Thu Dec 29 14:53:47 2005 UTC (18 years, 2 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp
Changes since 1.96: +2 -1 lines
Diff to previous 1.96 (colored)

Add preliminary support for System V Boot File System.
Written by UCHIYAMA Yasushi <uch@netbsd>.

Revision 1.96 / (download) - annotate - [select for diffs], Mon Dec 26 18:41:36 2005 UTC (18 years, 2 months ago) by perry
Branch: MAIN
Changes since 1.95: +71 -71 lines
Diff to previous 1.95 (colored)

u_intN_t -> uintN_t

Revision 1.95 / (download) - annotate - [select for diffs], Wed Dec 14 22:02:01 2005 UTC (18 years, 2 months ago) by reinoud
Branch: MAIN
Changes since 1.94: +2 -1 lines
Diff to previous 1.94 (colored)

Add partition type names & number, label-name, and mount program for
filesystem UDF.

Revision 1.94 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:20 2005 UTC (18 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.93: +1 -1 lines
Diff to previous 1.93 (colored)

merge ktrace-lwp.

Revision 1.82.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 14:12:12 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.82.2.5: +96 -162 lines
Diff to previous 1.82.2.5 (colored) next main 1.83 (colored)

Sync with HEAD. Here we go again...

Revision 1.91.4.1 / (download) - annotate - [select for diffs], Wed Oct 26 08:32:52 2005 UTC (18 years, 4 months ago) by yamt
Branch: yamt-vop
Changes since 1.91: +89 -161 lines
Diff to previous 1.91 (colored) next main 1.92 (colored)

sync with head

Revision 1.93 / (download) - annotate - [select for diffs], Fri Oct 21 21:10:45 2005 UTC (18 years, 4 months ago) by he
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.92: +7 -3 lines
Diff to previous 1.92 (colored)

Make it possible to use <sys/disklabel.h> from assembly source by
introducing OMIT_DKTYPENUMS and OMIT_FSTYPENUMS, which omits the
declaration of the enums.  Use this in the vax boot code to make
it build again.  Also use __CONCAT() instead of ##.

Revision 1.92 / (download) - annotate - [select for diffs], Wed Oct 19 21:06:38 2005 UTC (18 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.91: +85 -161 lines
Diff to previous 1.91 (colored)

Use preprocessor magic to get all the info for each DKTYPE and FSTYPE into
a single line.

Revision 1.91 / (download) - annotate - [select for diffs], Sun Jun 12 19:46:17 2005 UTC (18 years, 8 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-vop-base
Branch point for: yamt-vop, yamt-lazymbuf
Changes since 1.90: +8 -2 lines
Diff to previous 1.90 (colored)

Make disklabel(8) and fdisk(8) into "host tools " last step:  build
and install ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-disklabel,
${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-fdisk by "reaching over" to
the sources in ${NETBSDSRCDIR}/sbin/{disklabel fdisk}/.

To avoid clashes with a build-host's header files, especially on
*BSD, the host-tools versions of fdisk and disklabel search for
#includes such as disklabel.h, disklabel_acorn.h, disklabel_gpt.h,
and bootinfo.h in a new #includes namespace, nbinclude/.  That is,
they #include <nbinclude/sys/disklabel.h>, <nbinclude/machine/disklabel.h>,
<nbinclude/sparc64/disklabel.h>, instead of <sys/disklabel.h> and
such.  I have also updated the system headers to #include from
nbinclude/-space when HAVE_NBTOOL_CONFIG_H is #defined.

Revision 1.82.2.5 / (download) - annotate - [select for diffs], Mon Jan 17 19:33:10 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.82.2.4: +3 -1 lines
Diff to previous 1.82.2.4 (colored)

Sync with HEAD.

Revision 1.90 / (download) - annotate - [select for diffs], Fri Jan 7 18:29:15 2005 UTC (19 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base, kent-audio2, kent-audio1-beforemerge
Changes since 1.89: +3 -1 lines
Diff to previous 1.89 (colored)

Add a dtype for flash memory disks.

Revision 1.82.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:38:45 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.82.2.3: +1 -1 lines
Diff to previous 1.82.2.3 (colored)

Fix the sync with head I botched.

Revision 1.82.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:56:30 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.82.2.2: +1 -1 lines
Diff to previous 1.82.2.2 (colored)

Sync with HEAD.

Revision 1.82.2.2 / (download) - annotate - [select for diffs], Fri Sep 3 12:45:55 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.82.2.1: +12 -12 lines
Diff to previous 1.82.2.1 (colored)

Sync with HEAD

Revision 1.89 / (download) - annotate - [select for diffs], Mon Aug 30 16:15:03 2004 UTC (19 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: kent-audio1-base, kent-audio1
Changes since 1.88: +12 -12 lines
Diff to previous 1.88 (colored)

De-__P.

Revision 1.82.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:56:26 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.82: +23 -22 lines
Diff to previous 1.82 (colored)

Sync with HEAD

Revision 1.88 / (download) - annotate - [select for diffs], Fri Nov 14 12:07:42 2003 UTC (20 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.87: +1 -3 lines
Diff to previous 1.87 (colored)

Revert previous; it is not the correct solution to the problem of
the host tool build in usr.sbin/installboot.

Revision 1.87 / (download) - annotate - [select for diffs], Fri Nov 14 08:03:16 2003 UTC (20 years, 3 months ago) by dsl
Branch: MAIN
Changes since 1.86: +3 -1 lines
Diff to previous 1.86 (colored)

Only include machine/disklabel.h if MAXPARTITIONS is undefined.
With care should allow sys/disklabel.h to be used in MI/host code.

Revision 1.86 / (download) - annotate - [select for diffs], Mon Oct 20 13:41:28 2003 UTC (20 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.85: +2 -2 lines
Diff to previous 1.85 (colored)

Include FS_VINUM in FS_MAXTYPES.
Note there are discrepencies between this list, and that of Free/OpenBSD.

Revision 1.85 / (download) - annotate - [select for diffs], Fri Oct 10 02:11:58 2003 UTC (20 years, 4 months ago) by simonb
Branch: MAIN
Changes since 1.84: +17 -17 lines
Diff to previous 1.84 (colored)

Fix "#defined<tab>" nits.

Revision 1.84 / (download) - annotate - [select for diffs], Fri Oct 10 02:02:52 2003 UTC (20 years, 4 months ago) by grog
Branch: MAIN
Changes since 1.83: +5 -0 lines
Diff to previous 1.83 (colored)

Add definitions for Vinum.

Revision 1.70.4.3 / (download) - annotate - [select for diffs], Tue Sep 9 20:07:50 2003 UTC (20 years, 5 months ago) by tron
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002
Changes since 1.70.4.2: +3 -1 lines
Diff to previous 1.70.4.2 (colored) to branchpoint 1.70 (colored) next main 1.71 (colored)

Pull up revision 1.77 (requested by tv in ticket #1454):
Add a type for CGD.

Revision 1.70.4.2 / (download) - annotate - [select for diffs], Tue Sep 9 20:03:44 2003 UTC (20 years, 5 months ago) by tron
Branch: netbsd-1-6
Changes since 1.70.4.1: +8 -2 lines
Diff to previous 1.70.4.1 (colored) to branchpoint 1.70 (colored)

Pull up revision 1.74 (requested by tv in ticket #1454):
add DTYPE_JFS2 and FS_JFS2 for IBM Journaled File System
this is to match FreeBSD's disklabel.h revision 1.73
FreeBSD change was requested by Hiten Pandya <hiten@uk.FreeBSD.org>

Revision 1.83 / (download) - annotate - [select for diffs], Thu Aug 7 16:34:02 2003 UTC (20 years, 6 months ago) by agc
Branch: MAIN
Changes since 1.82: +2 -6 lines
Diff to previous 1.82 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.82 / (download) - annotate - [select for diffs], Sat May 10 23:12:48 2003 UTC (20 years, 9 months ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.81: +4 -2 lines
Diff to previous 1.81 (colored)

Change bounds_check_with_label() to take a pointer to the disk structure,
rather than the label itself.  This paves the way for some future changes.

Revision 1.81 / (download) - annotate - [select for diffs], Fri May 2 08:45:24 2003 UTC (20 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored)

Change return type of readdisklabel() to const char *
I hope I've found all the correct places!

Revision 1.80 / (download) - annotate - [select for diffs], Thu Apr 3 22:18:46 2003 UTC (20 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.79: +2 -1 lines
Diff to previous 1.79 (colored)

Add prototype for bounds_check_with_mediasize

Revision 1.79 / (download) - annotate - [select for diffs], Sat Jan 25 23:17:38 2003 UTC (21 years, 1 month ago) by soren
Branch: MAIN
Changes since 1.78: +3 -1 lines
Diff to previous 1.78 (colored)

Note that the FS_ definitions are for compatibility only.

Revision 1.78 / (download) - annotate - [select for diffs], Fri Jan 24 21:55:18 2003 UTC (21 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.77: +2 -2 lines
Diff to previous 1.77 (colored)

Bump daddr_t to 64 bits. Replace it with int32_t in all places where
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.

Revision 1.67.2.6 / (download) - annotate - [select for diffs], Fri Oct 18 02:45:40 2002 UTC (21 years, 4 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.67.2.5: +14 -2 lines
Diff to previous 1.67.2.5 (colored) next main 1.68 (colored)

Catch up to -current.

Revision 1.69.2.3 / (download) - annotate - [select for diffs], Thu Oct 10 18:44:43 2002 UTC (21 years, 4 months ago) by jdolecek
Branch: kqueue
Changes since 1.69.2.2: +13 -3 lines
Diff to previous 1.69.2.2 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.77 / (download) - annotate - [select for diffs], Fri Oct 4 18:26:31 2002 UTC (21 years, 5 months ago) by elric
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.76: +3 -1 lines
Diff to previous 1.76 (colored)

Add a type for CGD.

Revision 1.76 / (download) - annotate - [select for diffs], Sat Sep 28 20:11:08 2002 UTC (21 years, 5 months ago) by dbj
Branch: MAIN
CVS Tags: kqueue-base
Changes since 1.75: +3 -3 lines
Diff to previous 1.75 (colored)

Add support for the Apple UFS variation on ffs
This is the bulk of PR #17345

The general approach is to use a run time deteriminable value
for DIRBLKSIZ.  Additional allowances are included for using
MAXSYMLINKLEN with FS_42INODEFMT and a shift in the cylinder group
cluster summary count array.  Support is added for managing
the Apple UFS volume label.

Revision 1.75 / (download) - annotate - [select for diffs], Sat Sep 28 00:47:24 2002 UTC (21 years, 5 months ago) by dbj
Branch: MAIN
Changes since 1.74: +7 -3 lines
Diff to previous 1.74 (colored)

add FS_APPLEUFS
part of PR #17345

Revision 1.74 / (download) - annotate - [select for diffs], Sat Sep 28 00:30:24 2002 UTC (21 years, 5 months ago) by dbj
Branch: MAIN
Changes since 1.73: +9 -3 lines
Diff to previous 1.73 (colored)

add DTYPE_JFS2 and FS_JFS2 for IBM Journaled File System
this is to match FreeBSD's disklabel.h revision 1.73
FreeBSD change was requested by Hiten Pandya <hiten@uk.FreeBSD.org>

Revision 1.67.2.5 / (download) - annotate - [select for diffs], Tue Sep 17 21:23:52 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.67.2.4: +0 -4 lines
Diff to previous 1.67.2.4 (colored)

Catch up to -current.

Revision 1.69.2.2 / (download) - annotate - [select for diffs], Fri Sep 6 08:49:53 2002 UTC (21 years, 5 months ago) by jdolecek
Branch: kqueue
Changes since 1.69.2.1: +3 -7 lines
Diff to previous 1.69.2.1 (colored) to branchpoint 1.69 (colored)

sync kqueue branch with HEAD

Revision 1.70.2.3 / (download) - annotate - [select for diffs], Sat Aug 31 16:38:26 2002 UTC (21 years, 6 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.70.2.2: +1 -5 lines
Diff to previous 1.70.2.2 (colored) to branchpoint 1.70 (colored) next main 1.71 (colored)

catch up with -current.

Revision 1.73 / (download) - annotate - [select for diffs], Fri Aug 30 15:43:43 2002 UTC (21 years, 6 months ago) by hannken
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.72: +1 -5 lines
Diff to previous 1.72 (colored)

Remove the old device buffer queue interface.

Approved by: Jason R. Thorpe <thorpej@wasabisystems.com>

Revision 1.67.2.4 / (download) - annotate - [select for diffs], Thu Aug 1 02:46:57 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.67.2.3: +3 -3 lines
Diff to previous 1.67.2.3 (colored)

Catch up to -current.

Revision 1.70.4.1 / (download) - annotate - [select for diffs], Mon Jul 22 04:39:55 2002 UTC (21 years, 7 months ago) by lukem
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored)

Pull up revision 1.72 (requested by yamt in ticket #536):
constify diskerr().

Revision 1.70.2.2 / (download) - annotate - [select for diffs], Mon Jul 15 10:37:12 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.70.2.1: +3 -3 lines
Diff to previous 1.70.2.1 (colored) to branchpoint 1.70 (colored)

catch up with -current.

Revision 1.72 / (download) - annotate - [select for diffs], Fri Jun 28 16:37:20 2002 UTC (21 years, 8 months ago) by yamt
Branch: MAIN
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored)

constify diskerr().

Revision 1.69.2.1 / (download) - annotate - [select for diffs], Sun Jun 23 17:51:54 2002 UTC (21 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.69: +16 -3 lines
Diff to previous 1.69 (colored)

catch up with -current on kqueue branch

Revision 1.67.2.3 / (download) - annotate - [select for diffs], Thu Jun 20 03:50:09 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.67.2.2: +12 -3 lines
Diff to previous 1.67.2.2 (colored)

Catch up to -current.

Revision 1.70.2.1 / (download) - annotate - [select for diffs], Thu May 30 13:52:41 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.70: +12 -3 lines
Diff to previous 1.70 (colored)

Catch up with -current.

Revision 1.71 / (download) - annotate - [select for diffs], Mon May 27 16:36:37 2002 UTC (21 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.70: +12 -3 lines
Diff to previous 1.70 (colored)

turn p_fsize into a union { p_fsize, p_cdsession }; the latter member
is used to store the session offset on multi-session CDs

Revision 1.67.2.2 / (download) - annotate - [select for diffs], Mon Apr 1 07:49:10 2002 UTC (21 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.67.2.1: +5 -1 lines
Diff to previous 1.67.2.1 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.70 / (download) - annotate - [select for diffs], Wed Mar 27 19:07:32 2002 UTC (21 years, 11 months ago) by wrstuden
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6, gehenna-devsw
Changes since 1.69: +5 -1 lines
Diff to previous 1.69 (colored)

Make a definition of FSMAXTYPES always available, as discussed on
tech-kern. Helps validate partition types w/o needing the whole
list of partition type names.

Revision 1.60.4.4 / (download) - annotate - [select for diffs], Tue Jan 29 22:16:37 2002 UTC (22 years, 1 month ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003
Changes since 1.60.4.3: +8 -1 lines
Diff to previous 1.60.4.3 (colored) to branchpoint 1.60 (colored) next main 1.61 (colored)

Pull up revisions 1.68-1.69 (requested by skrll):
  Fix warnings about redefinition if <sys/disklabel.h> is used on
  its own.

Revision 1.60.4.3 / (download) - annotate - [select for diffs], Thu Oct 25 18:05:37 2001 UTC (22 years, 4 months ago) by he
Branch: netbsd-1-5
Changes since 1.60.4.2: +3 -1 lines
Diff to previous 1.60.4.2 (colored) to branchpoint 1.60 (colored)

Apply patch (requested by ad):
  Add Mylex DACC960, CAC-EISA, and I2O block/SCSI drivers.

Revision 1.69.4.1 / (download) - annotate - [select for diffs], Fri Sep 7 04:45:44 2001 UTC (22 years, 5 months ago) by thorpej
Branch: thorpej-devvp
Changes since 1.69: +6 -5 lines
Diff to previous 1.69 (colored) next main 1.70 (colored)

Commit my "devvp" changes to the thorpej-devvp branch.  This
replaces the use of dev_t in most places with a struct vnode *.

This will form the basic infrastructure for real cloning device
support (besides being architecurally cleaner -- it'll be good
to get away from using numbers to represent objects).

Revision 1.60.4.2 / (download) - annotate - [select for diffs], Tue May 1 12:26:56 2001 UTC (22 years, 10 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.60.4.1: +74 -1 lines
Diff to previous 1.60.4.1 (colored) to branchpoint 1.60 (colored)

Pull up revisions 1.64-1.67 (requested by fvdl):
  Increase the number of BSD disklabel partitions on i386 to 16.

Revision 1.53.2.6 / (download) - annotate - [select for diffs], Sat Apr 21 17:47:03 2001 UTC (22 years, 10 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.53.2.5: +3 -1 lines
Diff to previous 1.53.2.5 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)

Sync with HEAD

Revision 1.67.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:59:00 2001 UTC (22 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.67: +8 -1 lines
Diff to previous 1.67 (colored)

Catch up with -current.

Revision 1.69 / (download) - annotate - [select for diffs], Tue Apr 3 20:25:22 2001 UTC (22 years, 11 months ago) by ragge
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf, newlock-base, newlock, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: thorpej-devvp, kqueue
Changes since 1.68: +3 -1 lines
Diff to previous 1.68 (colored)

Protect #include <sys/types.h> by #ifndef _LOCORE. <sys/types.h> isn't
asm-safe.

Revision 1.53.2.5 / (download) - annotate - [select for diffs], Tue Mar 27 15:32:45 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.53.2.4: +5 -0 lines
Diff to previous 1.53.2.4 (colored) to branchpoint 1.53 (colored)

Sync with HEAD.

Revision 1.68 / (download) - annotate - [select for diffs], Wed Mar 14 16:39:33 2001 UTC (22 years, 11 months ago) by drochner
Branch: MAIN
Changes since 1.67: +6 -1 lines
Diff to previous 1.67 (colored)

This file needs <machine/types.h> to DTRT wrt __HAVE_OLD_DISKLABEL.
disklabel(5) doesn't tell to include it explicitely (as other platforms),
so include <sys/types.h> implicitely

Revision 1.60.4.1 / (download) - annotate - [select for diffs], Mon Feb 26 16:49:48 2001 UTC (23 years ago) by he
Branch: netbsd-1-5
Changes since 1.60: +30 -1 lines
Diff to previous 1.60 (colored)

Pull up revision 1.61 (requested by abs):
  Add some support code to allow feature addition to mount:
  If both special and node are given (but no type), the disklabel
  is checked for the file system type before falling back to ffs.

Revision 1.53.2.4 / (download) - annotate - [select for diffs], Thu Jan 18 09:24:01 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.53.2.3: +73 -2 lines
Diff to previous 1.53.2.3 (colored) to branchpoint 1.53 (colored)

Sync with head (for UBC+NFS fixes, mostly).

Revision 1.67 / (download) - annotate - [select for diffs], Mon Jan 8 07:48:59 2001 UTC (23 years, 1 month ago) by enami
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.66: +1 -0 lines
Diff to previous 1.66 (colored)

Missed RCSid in rev. 1.61.

Revision 1.66 / (download) - annotate - [select for diffs], Sun Jan 7 17:55:41 2001 UTC (23 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.65: +71 -1 lines
Diff to previous 1.65 (colored)

Define __HAVE_OLD_DISKLABEL in <machine/types.h> for i386 (where the
other __HAVE_* defines are). Conditionalize definition of old
disklabel struct and ODIOC* definitions on it, allowing other ports
to bump the number of partitions in the label if they want to
(see comment in sys/disklabel.h).

Revision 1.65 / (download) - annotate - [select for diffs], Sat Jan 6 00:35:55 2001 UTC (23 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.64: +1 -1 lines
Diff to previous 1.64 (colored)

#warn is _not_ the GCC CPP directive that gives a warning, #warning is.
(this code has, apparently, always been wrong, but current GCC is kind
enough to warn about unknown CPP directives.)

Revision 1.53.2.3 / (download) - annotate - [select for diffs], Fri Jan 5 17:36:58 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.53.2.2: +2 -0 lines
Diff to previous 1.53.2.2 (colored) to branchpoint 1.53 (colored)

Sync with HEAD

Revision 1.64 / (download) - annotate - [select for diffs], Tue Jan 2 23:06:54 2001 UTC (23 years, 2 months ago) by tron
Branch: MAIN
Changes since 1.63: +2 -0 lines
Diff to previous 1.63 (colored)

Use highest bit of minor as an extra bit for the partition number to
bump the maximum partition number on NetBSD-i386 to 16. (Approved by fvdl)

Revision 1.53.2.2 / (download) - annotate - [select for diffs], Fri Dec 8 09:19:42 2000 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.53.2.1: +2 -2 lines
Diff to previous 1.53.2.1 (colored) to branchpoint 1.53 (colored)

Sync with HEAD.

Revision 1.63 / (download) - annotate - [select for diffs], Sun Nov 26 17:44:03 2000 UTC (23 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored)

lsu -> ld, by popular request.

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:11:29 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.53: +50 -9 lines
Diff to previous 1.53 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.62 / (download) - annotate - [select for diffs], Thu Oct 19 14:27:20 2000 UTC (23 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.61: +2 -0 lines
Diff to previous 1.61 (colored)

Add DTYPE_LSU.

Revision 1.61 / (download) - annotate - [select for diffs], Mon Sep 18 10:48:23 2000 UTC (23 years, 5 months ago) by abs
Branch: MAIN
Changes since 1.60: +30 -1 lines
Diff to previous 1.60 (colored)

If device and mountpoint are given without -t, and without a : in the
device, check the disklabel for filesystem type. Fall back to ffs as ever.

Revision 1.60 / (download) - annotate - [select for diffs], Tue May 16 04:55:58 2000 UTC (23 years, 9 months ago) by perseant
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored)

fsck_lfs can now write to the filesystem, allowing it to correct most
(though still not all) errors in a damaged lfs.  Segment byte accounting
is corrected in pass 5.  "fsck_lfs -p" will do a partial roll-forward,
verifying the checkpoint from the newer superblock.  fscknames[] is
updated so that fsck knows about fsck_lfs.

Revision 1.59 / (download) - annotate - [select for diffs], Wed May 3 18:28:46 2000 UTC (23 years, 10 months ago) by jdolecek
Branch: MAIN
Changes since 1.58: +2 -2 lines
Diff to previous 1.58 (colored)

Make the ntfs entry in fscknames NULL - there is no fsck_ntfs.
Pointed out by Andy Doran in private e-mail.

Revision 1.58 / (download) - annotate - [select for diffs], Wed Apr 5 04:03:21 2000 UTC (23 years, 11 months ago) by enami
Branch: MAIN
Changes since 1.57: +4 -1 lines
Diff to previous 1.57 (colored)

Introduce new filesystem type FS_CCD so that an operator can mark the
ccd component partition.  Note that the ccd driver still allows partitions
of any types as components since an on-disk BSD disklabel isn't available
on some port.

Revision 1.57 / (download) - annotate - [select for diffs], Thu Mar 16 05:16:20 2000 UTC (23 years, 11 months ago) by enami
Branch: MAIN
Changes since 1.56: +4 -4 lines
Diff to previous 1.56 (colored)

Sync disklabel.5 with disklabel.h and dkio.h more closely.

Revision 1.56 / (download) - annotate - [select for diffs], Thu Mar 16 04:58:35 2000 UTC (23 years, 11 months ago) by enami
Branch: MAIN
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored)

s/alternate/alternative/ from rev. 1.5 of disklabel.5.

Revision 1.55 / (download) - annotate - [select for diffs], Fri Feb 11 02:04:42 2000 UTC (24 years ago) by oster
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.54: +4 -1 lines
Diff to previous 1.54 (colored)

Add support for a "RAID" partition type.

Revision 1.54 / (download) - annotate - [select for diffs], Fri Jan 21 23:43:10 2000 UTC (24 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.53: +6 -2 lines
Diff to previous 1.53 (colored)

Update for sys/buf.h/disksort_*() changes.

Revision 1.53.8.1 / (download) - annotate - [select for diffs], Tue Dec 21 23:20:05 1999 UTC (24 years, 2 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.53: +4 -4 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

Initial commit of recent changes to make DEV_BSIZE go away.

Runs on i386, needs work on other arch's. Main kernel routines should be
fine, but a number of the stand programs need help.

cd, fd, ccd, wd, and sd have been updated. sd has been tested with non-512
byte block devices. vnd, raidframe, and lfs need work.

Non 2**n block support is automatic for LKM's and conditional for kernels
on "options NON_PO2_BLOCKS".

Revision 1.53 / (download) - annotate - [select for diffs], Tue Sep 21 03:08:18 1999 UTC (24 years, 5 months ago) by enami
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize, thorpej_scsipi
Changes since 1.52: +4 -2 lines
Diff to previous 1.52 (colored)

Define macro to translate disk unit/partition pair into device minor.

Revision 1.51.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:30:16 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.51: +4 -1 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

Sync w/ -current.

Revision 1.52 / (download) - annotate - [select for diffs], Thu May 6 15:29:23 1999 UTC (24 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.51: +4 -1 lines
Diff to previous 1.51 (colored)

Add NTFS related constants.

Revision 1.51 / (download) - annotate - [select for diffs], Tue Jan 19 06:24:09 1999 UTC (25 years, 1 month ago) by abs
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Changes since 1.50: +1 -11 lines
Diff to previous 1.50 (colored)

Add '-f disktab' option to disklabel, via lib/6623 from
Greg A. Woods <woods@most.weird.com>. (Very) slightly tweaked disklabel.8

Revision 1.50 / (download) - annotate - [select for diffs], Fri Nov 13 01:05:51 1998 UTC (25 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.49: +3 -1 lines
Diff to previous 1.49 (colored)

Add DTYPE_RAID.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Nov 12 15:52:21 1998 UTC (25 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.48: +6 -3 lines
Diff to previous 1.48 (colored)

use one define per static array instead of defining all three with DKTYPENAMES

Revision 1.48 / (download) - annotate - [select for diffs], Tue Oct 6 01:17:27 1998 UTC (25 years, 5 months ago) by mark
Branch: MAIN
CVS Tags: chs-ubc-base, chs-ubc
Changes since 1.47: +4 -4 lines
Diff to previous 1.47 (colored)

ADFS -> FILECORE
ADFS is a IDE instance of the filecore filesystem so rename ADFS to FILECORE
to reflect the underlaying filesystem and to bring this in line with the
filecore filesystem in the tree.

Revision 1.47 / (download) - annotate - [select for diffs], Sun Jul 26 11:24:14 1998 UTC (25 years, 7 months ago) by mycroft
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)

constify some tables.

Revision 1.46 / (download) - annotate - [select for diffs], Sun Jul 26 11:22:11 1998 UTC (25 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

constify some tables.

Revision 1.45 / (download) - annotate - [select for diffs], Sun Jul 26 11:18:19 1998 UTC (25 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

constify some tables.

Revision 1.44 / (download) - annotate - [select for diffs], Sat Jun 13 04:20:24 1998 UTC (25 years, 8 months ago) by tv
Branch: MAIN
Changes since 1.43: +3 -1 lines
Diff to previous 1.43 (colored)

The ATAPI disktype is now rather fixed in stone since a device uses it for
booting (Shark).  Add to mainline.

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:13:51 1998 UTC (26 years ago) by fvdl
Branch: WFJ-920714, CSRG
CVS Tags: lite-2
Changes since 1.1.1.2: +67 -66 lines
Diff to previous 1.1.1.2 (colored)

Import 4.4BSD-Lite2

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:11:00 1998 UTC (26 years ago) by fvdl
Branch: WFJ-920714, CSRG
CVS Tags: lite-1, date-03-may-96
Changes since 1.1.1.1: +26 -58 lines
Diff to previous 1.1.1.1 (colored)

Import 4.4BSD-Lite for reference

Revision 1.43 / (download) - annotate - [select for diffs], Fri Jun 20 15:18:03 1997 UTC (26 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia, bouyer-scsipi
Changes since 1.42: +27 -1 lines
Diff to previous 1.42 (colored)

Move fscknames from fsck.c to here and add ext2fs.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Jan 22 07:09:11 1997 UTC (27 years, 1 month ago) by mikel
Branch: MAIN
CVS Tags: mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Changes since 1.41: +6 -1 lines
Diff to previous 1.41 (colored)

add multiple inclusion protection

Revision 1.41 / (download) - annotate - [select for diffs], Fri May 10 23:07:37 1996 UTC (27 years, 9 months ago) by mark
Branch: MAIN
CVS Tags: thorpej-setroot, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.40: +3 -1 lines
Diff to previous 1.40 (colored)

Added new filesystem type and name.

Revision 1.40 / (download) - annotate - [select for diffs], Mon Apr 22 01:23:13 1996 UTC (27 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.39: +2 -1 lines
Diff to previous 1.39 (colored)

add prototypes from <sys/cpu.h> to the appropriate places

Revision 1.39 / (download) - annotate - [select for diffs], Tue Apr 9 20:55:26 1996 UTC (27 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.38: +5 -5 lines
Diff to previous 1.38 (colored)

fix extra spaces at ends of lines, etc.  (all spacing nits.)

Revision 1.38 / (download) - annotate - [select for diffs], Fri Feb 9 18:25:05 1996 UTC (28 years ago) by christos
Branch: MAIN
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

Filesystem prototype changes

Revision 1.37 / (download) - annotate - [select for diffs], Thu Feb 1 22:33:47 1996 UTC (28 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.36: +7 -7 lines
Diff to previous 1.36 (colored)

LOCORE -> _LOCORE

Revision 1.36 / (download) - annotate - [select for diffs], Tue Jan 30 18:21:46 1996 UTC (28 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.35: +1 -21 lines
Diff to previous 1.35 (colored)

Move disk-specific ioctls out of <sys/disklabel.h> and into <sys/dkio.h>.
<sys/dkio.h> is in turn included by <sys/ioctl.h>, much like how
<sys/filio.h> and <sys/sockio.h> are handled.  This minimizes changes to
existing sources which use the disk ioctls.

Define DIOCLOCK which is used to lock and unlock the pack.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Oct 9 12:00:18 1995 UTC (28 years, 4 months ago) by pk
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.34: +2 -1 lines
Diff to previous 1.34 (colored)

Add DIOCEJECT.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Aug 17 16:26:54 1995 UTC (28 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.33: +5 -1 lines
Diff to previous 1.33 (colored)

Add disk types for the ccd and vnd.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Mar 26 20:23:59 1995 UTC (28 years, 11 months ago) by jtc
Branch: MAIN
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

KERNEL -> _KERNEL

Revision 1.32 / (download) - annotate - [select for diffs], Sun Feb 5 14:09:25 1995 UTC (29 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.31: +1 -5 lines
Diff to previous 1.31 (colored)

make kernel disklabel struct contain bootfile pointers, too, for uniformity.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Dec 13 15:54:52 1994 UTC (29 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.30: +90 -99 lines
Diff to previous 1.30 (colored)

Sync with CSRG.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Oct 17 20:07:03 1994 UTC (29 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

fix two typos.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Oct 14 18:27:56 1994 UTC (29 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.28: +24 -61 lines
Diff to previous 1.28 (colored)

move arch dependence to archs.  clean up a bit.  deal with weird MAXPARTITONS.

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Fri Jul 15 21:26:42 1994 UTC (29 years, 7 months ago) by cgd
Branch: netbsd-1-0
CVS Tags: netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0
Changes since 1.27: +4 -2 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

make this valid C.  from trunk

Revision 1.28 / (download) - annotate - [select for diffs], Fri Jul 15 21:09:38 1994 UTC (29 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.27: +4 -2 lines
Diff to previous 1.27 (colored)

make it valid C

Revision 1.27 / (download) - annotate - [select for diffs], Thu Jun 30 20:37:31 1994 UTC (29 years, 8 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base
Branch point for: netbsd-1-0
Changes since 1.26: +6 -6 lines
Diff to previous 1.26 (colored)

don't wrap lines

Revision 1.26 / (download) - annotate - [select for diffs], Thu Jun 30 20:25:42 1994 UTC (29 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

correct proto

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jun 29 06:43:56 1994 UTC (29 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.24: +2 -1 lines
Diff to previous 1.24 (colored)

New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.24 / (download) - annotate - [select for diffs], Mon Jun 27 19:30:57 1994 UTC (29 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

new standard, minimally intrusive ID format

Revision 1.23 / (download) - annotate - [select for diffs], Wed May 25 06:31:18 1994 UTC (29 years, 9 months ago) by glass
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

add pmax to list of ports which don't do things w/cpu_disklabel

Revision 1.22 / (download) - annotate - [select for diffs], Thu May 19 03:43:33 1994 UTC (29 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.21: +12 -17 lines
Diff to previous 1.21 (colored)

Update prototypes.

Revision 1.21 / (download) - annotate - [select for diffs], Sun May 8 18:21:37 1994 UTC (29 years, 10 months ago) by chopps
Branch: MAIN
Changes since 1.20: +6 -2 lines
Diff to previous 1.20 (colored)

Amiga now has a machine/disklabel.h

Revision 1.20 / (download) - annotate - [select for diffs], Thu Feb 24 01:05:56 1994 UTC (30 years ago) by paulus
Branch: MAIN
CVS Tags: wnvm, nvm-base, nvm
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Add da30 to the list of machines which have an empty cpu_disklabel.
(Seems like it's everyone except i386.)

Revision 1.19 / (download) - annotate - [select for diffs], Wed Feb 23 03:19:41 1994 UTC (30 years ago) by hpeyerl
Branch: MAIN
Changes since 1.18: +1 -5 lines
Diff to previous 1.18 (colored)

Out with arch dependant stuff.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Feb 22 17:23:48 1994 UTC (30 years ago) by hpeyerl
Branch: MAIN
Changes since 1.17: +3 -9 lines
Diff to previous 1.17 (colored)

Move some arch dependant stuff out of here.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Feb 13 23:02:13 1994 UTC (30 years ago) by chopps
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Changed amiga MAXPARTITIONS to 16.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Feb 10 04:19:25 1994 UTC (30 years ago) by briggs
Branch: MAIN
Changes since 1.15: +3 -1 lines
Diff to previous 1.15 (colored)

Add filesystem type for Macintosh HFS.  We recognize it, but not much else
at this point.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jan 28 13:39:53 1994 UTC (30 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

cpu_disklabel needed for sparc

Revision 1.14 / (download) - annotate - [select for diffs], Wed Jan 26 21:43:19 1994 UTC (30 years, 1 month ago) by mw
Branch: MAIN
Changes since 1.13: +8 -2 lines
Diff to previous 1.13 (colored)

Set maximum number of partitions to 32 for amiga.
Add entry for AmigaDOS fast file system.
Add amiga to class of machines not using a custom disklabel.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Jan 18 01:32:06 1994 UTC (30 years, 1 month ago) by brezak
Branch: MAIN
Changes since 1.12: +11 -2 lines
Diff to previous 1.12 (colored)

Includes filesystem types from 4.4

Revision 1.8.2.3 / (download) - annotate - [select for diffs], Sun Jan 16 01:58:47 1994 UTC (30 years, 1 month ago) by deraadt
Branch: magnum
Changes since 1.8.2.2: +3 -1 lines
Diff to previous 1.8.2.2 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

pmax cpu_disklabel struct is empty.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jan 11 16:37:19 1994 UTC (30 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.11: +3 -9 lines
Diff to previous 1.11 (colored)

Get rid of disklabel indirection functions.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jan 9 20:05:38 1994 UTC (30 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.10: +5 -3 lines
Diff to previous 1.10 (colored)

add constants for a couple of disk types.  suggested by downsj@CSOS.ORST.EDU

Revision 1.10 / (download) - annotate - [select for diffs], Thu Dec 23 17:05:41 1993 UTC (30 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.9: +5 -3 lines
Diff to previous 1.9 (colored)

type 9 is ISO-9660

Revision 1.9 / (download) - annotate - [select for diffs], Tue Dec 7 03:25:12 1993 UTC (30 years, 3 months ago) by briggs
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Change mac -> mac68k for cpu_disklabel

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Thu Sep 30 04:25:30 1993 UTC (30 years, 5 months ago) by deraadt
Branch: magnum
Changes since 1.8.2.1: +17 -17 lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored)

delete hopping-functions cpu_{read,write,set}disklabel()

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Fri Sep 24 08:57:50 1993 UTC (30 years, 5 months ago) by mycroft
Branch: magnum
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 (colored)

Changes from trunk.
conf.h, disk.h, disklabel.h: strategy functions return void.  dump functions
take dev, blkno, maddr, and length.
dkstat.h: Add CP_INTR.
mount.h: Make fsid_t a structure with two longs inside, now that quad is gone.
proc.h: Replace p_[us]time with p_[usi]ticks.
systm.h: Don't declare spl*() or psuedo-device attach functions.  Declare
endtsleep().  Change declaration of panic().
types.h: Replace u_quad and quad with u_quad_t and quad_t, which use the GCC
`long long' type.  Modify qaddr_t accordingly.
vnode.h: Change va_size and va_bytes to u_quad_ts.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Sep 1 15:51:21 1993 UTC (30 years, 6 months ago) by glass
Branch: MAIN
CVS Tags: magnum-base
Branch point for: magnum
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored)

sun3 like n-other platforms is currently using the empty cpu_disklabel struct

Revision 1.7 / (download) - annotate - [select for diffs], Wed Sep 1 08:54:36 1993 UTC (30 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

pc532 has an empty cpu_disklabel

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jul 29 21:45:22 1993 UTC (30 years, 7 months ago) by jtc
Branch: MAIN
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

Change "#endif FOO" to "#endif /* FOO */", to keep gcc -Wall, lint, etc.
from complaining about a trivial issue.

Revision 1.5 / (download) - annotate - [select for diffs], Sat May 22 09:00:32 1993 UTC (30 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: netbsd-0-9-patch-001, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

Need to include dkbad.h in one case..

Revision 1.4 / (download) - annotate - [select for diffs], Thu May 20 23:14:55 1993 UTC (30 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +35 -16 lines
Diff to previous 1.3 (colored)

more disklabel changes

Revision 1.3 / (download) - annotate - [select for diffs], Thu May 20 16:22:01 1993 UTC (30 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

add rcs ids as necessary, and also clean up headers

Revision 1.2 / (download) - annotate - [select for diffs], Mon Apr 19 01:22:28 1993 UTC (30 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +6 -0 lines
Diff to previous 1.1 (colored)

Add consistent multiple-inclusion protection.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (30 years, 11 months ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-8, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (30 years, 11 months ago) by cgd
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>