/Linux-v5.4/drivers/usb/gadget/function/ |
D | storage_common.c | 231 if (curlun->cdrom) { in fsg_lun_open() 244 if (curlun->cdrom) { in fsg_lun_open() 358 return sprintf(buf, "%u\n", curlun->cdrom); in fsg_show_cdrom() 468 bool cdrom; in fsg_store_cdrom() local 471 ret = strtobool(buf, &cdrom); in fsg_store_cdrom() 476 ret = cdrom ? _fsg_store_ro(curlun, true) : 0; in fsg_store_cdrom() 479 curlun->cdrom = cdrom; in fsg_store_cdrom()
|
D | f_mass_storage.h | 12 bool cdrom[FSG_MAX_LUNS]; member 39 _FSG_MODULE_PARAM_ARRAY(prefix, params, cdrom, bool, \ 91 char cdrom; member
|
D | f_mass_storage.c | 1073 buf[0] = curlun->cdrom ? TYPE_ROM : TYPE_DISK; in do_inquiry() 1918 if (!common->curlun || !common->curlun->cdrom) in do_scsi_command() 1930 if (!common->curlun || !common->curlun->cdrom) in do_scsi_command() 2722 return lun->cdrom ? S_IRUGO : (S_IWUSR | S_IRUGO); in fsg_lun_dev_is_visible() 2763 lun->cdrom = !!cfg->cdrom; in fsg_common_create_lun() 2764 lun->ro = cfg->cdrom || cfg->ro; in fsg_common_create_lun() 2808 lun->cdrom ? "CD-ROM " : "", in fsg_common_create_lun() 2859 pn ?: ((*common->luns)->cdrom in fsg_common_set_inquiry_string() 3096 CONFIGFS_ATTR(fsg_lun_opts_, cdrom); 3457 lun->cdrom = !!params->cdrom[i]; in fsg_config_from_params()
|
D | storage_common.h | 106 unsigned int cdrom:1; member
|
/Linux-v5.4/Documentation/cdrom/ |
D | index.rst | 4 cdrom chapter 10 cdrom-standard
|
D | cdrom-standard.rst | 62 which was expressed through `cdrom.h`, it appeared to be a rather wild 85 in the file `cdrom.c`. This driver is intended to be an additional software 98 programmer's interface defined in `cdrom.h`. This guide was written to 100 Driver code defined in `cdrom.c`. 133 CD-ROM drivers\' header files to the kernel's cdrom directory. This was 134 done to help ensure that the user is only presented with only one cdrom 135 interface, the interface defined in `cdrom.h`. 139 of common **CD-ROM device operations**, *<cdrom-device>_dops*. 144 in the file `cdrom.c`. In this file, the Uniform CD-ROM Driver interfaces 165 declared above are all implemented in `cdrom.c`, since this file is the [all …]
|
D | ide-cd.rst | 104 5. You may want to create a symbolic link /dev/cdrom pointing to the 107 ln -s /dev/hdX /dev/cdrom 122 mount -t iso9660 /dev/cdrom /mnt/cdrom 124 where it is assumed that /dev/cdrom is a link pointing to the actual 125 device (as described in step 5 of the last section) and /mnt/cdrom is 127 CDROM under the /mnt/cdrom directory. If you want to eject the CDROM, 130 umount /mnt/cdrom 137 You should feel free to remove the cdrom line from /etc/fstab and 189 form `hdX=cdrom`, where X is the drive letter corresponding to 193 hdX: ATAPI cdrom (?) [all …]
|
D | packet-writing.rst | 27 # mount /dev/pktcdvd/dev_name /cdrom -t udf -o rw,noatime 42 # mount /dev/pktcdvd/dev_name /cdrom -t udf -o rw,noatime 56 # mount /dev/hdc /cdrom -t udf -o rw,noatime 69 # mount /dev/pktcdvd/dev_name /cdrom -t udf -o rw,noatime
|
/Linux-v5.4/Documentation/ide/ |
D | ide.rst | 90 ide_core.cdrom=[interface_number.device_number] 94 ide_core.chs=1.0:1050,32,64 ide_core.cdrom=1.1 118 Courtesy of Scott Snyder and others, the driver supports ATAPI cdrom drives 122 If for some reason your cdrom drive is *not* found at boot time, you can force 126 ide_core.cdrom=1.0 /* "master" on second interface (hdc) */ 130 ide_core.cdrom=1.1 /* "slave" on second interface (hdd) */ 133 interface (/dev/hda) and an IDE cdrom drive on the secondary interface 134 (/dev/hdc). To mount a CD in the cdrom drive, one would use something like:: 136 ln -sf /dev/hdc /dev/cdrom 137 mkdir /mnt/cdrom [all …]
|
D | ChangeLog.ide-cd.1994-2004 | 50 * Read total cdrom capacity during open. 86 * problem with "hde=cdrom" with no drive present. -ml 116 * -- Integrate with generic cdrom driver. 127 * using the generic cdrom driver. 209 * packet interface to cdrom.c.
|
/Linux-v5.4/Documentation/ioctl/ |
D | cdrom.rst | 11 in drivers/cdrom/cdrom.c and drivers/block/scsi_ioctl.c 13 ioctl values are listed in <linux/cdrom.h>. As of this writing, they 23 CDROMSTOP Stop the cdrom drive 24 CDROMSTART Start the cdrom drive 25 CDROMEJECT Ejects the cdrom media 91 are defined in <linux/cdrom.h> 257 Stop the cdrom drive 282 Start the cdrom drive 308 - Ejects the cdrom media 467 - As of 2.6.8.1, comments in <linux/cdrom.h> indicate that this [all …]
|
D | index.rst | 15 cdrom
|
D | ioctl-number.rst | 89 0x20 all drivers/cdrom/cm206.h 183 'S' all linux/cdrom.h conflict! 309 0x90 00 drivers/cdrom/sbpcd.h
|
/Linux-v5.4/drivers/cdrom/ |
D | Makefile | 2 obj-$(CONFIG_CDROM) += cdrom.o
|
/Linux-v5.4/Documentation/ABI/testing/ |
D | configfs-usb-gadget-mass-storage | 28 cdrom - Flag specifying that LUN shall be reported as
|
/Linux-v5.4/drivers/ide/ |
D | ide.c | 236 module_param_named(cdrom, ide_cdroms, ide_dev_mask, 0); 237 MODULE_PARM_DESC(cdrom, "force device as a CD-ROM");
|
/Linux-v5.4/Documentation/networking/device_drivers/dlink/ |
D | dl2k.txt | 76 [root@XXX /] mkdir cdrom 77 [root@XXX /] mount -r -t iso9660 -o conv=auto /dev/cdrom /cdrom 81 [root@XXX dl2k] cp /cdrom/linux/dl2k.tgz /root/dl2k
|
/Linux-v5.4/drivers/block/xen-blkback/ |
D | xenbus.c | 445 int cdrom) in xen_vbd_create() argument 476 if (vbd->bdev->bd_disk->flags & GENHD_FL_CD || cdrom) in xen_vbd_create() 674 int cdrom = 0; in backend_changed() local 712 cdrom = strcmp(device_type, "cdrom") == 0; in backend_changed() 728 !strchr(be->mode, 'w'), cdrom); in backend_changed()
|
/Linux-v5.4/Documentation/scsi/ |
D | scsi.txt | 27 as a module). The disk driver (sd_mod.o), cdrom driver (sr_mod.o),
|
D | scsi-changer.txt | 66 I test and use the driver myself with a 35 slot cdrom jukebox from 172 for a old, second-hand (but full functional) cdrom jukebox which I use
|
/Linux-v5.4/Documentation/filesystems/ |
D | sharedsubtree.txt | 157 The system administrator can make the mount at /cdrom shared 158 mount --bind /cdrom /cdrom 159 mount --make-shared /cdrom 162 mount at /cdrom which is a replica of the same mount in the 165 So when a CD is inserted and mounted at /cdrom that mount gets 166 propagated to the other mount at /cdrom in all the other clone
|
/Linux-v5.4/drivers/ |
D | Makefile | 94 obj-y += cdrom/
|
/Linux-v5.4/Documentation/admin-guide/sysctl/ |
D | index.rst | 70 dev/ device specific information (eg dev/cdrom/info)
|
/Linux-v5.4/Documentation/ |
D | index.rst | 102 cdrom/index
|
/Linux-v5.4/Documentation/filesystems/nfs/ |
D | nfsroot.txt | 275 3.2) Booting from a cdrom using isolinux 277 When building kernels, an easy way to create a bootable cdrom that 286 This can be written to a cdrom using a variety of tools including
|