summaryrefslogtreecommitdiff
path: root/sys/kern/subr_disk.c
AgeCommit message (Expand)Author
2007-12-23protect the disk statistics with a mutex.David Gwynne
2007-12-16panic on negative blkno or size; ok kettenis@ deraadt@Otto Moerbeek
2007-11-09Make disklabel aware of NTFS.Joel Sing
2007-09-07Use M_ZERO in a few more places to shave bytes from the kernel.Artur Grabowski
2007-08-05Move some printf's about disklabel disksize and RAW_PART size/offsetKenneth R Westerback
2007-08-05Use d_partitions[DISKPART(dev)] rather that d_partitions +Kenneth R Westerback
2007-06-25use daddr64_t for size in bounds_check_with_label(); prompted by miod@;Otto Moerbeek
2007-06-20b_cylinder does not need to be set on the callpath down into drivers.Theo de Raadt
2007-06-17significantly simplified disklabel infrastructure. MBR handling becomes MITheo de Raadt
2007-06-10when we change fields in the label to version 1, fix the checksum (but onlyTheo de Raadt
2007-06-09blocks/sectors != blocks/blocks. Fix calculation of b_cylinder inKenneth R Westerback
2007-06-09The differences in the last non-homogeneous bounds_check_with_label()Kenneth R Westerback
2007-06-09silently whack wrong-sized C partitionsTheo de Raadt
2007-06-09handle C non-0 start after doing v1 converstion.. sighTheo de Raadt
2007-06-09by hand i carefully found that all the differences in setdisklabel()Theo de Raadt
2007-06-09be even more forceful with RAW_PART (and note this is the wrong, and temporar...Theo de Raadt
2007-06-09push RAW_PART to 0 if it is non-zero, and bitchTheo de Raadt
2007-06-06fix format strings for block #'s now that they are 64 bit; ok tedu (whoTheo de Raadt
2007-06-06now that all partition size/offsets are potentially 64-bit, change theTheo de Raadt
2007-06-06oopsTheo de Raadt
2007-06-06even more problems with disk size consistancy checksTheo de Raadt
2007-06-05use six new macros to access & store the 48-bit disklabel fields relatedTheo de Raadt
2007-06-04disable a part of the label validation because some Sun systemsTheo de Raadt
2007-06-02Rename cvtdisklabelv1 -> disklabeltokernlabel. It does more than justKenneth R Westerback
2007-06-01Add two constraints to V1 disklabels:Kenneth R Westerback
2007-05-29Updated disklabel format to support larger disks and partitions. WeOtto Moerbeek
2007-05-18Dont write to the string passed to parsedisk(), ok deraadt@Dale Rahn
2007-05-18in case of pre-configured nfs, we must assume that the bootdv is the rootdvTheo de Raadt
2007-05-15now that setroot() prints nice things like:Theo de Raadt
2007-05-10also print where (primary) swap and dumps are; ok miodTheo de Raadt
2007-05-05Kill disk_find and disk_resetstat that noone uses. If you ever needArtur Grabowski
2007-05-04when we are in ramdisk mode, we must also disable any previous mountrootTheo de Raadt
2007-05-04make findblkmajor() and findblkname() MI; ok miodTheo de Raadt
2007-05-04setroot() was a ugly mix of MI and MD code, with different bugs on differentTheo de Raadt
2007-03-30replace lockmgr locks with rwlocks. these are no longer recursive, but theyDavid Gwynne
2007-03-27Remove an #ifdef LFS chunk from dk_mountroot();Thordur I. Bjornsson
2006-05-11One more (!foo & BAR) bogus test.Miod Vallat
2005-12-09ansi and deregister. No binary change.Jonathan Gray
2005-11-19Remove unnecessary lockmgr() archaism that was costing too much in termsPedro Martelletto
2004-12-26Use list and queue macros where applicable to make the code easier to read;Miod Vallat
2004-11-01check for malloc() in bufq_default_alloc(), ok tedu@Pedro Martelletto
2004-10-25remove dead 'ifdef tahoe' code, ok millert@ deraadt@Pedro Martelletto
2004-06-24This moves access to wall and uptime variables in MI code,Thorsten Lockert
2004-02-15new arg to disk_unbusy, to record separate read/write statistics.Ted Unangst
2004-01-21dynamic bufq support. basically a nullop. ok grange@Ted Unangst
2003-06-25implement new means of manipulating buf queues, bufq.Ted Unangst
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2001-05-14Set a flag whenever a disk is added/removed, so sysctl knows when toAngelos D. Keromytis
2000-11-07No need for extern struct proc *curproc.Artur Grabowski