Home
last modified time | relevance | path

Searched refs:cdrom (Results 1 – 25 of 37) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Dstorage_common.c231 if (curlun->cdrom) { in fsg_lun_open()
244 if (curlun->cdrom) { in fsg_lun_open()
360 return sprintf(buf, "%u\n", curlun->cdrom); in fsg_show_cdrom()
470 bool cdrom; in fsg_store_cdrom() local
473 ret = strtobool(buf, &cdrom); in fsg_store_cdrom()
478 ret = cdrom ? _fsg_store_ro(curlun, true) : 0; in fsg_store_cdrom()
481 curlun->cdrom = cdrom; in fsg_store_cdrom()
Df_mass_storage.h12 bool cdrom[FSG_MAX_LUNS]; member
39 _FSG_MODULE_PARAM_ARRAY(prefix, params, cdrom, bool, \
91 char cdrom; member
Df_mass_storage.c1074 buf[0] = curlun->cdrom ? TYPE_ROM : TYPE_DISK; in do_inquiry()
1919 if (!common->curlun || !common->curlun->cdrom) in do_scsi_command()
1931 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()
Dstorage_common.h106 unsigned int cdrom:1; member
/kernel/linux/linux-5.10/Documentation/cdrom/
Dindex.rst4 cdrom title
10 cdrom-standard
Dcdrom-standard.rst62 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
164 declared above are all implemented in `cdrom.c`, since this file is the
[all …]
Dide-cd.rst104 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 …]
Dpacket-writing.rst27 # 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
/kernel/linux/linux-5.10/Documentation/ide/
Dide.rst90 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 …]
DChangeLog.ide-cd.1994-200450 * 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.
/kernel/linux/linux-5.10/Documentation/userspace-api/ioctl/
Dcdrom.rst11 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 …]
Dindex.rst14 cdrom
/kernel/linux/linux-5.10/drivers/cdrom/
DMakefile2 obj-$(CONFIG_CDROM) += cdrom.o
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dconfigfs-usb-gadget-mass-storage31 cdrom Flag specifying that LUN shall be reported as
/kernel/linux/linux-5.10/drivers/ide/
Dide.c236 module_param_named(cdrom, ide_cdroms, ide_dev_mask, 0);
237 MODULE_PARM_DESC(cdrom, "force device as a CD-ROM");
/kernel/linux/linux-5.10/Documentation/networking/device_drivers/ethernet/dlink/
Ddl2k.rst86 [root@XXX /] mkdir cdrom
87 [root@XXX /] mount -r -t iso9660 -o conv=auto /dev/cdrom /cdrom
91 [root@XXX dl2k] cp /cdrom/linux/dl2k.tgz /root/dl2k
/kernel/linux/linux-5.10/drivers/block/xen-blkback/
Dxenbus.c482 int cdrom) in xen_vbd_create() argument
513 if (vbd->bdev->bd_disk->flags & GENHD_FL_CD || cdrom) in xen_vbd_create()
713 int cdrom = 0; in backend_changed() local
751 cdrom = strcmp(device_type, "cdrom") == 0; in backend_changed()
767 !strchr(be->mode, 'w'), cdrom); in backend_changed()
/kernel/linux/linux-5.10/Documentation/scsi/
Dscsi.rst31 as a module). The disk driver (sd_mod.o), cdrom driver (sr_mod.o),
Dscsi-changer.rst70 I test and use the driver myself with a 35 slot cdrom jukebox from
177 for a old, second-hand (but full functional) cdrom jukebox which I use
/kernel/linux/linux-5.10/Documentation/filesystems/
Dsharedsubtree.rst168 The system administrator can make the mount at /cdrom shared::
170 mount --bind /cdrom /cdrom
171 mount --make-shared /cdrom
174 mount at /cdrom which is a replica of the same mount in the
177 So when a CD is inserted and mounted at /cdrom that mount gets
178 propagated to the other mount at /cdrom in all the other clone
/kernel/linux/linux-5.10/Documentation/admin-guide/sysctl/
Dindex.rst70 dev/ device specific information (eg dev/cdrom/info)
/kernel/linux/linux-5.10/drivers/
DMakefile98 obj-y += cdrom/
/kernel/linux/linux-5.10/Documentation/admin-guide/nfs/
Dnfsroot.rst275 - Booting from a cdrom using isolinux
277 When building kernels, an easy way to create a bootable cdrom that
287 This can be written to a cdrom using a variety of tools including
/kernel/linux/linux-5.10/Documentation/
Dindex.rst104 cdrom/index
/kernel/linux/linux-5.10/Documentation/usb/
Dmass-storage.rst87 - cdrom=b[,b...]
220 1. In FSG the “removable” and “cdrom” module parameters set the flag

12