NoMoreDevfs

Attachment 'd-i-dev.txt'

Download

   1 ./arch/alpha/aboot-installer/debian/postinst:132:rootdev=`chroot /target df / | sed -n -e'/^\/dev/ { s/[[:space:]].*//; p }'`
   2 ./arch/alpha/aboot-installer/debian/postinst:83:	| sed -n -e'/^\/dev/ { s/[[:space:]].*//; p }'`
   3 ./arch/i386/lilo-installer/debian/postinst:116:if echo "${bootdev}" | grep -q '^/dev/md'; then
   4 ./arch/i386/lilo-installer/debian/postinst:154:if [ "${raid_boot}" = no ] && (! fdisk -l "$disc_offered_devfs" | grep '^/dev/' | grep -q '\*'); then
   5 ./arch/i386/lilo-installer/debian/postinst:26:	# Map from /dev/mapper/<vg>-<lv> to /dev/<vg>/<lv>
   6 ./arch/i386/lilo-installer/debian/postinst:27:	vglv=${1#/dev/mapper/}
   7 ./arch/i386/lilo-installer/debian/postinst:32:		lvdisplay -c "/dev/$vg/$lv"| sed 's/^[^:]*:\([^:]*\):.*$/\1/'
   8 ./arch/i386/lilo-installer/debian/postinst:58:if [ "$prefix" != /dev/md ]; then
   9 ./arch/i386/lilo-installer/debian/postinst:92:          /dev/ide*|/dev/discs/*|/dev/scsi/*|/dev/md/*)
  10 ./arch/i386/lilo-installer/debian/postinst:99:	  /dev/[hs]d[a-z]*|/dev/md*)
  11 ./arch/m68k/vmelilo-installer/debian/postinst:40:        /dev/scsi*)
  12 ./arch/mips/sibyl-installer/debian/postinst:32:bootfs_no_dev=${bootfs#/dev/}
  13 ./arch/mipsel/colo-installer/debian/postinst:31:bootfs_no_dev=${bootfs#/dev/}
  14 ./arch/s390/dasd/dasd.c:281:		snprintf (dev, sizeof (dev), "/dev/dasd/%04x/device", dasd_current->device);
  15 ./autopartkit/autopartkit.c:716: *  /dev/rd/disc0/disc
  16 ./autopartkit/autopartkit.c:717: *  /dev/ide/host0/bus0/target0/lun0/disc
  17 ./autopartkit/lvm.c:216:        asprintf(&devpath, "/dev/%s/%s", vgname, lvname);
  18 ./autopartkit/mapdevfs.c:107:        ret = snprintf(buf, n, "/dev/%s%c%c", e->name, 'a' + unit / 26, 'a' + unit % 26);
  19 ./autopartkit/mapdevfs.c:110:        ret = snprintf(buf, n, "/dev/%s%c", e->name, 'a' + unit);
  20 ./autopartkit/mapdevfs.c:90:      ret = snprintf(buf, n, "/dev/%s", e->name);
  21 ./autopartkit/mapdevfs.c:96:      ret = snprintf(buf, n, "/dev/%s%d", e->name, unit);
  22 ./base-installer/debian/postinst:328:		mkdir -p /target/dev/mapper
  23 ./base-installer/debian/postinst:329:		if [ ! -e /target/dev/mapper/control ] ; then
  24 ./base-installer/debian/postinst:332:			mknod /target/dev/mapper/control c $major $minor
  25 ./hw-detect/disk-detect.sh:42:			if [ -n "$(ls /dev/discs/ 2>/dev/null)" ]; then
  26 ./kbd-chooser/getfd.c:61:    fd = open_a_console("/dev/vc/0");
  27 ./libdebian-installer/src/system/devfs.c:143:  strcat (buf, "/dev/");
  28 ./lowmem/partman/init.d/05lowmem_modules:8:if [ -d /dev/discs ]; then
  29 ./lvmcfg/lvmcfg.sh:274:		addinfos_lv "/dev/$1/$i"
  30 ./lvmcfg/lvmcfg.sh:392:	if [ -e "/dev/$NAME" ]; then
  31 ./lvmcfg/lvmcfg.sh:724:	log-output -t lvmcfg lvremove -f /dev/${VG}/${LV}
  32 ./mdcfg/mdcfg.sh:176:	`mdadm --create /dev/md/${MD_NUM} --auto=yes --force -R -l raid0 -n ${SELECTED} ${RAID_DEVICES}`
  33 ./mdcfg/mdcfg.sh:25:	db_subst mdcfg/deleteverify DEVICE "/dev/${DEVICE}"
  34 ./mdcfg/mdcfg.sh:312:	`mdadm --create /dev/md/${MD_NUM} --auto=yes --force -R -l raid1 -n ${DEV_COUNT} -x ${SPARE_COUNT} ${RAID_DEVICES} ${MISSING_DEVICES} ${SPARE_DEVICES} ${MISSING_SPARES}`
  35 ./mdcfg/mdcfg.sh:36:      DEVICES=`mdadm -Q --detail /dev/md/${NUMBER} | grep "\(active\|spare\)" | sed -e 's/.* //'`
  36 ./mdcfg/mdcfg.sh:37:			mdadm --stop /dev/md/${NUMBER}
  37 ./mdcfg/mdcfg.sh:38:			echo "Removing /dev/md/$NUMBER" > /var/log/mdcfg.log
  38 ./mdcfg/mdcfg.sh:452:	`mdadm --create /dev/md/${MD_NUM} --auto=yes --force -R -l raid5 -n ${DEV_COUNT} -x ${SPARE_COUNT} ${RAID_DEVICES} ${SPARE_DEVICES} ${MISSING_SPARES}`
  39 ./mdcfg/mdcfg.sh:484:mkdir -p /dev/md
  40 ./mountfloppy/mountfloppy:34:	FLOPPYDEV=/dev/floppy/0
  41 ./mountfloppy/mountfloppy:8:	for dev in `find /dev/floppy /dev/scsi /dev/ide /dev/disc`; do
  42 ./nobootloader/debian/postinst:33:		kind=`echo $bootfs_devfs | sed -e 's%/dev/%%' -e 's%/host.*$%%'`
  43 ./oldsys-preseed/oldsys-preseed:48:		parse_sysconf "/dev/$sysconf"
  44 ./oldsys-preseed/oldsys-preseed:81:			mount -t minix /dev/$config $path/mnt
  45 ./os-prober/os-prober:35:				raidpart="/dev/$(echo $word | sed "s:\[.*$::")"
  46 ./partconf/README:14:/dev/ide/host0/bus0/target0/lun0/part1 kinda sucks to read, and uses a lot
  47 ./partconf/README:15:of space too :) same for scsi. I think it's OK to have /dev/volgrp/vol1
  48 ./partconf/README:27: /dev/ide/host0/bus0/target0/lun0/part2 -> "IDE1 master, part. 2"
  49 ./partconf/README:28: /dev/ide/host0/bus1/target1/lun0/part1 -> "IDE2 slave, part. 1"
  50 ./partconf/README:35:  /dev/scsi/host0/bus0/target0/lun5/part1 -> "SCSI1 (0,0,5), part. 1"
  51 ./partconf/README:38:* /dev/md/X is translated to "RAID logical volume X"
  52 ./partconf/README:40:  /dev/md/0 -> "RAID logical volume 0"
  53 ./partconf/TODO:4:* Friendlier info than /dev/ide/...
  54 ./partconf/find-parts.c:102:        sprintf(name, "/dev/md/%d", volno);
  55 ./partconf/find-parts.c:206:            if (strstr(p->path, "/dev/ide/") == p->path) {
  56 ./partconf/find-parts.c:20:// /dev/<group>/<volume> and there's info in
  57 ./partconf/find-parts.c:210:                if (sscanf(p->path, "/dev/ide/host%d/bus%d/target%d/lun%d/part%d",
  58 ./partconf/find-parts.c:217:            } else if (strstr(p->path, "/dev/scsi/") == p->path) {
  59 ./partconf/find-parts.c:220:                if (sscanf(p->path, "/dev/scsi/host%d/bus%d/target%d/lun%d/part%d",
  60 ./partconf/find-parts.c:54:// /dev/evms/<volume> and there's info in
  61 ./partconf/find-parts.c:65:    if (strstr(p->path, "/dev/evms/") != p->path)
  62 ./partconf/find-parts.c:83:// RAID volumes are /dev/md/# for numbers #
  63 ./partconf/find-parts.c:84:// Stats are found in /dev/mdstats
  64 ./partconf/find-parts.c:94:    if (strstr(p->path, "/dev/md/") != p->path)
  65 ./partconf/fstab-common:1:$/dev/floppy/0	/floppy	auto	rw,user,noauto
  66 ./partconf/fstab-common:2:$/dev/cdroms/cdrom0	/cdrom	auto	ro,user,noauto
  67 ./partitioner/main.c:32:	devdir = opendir("/dev/discs");
  68 ./partitioner/main.c:50:		asprintf(&fullname, "%s/%s/%s", "/dev/discs",
  69 ./partman/partman-auto-lvm/lvm_tools.sh:69:	log-output -t partman-auto-lvm lvremove -f /dev/$1/$2
  70 ./partman/partman-auto-lvm/perform_recipe_by_lvm:81:	device=/dev/mapper/"$VG_name"-"$lvname"
  71 ./partman/partman-base/definitions.sh:476:	/dev/ide/host*/bus[01]/target[01]/lun0/disc)
  72 ./partman/partman-base/definitions.sh:477:	    host=`echo $1 | sed 's,/dev/ide/host\(.*\)/bus.*/target[01]/lun0/disc,\1,'`
  73 ./partman/partman-base/definitions.sh:478:	    bus=`echo $1 | sed 's,/dev/ide/host.*/bus\(.*\)/target[01]/lun0/disc,\1,'`
  74 ./partman/partman-base/definitions.sh:479:	    target=`echo $1 | sed 's,/dev/ide/host.*/bus.*/target\([01]\)/lun0/disc,\1,'`
  75 ./partman/partman-base/definitions.sh:482:	    linux=${linux#/dev/}
  76 ./partman/partman-base/definitions.sh:491:	/dev/ide/host*/bus[01]/target[01]/lun0/part*)
  77 ./partman/partman-base/definitions.sh:492:	    host=`echo $1 | sed 's,/dev/ide/host\(.*\)/bus.*/target[01]/lun0/part.*,\1,'`
  78 ./partman/partman-base/definitions.sh:493:	    bus=`echo $1 | sed 's,/dev/ide/host.*/bus\(.*\)/target[01]/lun0/part.*,\1,'`
  79 ./partman/partman-base/definitions.sh:494:	    target=`echo $1 | sed 's,/dev/ide/host.*/bus.*/target\([01]\)/lun0/part.*,\1,'`
  80 ./partman/partman-base/definitions.sh:495:	    part=`echo $1 | sed 's,/dev/ide/host.*/bus.*/target[01]/lun0/part\(.*\),\1,'`
  81 ./partman/partman-base/definitions.sh:498:	    linux=${linux#/dev/}
  82 ./partman/partman-base/definitions.sh:530:	/dev/scsi/host*/bus*/target*/lun*/disc)
  83 ./partman/partman-base/definitions.sh:531:	    host=`echo $1 | sed 's,/dev/scsi/host\(.*\)/bus.*/target.*/lun.*/disc,\1,'`
  84 ./partman/partman-base/definitions.sh:532:	    bus=`echo $1 | sed 's,/dev/scsi/host.*/bus\(.*\)/target.*/lun.*/disc,\1,'`
  85 ./partman/partman-base/definitions.sh:533:	    target=`echo $1 | sed 's,/dev/scsi/host.*/bus.*/target\(.*\)/lun.*/disc,\1,'`
  86 ./partman/partman-base/definitions.sh:534:	    lun=`echo $1 | sed 's,/dev/scsi/host.*/bus.*/target.*/lun\(.*\)/disc,\1,'`
  87 ./partman/partman-base/definitions.sh:537:	    linux=${linux#/dev/}
  88 ./partman/partman-base/definitions.sh:541:	/dev/scsi/host*/bus*/target*/lun*/part*)
  89 ./partman/partman-base/definitions.sh:542:	    host=`echo $1 | sed 's,/dev/scsi/host\(.*\)/bus.*/target.*/lun.*/part.*,\1,'`
  90 ./partman/partman-base/definitions.sh:543:	    bus=`echo $1 | sed 's,/dev/scsi/host.*/bus\(.*\)/target.*/lun.*/part.*,\1,'`
  91 ./partman/partman-base/definitions.sh:544:	    target=`echo $1 | sed 's,/dev/scsi/host.*/bus.*/target\(.*\)/lun.*/part.*,\1,'`
  92 ./partman/partman-base/definitions.sh:545:	    lun=`echo $1 | sed 's,/dev/scsi/host.*/bus.*/target.*/lun\(.*\)/part.*,\1,'`
  93 ./partman/partman-base/definitions.sh:546:	    part=`echo $1 | sed 's,/dev/scsi/host.*/bus.*/target.*/lun.*/part\(.*\),\1,'`
  94 ./partman/partman-base/definitions.sh:549:	    linux=${linux#/dev/}
  95 ./partman/partman-base/definitions.sh:595:	/dev/cciss/*)
  96 ./partman/partman-base/definitions.sh:596:	    # /dev/cciss/hostN/targetM/disc is 2.6 form
  97 ./partman/partman-base/definitions.sh:597:	    # /dev/cciss/discM/disk seems to be 2.4 form
  98 ./partman/partman-base/definitions.sh:598:	    line=`echo $1 | sed 's,/dev/cciss/\([a-z]*\)\([0-9]*\)/\(.*\),\1 \2 \3,'`
  99 ./partman/partman-base/definitions.sh:620:	    linux=${linux#/dev/}
 100 ./partman/partman-base/definitions.sh:629:	/dev/md/*)
 101 ./partman/partman-base/definitions.sh:635:	/dev/mapper/*)
 102 ./partman/partman-base/definitions.sh:643:	        mapping=${1#/dev/mapper/}
 103 ./partman/partman-base/definitions.sh:647:	        # LVM2 devices are found as /dev/mapper/<vg>-<lv>.  If the vg
 104 ./partman/partman-base/definitions.sh:652:	        vglv=${1#/dev/mapper/}
 105 ./partman/partman-base/definitions.sh:660:	/dev/loop/*)
 106 ./partman/partman-base/definitions.sh:661:	    n=${1#/dev/loop/}
 107 ./partman/partman-base/definitions.sh:667:	    vg=`echo "$1" | sed -e 's,/dev/\([^/]\+\).*,\1,'`
 108 ./partman/partman-base/definitions.sh:668:	    lv=`echo "$1" | sed -e 's,/dev/[^/]\+/,,'`
 109 ./partman/partman-base/init.d/parted:26:	    sed 's,^/dev/ide,!/dev/ide,' | 
 110 ./partman/partman-base/init.d/parted:27:	    sed 's,^/dev/scsi,!/dev/scsi,' | 
 111 ./partman/partman-crypto/crypto_tools.sh:200:		  cryptdev="/dev/mapper/$cryptdev"
 112 ./partman/partman-crypto/crypto_tools.sh:44:			/dev/loop*)
 113 ./partman/partman-crypto/crypto_tools.sh:49:			/dev/mapper/*)
 114 ./partman/partman-crypto/crypto_tools.sh:70:		n=${n#/dev/loop}
 115 ./partman/partman-crypto/crypto_tools.sh:78:			echo /dev/loop/$n
 116 ./partman/partman-crypto/crypto_tools.sh:86:		if [ ! -b "/dev/mapper/crypt$n" ]; then
 117 ./partman/partman-crypto/finish.d/crypto_config:5:#			from /dev/loop/.. to their real devices and adjusts options.
 118 ./partman/partman-lvm/choose_method/lvm/choices:11:if grep -q "/dev/md" $dev/device; then
 119 ./partman/partman-lvm/init.d/lvm:62:	    /dev/mapper/*)
 120 ./partman/partman-lvm/init.d/lvm:63:		vglv=${device#/dev/mapper/}
 121 ./partman/partman-lvm/undo.d/lvm:54:	    /dev/mapper/*)
 122 ./partman/partman-lvm/undo.d/lvm:55:		vglv=${device#/dev/mapper/}
 123 ./partman/partman-md/init.d/md-devices:26:	echo "/dev/md/${NUMBER}" > ${DEVICE}/device
 124 ./partman/partman-md/init.d/md-devices:38:	open_dialog OPEN "/dev/md/${NUMBER}"
 125 ./partman/partman-md/init.d/md:62:#	echo "/dev/md/${NUMBER}" > ${DEVICE}/device
 126 ./partman/partman-md/init.d/md:65:#	open_dialog OPEN "/dev/md/${NUMBER}"
 127 ./partman/partman-target/finish.d/fstab_removable_media_entries:102:		    dev=$(mapdevfs $(find /dev/scsi/host$host/ -type b | grep /disc))
 128 ./partman/partman-target/finish.d/fstab_removable_media_entries:43:CDDEV=$(grep /cdrom /proc/mounts | cut -d ' ' -f 1 | grep -v ^/dev/loop)
 129 ./partman/partman-target/finish.d/fstab_removable_media_entries:51:for dev in /dev/cdroms/*; do
 130 ./partman/partman-target/finish.d/fstab_removable_media_entries:71:for dev in /dev/floppy/?; do
 131 ./partman/partman-target/finish.d/fstab_removable_media_entries:94:	        for dev in $(find /dev/scsi/host$host/ -type b); do
 132 ./rootskel/src-bootfloppy/sbin/init:101:			if [ -d /dev/scsi ]; then
 133 ./rootskel/src-bootfloppy/sbin/init:102:				DEVS="$DEVS `find /dev/scsi`"
 134 ./rootskel/src-bootfloppy/sbin/init:98:			if [ -d /dev/floppy ]; then
 135 ./rootskel/src-bootfloppy/sbin/init:99:				DEVS=/dev/floppy/?
 136 ./rootskel/src/lib/debian-installer/detect-console-linux:3:		/dev/console|/dev/tts/*)
 137 ./rootskel/src/lib/debian-installer/detect-console-linux:6:		/dev/vc/*)
 138 ./rootskel/src/lib/debian-installer/init-udev-devices:16:makedir 755 /dev/rd
 139 ./rootskel/src/lib/debian-installer/init-udev-devices:17:makedev 660 /dev/rd/0 b 1 0
 140 ./rootskel/src/lib/debian-installer/init-udev-devices:18:makedir 755 /dev/vc
 141 ./rootskel/src/lib/debian-installer/init-udev-devices:20:	makedev 600 /dev/vc/"$i" c 4 "$i"
 142 ./rootskel/src/lib/debian-installer/init-udev-devices:22:makedir 755 /dev/tts
 143 ./rootskel/src/lib/debian-installer/init-udev-devices:24:	makedev 600 /dev/tts/"$i" c 4 "$(($i + 64))"
 144 ./rootskel/src/sbin/init:41:	                        rm -f /dev/vc/$i
 145 ./userdevfs/S10userdevfs:5:   ( [ ! -e /.dev ] && [ ! -e /dev/.devfsd ] ); then
 146 ./userdevfs/debian/rules:26:	mknod debian/$(PACKAGE)/dev/rd/0 b 1 0
 147 ./userdevfs/debian/rules:31:	mknod debian/$(PACKAGE)/dev/vc/0 c 4 0
 148 ./userdevfs/debian/rules:32:	mknod debian/$(PACKAGE)/dev/vc/1 c 4 1
 149 ./userdevfs/debian/rules:33:	mknod debian/$(PACKAGE)/dev/vc/2 c 4 2
 150 ./userdevfs/debian/rules:34:	mknod debian/$(PACKAGE)/dev/vc/3 c 4 3
 151 ./userdevfs/debian/rules:35:	mknod debian/$(PACKAGE)/dev/vc/4 c 4 4
 152 ./userdevfs/debian/rules:37:	mknod debian/$(PACKAGE)/dev/fb/0 c 29 0
 153 ./userdevfs/init-dev:14:if [ ! -d $ROOT/dev/vc ]; then
 154 ./userdevfs/init-dev:16:	mkdir -p $ROOT/dev/vc
 155 ./userdevfs/init-dev:18:		mknod $ROOT/dev/vc/$i c 4 $i
 156 ./userdevfs/init-dev:22:if [ ! -d $ROOT/dev/loop ]; then
 157 ./userdevfs/init-dev:24:	mkdir -p $ROOT/dev/loop
 158 ./userdevfs/init-dev:26:		mknod $ROOT/dev/loop/$i b 7 $i 
 159 ./userdevfs/init-dev:30:if [ ! -d $ROOT/dev/floppy ]; then
 160 ./userdevfs/init-dev:32:	mkdir -p $ROOT/dev/floppy
 161 ./userdevfs/init-dev:33:	mknod $ROOT/dev/floppy/0 b 2 0
 162 ./userdevfs/init-dev:36:if [ ! -d $ROOT/dev/cdroms ]; then
 163 ./userdevfs/init-dev:38:	mkdir -p $ROOT/dev/cdroms
 164 ./userdevfs/init-dev:44:			if [ ! -b $ROOT/dev/$i ]; then
 165 ./userdevfs/init-dev:54:			ln -sf $ROOT/dev/$i /dev/cdroms/cdrom$CNT
 166 ./userdevfs/init-dev:64:			if [ ! -b $ROOT/dev/$i ]; then
 167 ./userdevfs/init-dev:65:				mknod $ROOT/dev/$i b 11 $CNT
 168 ./userdevfs/init-dev:67:			ln -sf $ROOT/dev/$i $ROOT/dev/cdroms/cdrom$CNT
 169 ./userdevfs/init-dev:70:		if [ ! -e $ROOT/dev/cdrom ]; then
 170 ./userdevfs/init-dev:71:			ln -sf $ROOT/dev/scd0 $ROOT/dev/cdrom
 171 ./userdevfs/update-dev:14:		mkdir -p $ROOT/dev/discs/disc$discnr
 172 ./userdevfs/update-dev:17:			mkdir -p $ROOT/dev/$dir
 173 ./userdevfs/update-dev:19:		if [ ! -e $ROOT/dev/$disc ]; then
 174 ./userdevfs/update-dev:20:			mknod $ROOT/dev/$disc b $major $minor
 175 ./userdevfs/update-dev:22:		ln -s $ROOT/dev/$disc $ROOT/dev/discs/disc$discnr/disc 
 176 ./userdevfs/update-dev:24:		if [ ! -e $ROOT/dev/$disc ]; then
 177 ./userdevfs/update-dev:25:			mknod $ROOT/dev/$disc b $major $minor
 178 ./userdevfs/update-dev:27:		ln -s $ROOT/dev/$disc $ROOT/dev/discs/disc$discnr/part$minor
 179 ./userdevfs/update-dev:3:rm -rf $ROOT/dev/discs
 180 ./userdevfs/update-dev:4:mkdir -p $ROOT/dev/discs

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2006-06-05 17:09:13, 14.5 KB) [[attachment:d-i-dev.txt]]
 All files | Selected Files: delete move to page

You are not allowed to attach a file to this page.