Searched refs:disklabel (Results 1 - 25 of 62) sorted by relevance

123

/freebsd-11-stable/sbin/bsdlabel/
H A DMakefile12 LINKS= ${BINDIR}/bsdlabel ${BINDIR}/disklabel
13 MLINKS= bsdlabel.8 disklabel.8
H A Dbsdlabel.c51 static char sccsid[] = "@(#)disklabel.c 8.2 (Berkeley) 1/7/94";
52 /* from static char sccsid[] = "@(#)disklabel.c 1.2 (Symmetric) 11/28/85"; */
67 #include <sys/disklabel.h>
82 static void makelabel(const char *, struct disklabel *);
86 static void display(FILE *, const struct disklabel *);
89 static void fixlabel(struct disklabel *);
92 static int getasciilabel(FILE *, struct disklabel *);
93 static int getasciipartspec(char *, struct disklabel *, int, int);
94 static int checklabel(struct disklabel *);
96 static struct disklabel *getvirginlabe
[all...]
/freebsd-11-stable/sbin/sunlabel/
H A DMakefile10 LINKS= ${BINDIR}/sunlabel ${BINDIR}/disklabel
11 MLINKS= sunlabel.8 disklabel.8
/freebsd-11-stable/sys/sys/
H A Ddisklabel.h29 * @(#)disklabel.h 8.2 (Berkeley) 7/10/94
72 struct disklabel { struct
148 CTASSERT(sizeof(struct disklabel) == 148 + MAXPARTITIONS * 16);
151 static __inline u_int16_t dkcksum(struct disklabel *lp);
153 dkcksum(struct disklabel *lp)
291 * Functions for proper encoding/decoding of struct disklabel into/from
295 int bsd_disklabel_le_dec(u_char *ptr, struct disklabel *d, int maxpart);
297 void bsd_disklabel_le_enc(u_char *ptr, struct disklabel *d);
301 struct disklabel *getdiskbyname(const char *);
/freebsd-11-stable/sbin/newfs/
H A Druntest01.sh13 disklabel -r -w md$MD auto
14 disklabel -r -w md$ME auto
H A Druntest00.sh13 disklabel -r -w md$MD auto
H A Dnewfs.c59 #include <sys/disklabel.h>
122 static struct disklabel *getdisklabel(char *s);
132 struct disklabel *lp;
427 struct disklabel *
430 static struct disklabel lab;
431 struct disklabel *lp;
/freebsd-11-stable/sys/arm/arm/
H A Dautoconf.c56 #include <sys/disklabel.h>
/freebsd-11-stable/lib/libc/gen/
H A Ddisklabel.c31 static char sccsid[] = "@(#)disklabel.c 8.2 (Berkeley) 5/3/95";
39 #include <sys/disklabel.h>
61 struct disklabel *
64 static struct disklabel disk;
65 struct disklabel *dp = &disk;
/freebsd-11-stable/stand/efi/boot1/
H A Dufs_module.c39 #include <sys/disklabel.h>
82 struct disklabel *dl;
117 dl = (struct disklabel *)&buffer[bs];
119 dl = (struct disklabel *)&buffer[BSD_LABEL_OFFSET];
/freebsd-11-stable/sbin/geom/class/journal/
H A Dgeom_journal_ufs.c33 #include <sys/disklabel.h>
/freebsd-11-stable/usr.sbin/crunch/examples/
H A Dfilesystem.conf16 progs disklabel fdisk init mount newfs reboot umount
H A Dfixit.conf24 progs badsect chown clri disklabel dump dmesg fdisk fsck ifconfig init
/freebsd-11-stable/usr.bin/mkimg/
H A Dbsd.c36 #include <sys/disklabel.h>
73 struct disklabel *d;
84 memset(buf + secsz, 0, sizeof(struct disklabel));
/freebsd-11-stable/contrib/netbsd-tests/kernel/
H A Dt_umountstress.sh58 atf_check -o ignore -e ignore disklabel -f disktab -rw ${VND} floppy288
143 atf_check -o ignore -e ignore disklabel -f disktab -rw ${VND} floppy288
H A Dt_umount.sh59 atf_check -o ignore -e ignore disklabel -f disktab -rw ${VND} floppy288
/freebsd-11-stable/contrib/netbsd-tests/dev/dm/
H A Dh_dm.c36 #include <sys/disklabel.h>
/freebsd-11-stable/sys/geom/
H A Dgeom_bsd_enc.c37 * Functions to encode and decode struct disklabel and struct partition into
48 #include <sys/disklabel.h>
68 bsd_disklabel_le_dec(u_char *ptr, struct disklabel *d, int maxpart)
147 bsd_disklabel_le_enc(u_char *ptr, struct disklabel *d)
/freebsd-11-stable/sbin/clri/
H A Dclri.c49 #include <sys/disklabel.h>
/freebsd-11-stable/lib/libufs/
H A Dinode.c33 #include <sys/disklabel.h>
H A Dblock.c34 #include <sys/disklabel.h>
H A Dsblock.c33 #include <sys/disklabel.h>
/freebsd-11-stable/rescue/rescue/
H A DMakefile151 CRUNCH_ALIAS_bsdlabel= disklabel
166 CRUNCH_ALIAS_bsdlabel= disklabel
/freebsd-11-stable/stand/common/
H A Dpart.c33 #include <sys/disklabel.h>
465 struct disklabel *dl;
472 if (table->sectorsize < sizeof(struct disklabel)) {
485 dl = (struct disklabel *)buf;
987 struct disklabel *lp;
1085 * Now we have the slice offset, look for the partition in the disklabel if we have
1096 DEBUG("error reading disklabel");
1099 DEBUG("copy %d bytes of label from %p to %p", sizeof(struct disklabel), buf + LABELOFFSET, &od->od_disklabel);
1100 bcopy(buf + LABELOFFSET, &od->od_disklabel, sizeof(struct disklabel));
1105 DEBUG("no disklabel");
[all...]
/freebsd-11-stable/sbin/badsect/
H A Dbadsect.c56 #include <sys/disklabel.h>

Completed in 142 milliseconds

123