Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 306448 Details for
Bug 448048
CDROMMULTISESSION returns xa_flag=1 for non-multisession CDs
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
CDROMMULTISESSION test program
cdmstest.c (text/plain), 544 bytes, created by
David Hull
on 2008-05-23 05:32:49 UTC
(
hide
)
Description:
CDROMMULTISESSION test program
Filename:
MIME Type:
Creator:
David Hull
Created:
2008-05-23 05:32:49 UTC
Size:
544 bytes
patch
obsolete
>#include <fcntl.h> >#include <stdio.h> >#include <stdlib.h> >#include <string.h> >#include <sys/stat.h> >#include <sys/types.h> > >#include <linux/cdrom.h> > >int >main() >{ > int fd; > struct cdrom_multisession ms; > int ret; > > fd = open("/dev/cdrom", O_RDONLY); > if (fd < 0) { perror("open"); exit(1); } > > memset(&ms, 0, sizeof ms); > > ms.addr_format = CDROM_LBA; > ret = ioctl(fd, CDROMMULTISESSION, &ms); > if (ret < 0) { perror("ioctl"); exit(1); } > > printf("fmt:%d xa_flag:%d addr:%d\n", ms.addr_format, ms.xa_flag, ms.addr.lba); > > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 448048
: 306448