summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_disk.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Tweak FAT detection/usage. Recognize 'bare' FAT media that lackskrw2012-04-071-8/+13
* Some whitespace/paren tweaks. Rename the mbr testing variable fromkrw2012-03-311-6/+6
* DUIDs are only valid when booting off of a disk, so make sure we arephessler2012-02-101-15/+18
* When disklabels can't be read before attempting to mount root, makekrw2012-01-211-3/+9
* Do not wait for DKF_OPENED to be set if we never actually created ajsing2012-01-211-2/+3
* Ensure that all disk attach callbacks have completed before attemptingjsing2012-01-161-2/+16
* Always set DKF_OPENED in the disk attach callback.jsing2012-01-131-5/+7
* Restore previous behaviour - only print the DUID if we used it tojsing2012-01-131-4/+4
* If the DUID of the boot disk has not been provided, attempt to locate itjsing2012-01-111-1/+13
* Move softraid root mapping to later in the boot process - this will allowjsing2012-01-111-1/+9
* Avoid the use of an invalid disklabel by setting a DK_LABELVALID flagjsing2011-12-281-5/+11
* An all-zero DUID is considered to be a blank DUID - ensure that we do notjsing2011-12-281-4/+5
* Move the prototype for disk_readlabel to the .h file so that hibernatederaadt2011-09-211-2/+1
* Do not use the `hh' modifier in printf format strings, as the kernel printfmiod2011-09-181-4/+4
* No need to byte-swap d_checksum just before setting it to zero.krw2011-07-261-2/+1
* On several archs (e.g. hppa, sgi, macppc) readdoslabel() is called after an attempt tokrw2011-07-061-2/+3
* Eliminate redundant buf validation checks in xxstrategy() methods nowmatthew2011-07-061-2/+2
* Add checks for sector-alignment and whole number of sectors tomatthew2011-07-051-17/+24
* Refactor some common open/close/detach disk driver code intomatthew2011-06-301-1/+58
* Minor cleanup for disk_lock() and disk_unlock().matthew2011-06-191-7/+3
* Add disk_lock_nointr() as a way to acquire the disk lock without beingmatthew2011-06-191-1/+7
* Kill the "lockname" argument to disk_construct().matthew2011-06-191-3/+3
* Get rid of the wlabel argument to bounds_check_with_label(). It'smatthew2011-06-031-2/+2
* Add device_ref/device_unref calls to prevent a possible use-after-freematthew2011-06-011-1/+6
* spacesmarco2011-04-281-4/+4
* Allow the root device to be identified via its disklabel UID.jsing2011-04-261-1/+27
* Use 'CLR(<buf>->b_flags, B_READ | B_WRITE | B_DONE)' regardless ofkrw2011-04-161-3/+3
* In days of yore one could arbitrarily whack buffer flags. Those dayskrw2011-04-151-3/+5
* Repair spoofing. We want to start at 'i', not 'j'.krw2011-03-191-6/+2
* Uncommitted bits. Spotted by deraadt@, who theorizes I have insuffientkrw2011-03-171-2/+2
* Don't confuse limiting spoofed partitions with limiting how manykrw2011-03-141-5/+9
* Ensure that hw.disknames gets updated whenever a disklabel is set, sincejsing2010-11-241-1/+4
* Do not #include <sys/dkstat.h> if you don't need anything from it.miod2010-11-181-2/+1
* Fixes before-boot umass hangs on units without media.deraadt2010-09-241-35/+20
* The only sensible argument for VOP_* calls that take a struct proc pointer isoga2010-09-231-3/+3
* When a disk is attached create a workq task to read the disklabel,jsing2010-09-231-1/+35
* Introduce a disk_lookup() function which calls device_lookup(), beforejsing2010-09-081-1/+26
* Store a struct device pointer within struct disk and populate this whenjsing2010-09-081-9/+12
* Do not panic in parsedisk() for ``second class'' block devices (which we can'tmiod2010-09-011-2/+2
* Add a device number to struct disk and populate it on disk attach. Whilstjsing2010-08-301-1/+11
* - fix compilation of kernel without FFS...don't ask ;-)jasper2010-08-181-3/+3
* Factor out code used to read a disklabel. We'll be making use of this soon.jsing2010-06-271-28/+56
* Provide a disk_map() function which attempts to map a disklabel UID to thejsing2010-05-031-4/+74
* When setting a disklabel automatically generate a new UID if it does notjsing2010-04-281-2/+17
* introducing a 64-bit type to the disklabel structure leads some architecturesderaadt2010-04-251-2/+2
* Recycle unused disklabel fields in order to create a disklabel uniquejsing2010-04-231-5/+2
* fix typos in comments, no code changes;schwarze2010-01-141-2/+2
* Negative offset or negative size in a buf is invalid. Treat just like otherkrw2010-01-111-6/+3
* Replace the error strings that were being passed around with much simplerderaadt2009-08-131-25/+27
* Make dk_mmountroot use vnodes instead of d_open/d_close. This does uglymarco2009-08-091-7/+12