summaryrefslogtreecommitdiff
path: root/sys/dev/ramdisk.c
AgeCommit message (Expand)Author
2008-07-12Make sure the label is read in rdopen(), this isn't the case if youMiod Vallat
2008-06-15Don't bypass partition bounds check for RAW_PART. We now guarantee thatKenneth R Westerback
2008-05-23Make rd act more like a 'normal' disk device, allowing the elimination ofKenneth R Westerback
2008-01-05return with ENOTTY instead of EINVAL for unknown ioctl requests.Brad Smith
2007-09-11KNFGilles Chehade
2007-09-08more M_ZERO changesGilles Chehade
2007-06-20b_cylinder does not need to be set on the callpath down into drivers.Theo de Raadt
2007-06-18avoid modification race in DIOCRLDINFO; ok krw miodTheo de Raadt
2007-06-18Implement DIOCRLDINFO, DIOCGPDINFO and DIOCGPART. Tweak DIOCGDINFO toKenneth R Westerback
2007-06-08all drivers should spoof version 1 labelsTheo de Raadt
2007-06-06now that all partition size/offsets are potentially 64-bit, change theTheo de Raadt
2007-06-05use six new macros to access & store the 48-bit disklabel fields relatedTheo de Raadt
2007-06-01Don't initialize d_partitions[RAW_DISK] just before callingKenneth R Westerback
2007-04-24Pass a real dev_t to readdisklabel(), not a unit number with lipstick.Kenneth R Westerback
2006-09-24Eliminate D_CHAIN, D_ECC and D_RAMDISK flags from disklabel. They wereKenneth R Westerback
2006-08-14Now that DEV_BSIZE is universally defined as 1 << DEV_BSHIFT, use it toKenneth R Westerback
2006-08-12Setting d_secsize to DEV_BSIZE (or 1 << DEV_BSHIFT, or 512) and thenKenneth R Westerback
2005-06-30Do not compile RAMDISK_SERVER functionnality by default if option SMALL_KERNEL;Miod Vallat
2004-04-03Complete 'lp.d_' to 'lp->d_' changes started with r1.24 so that ramdisk_cd andKenneth R Westerback
2004-04-01Better bounds checking in strategy(), and kill the (unused) rd flagsMiod Vallat
2004-01-14Do not fill more than the first three fields of cfdriver structures unlessMiod Vallat
2003-10-21typos from Tom Cosgrove;Jason McIntyre
2003-04-19Some string cleanup: sprintf -> snprintf and magic numbers to sizeofKenneth R Westerback
2003-03-03Provide a functional d_psize() function for ramdisk block devices.Miod Vallat
2002-05-23Protect biodone calls with splbio.Artur Grabowski
2002-03-14First round of __P removal in sysTodd C. Miller
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
2001-10-24Use macros from sys/disklabel.h instead of custom ones with slightlyTodd C. Miller
2001-09-19merge vm/vm_kern.h into uvm/uvm_extern.h; art@ okMichael Shalayeff
2001-07-08Add missing call to minor() in RDLABELDEV macro.Todd C. Miller
2001-06-27zap old vmArtur Grabowski
2001-05-16No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)Hakan Olsson
1999-11-16We don't need a prototype for kmem_alloc.Artur Grabowski
1999-09-14vaddr_t/vsize_tMichael Shalayeff
1999-02-26compatibility with uvm kmem allocatorsArtur Grabowski
1998-10-03Add a "spoofonly" argument to readdisklabel() which will be used toTodd C. Miller
1997-10-18avoid "no disklabel" error messagesTheo de Raadt
1997-02-06Changes to ramdisk driver to support disklabels. Work done by Theo.Dale S. Rahn
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-04-18NetBSD 960317 mergeNiklas Hallqvist
1996-01-12from netbsd;Theo de Raadt
1995-11-19from netbsd; get size of softc rightTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt