summaryrefslogtreecommitdiff
path: root/lib/libdisk/disk.c
AgeCommit message (Expand)Author
2012-12-30With the old sade removed, libdisk is no longer used by anything in HEADNathan Whitehorn
2008-05-04 Add MIPS support to libdiskOleksandr Tymoshenko
2008-02-15- Make Disk_Names() behave as documented in libdisk(3): return an arrayAntoine Brodin
2006-04-25o Add IDs for Plan9, QNX4.X, Mac OS-X, Linux exteneded partitions.Maxim Konovalov
2006-01-25Add a dummy arm Write_Disk() function, and compile libdisk on arm.Olivier Houchard
2005-04-13Merge two slice_type_name() functions.Yoshihiro Takahashi
2004-12-22Plug memory leak.Pyun YongHyeon
2004-11-10Add 0xbf (191) as new Solaris partition identifier.Poul-Henning Kamp
2004-05-16Remove spurious semicolons. Outside of functions they are actually errors butStefan Farfeleder
2004-04-21PowerPC support.Peter Grehan
2004-03-30Make libdisk WARNS=4 clean.Jun Kuriyama
2003-11-02o Move Int_Open_Disk() from disk.c to open_disk.c for use by allMarcel Moolenaar
2003-08-28Ignore ccd(4)'s. This is not the best solution, but it at least removesDavid E. O'Brien
2003-06-07Sanity check the list obtained from the kern.disks sysctl so that Disk_Names()Scott Long
2003-04-30Teach libdisk that AMD64 works just like i386Peter Wemm
2003-04-30Only define platform once -- in a C file.David E. O'Brien
2003-04-04Libdisk does not need to include <sys/diskslice.h> any more.Poul-Henning Kamp
2003-03-17Ignore GBDE devices.Poul-Henning Kamp
2003-01-10Use the fstype obtained from the GEOM dumpconf output to set the fstypeJohn Baldwin
2002-12-26Return an error if the size of the sector is zero. This is for removableYoshihiro Takahashi
2002-11-17- Ease sanity check to get cylinders.Yoshihiro Takahashi
2002-11-15Fixed style(9)Yoshihiro Takahashi
2002-11-13Handle EFI partitions the same as regular FAT partitions. The onlyMarcel Moolenaar
2002-11-11Remove debugging printfs.Poul-Henning Kamp
2002-11-10Add efi to the list of types for which we need to return tha name.Marcel Moolenaar
2002-11-08- Recognize FAT partition on MBR and PC98 disks.Yoshihiro Takahashi
2002-11-08Don't set a value to a variable that we don't use.John Baldwin
2002-11-07Fixed pc98 support.Yoshihiro Takahashi
2002-11-03Initialize d->bios_cyl. We know the media size in sectors, the numberMarcel Moolenaar
2002-11-02Add support for GPT:Marcel Moolenaar
2002-11-02Don't claim all MBR's have subtype 165 on i386.Poul-Henning Kamp
2002-10-31Set the sector size for the disk.Poul-Henning Kamp
2002-10-31Restore to pc98 support.Yoshihiro Takahashi
2002-10-31Actually save the bootblock in the disk structure. Write the bootblockJake Burkholder
2002-10-29Getting closer to getting things right:Poul-Henning Kamp
2002-10-29Since make release is toast anyway, add wood to the pyre:Poul-Henning Kamp
2002-10-27Add back ia64 support that was removed in the last few revisions.Peter Wemm
2002-10-24#ifdef out assignToPartition on non x86 arches to unbreak the worldAndrew Gallatin
2002-10-23More lobotomy:Poul-Henning Kamp
2002-10-23Rely on sysctl kern.disks to be there, and get rid of one of the far tooPoul-Henning Kamp
2002-10-23Untangle #ifdefs in the write-end of things by giving each arch itsPoul-Henning Kamp
2002-10-23- The GEOM system does not work on pc98.Yoshihiro Takahashi
2002-10-23Add the new extra argument also in the alpha case.Poul-Henning Kamp
2002-10-22Avoid a lot of #ifdef PC98 code by giving a couple of the Chunk functionsPoul-Henning Kamp
2002-10-22Swing the weed-whacker around libdisk:Poul-Henning Kamp
2002-10-21Sigh, d_ntracks, not d_nheads.Poul-Henning Kamp
2002-10-21fwheads and fwsectors got swapped underway.Poul-Henning Kamp
2002-10-20Another baby step toward getting sysinstall working:Sam Leffler
2002-10-19o since you can't use DIOCGDINFO and DIOCGSLICEINFO on drive nodes with geom,Sam Leffler
2002-10-17o ioctl DIOCGDINFO error wasn't checkedSam Leffler