@related : HardDisk FileSystem OpticalDisk Drives Archive

Disk are media storage from vinyle to CDRom including floppies and HardDisk or DVD

see CD roms Drives


Don't scream on your disk :

[[Software]] : http://www.framasoft.org/article1453.html

[[UDF]] / DIRECTCD / packet writting

The UDF filesystem is based on the ISO/IEC 13346 standard, now ECMA-167

mount -t udf -o rw /dev/scd0  /mnt/tmp
mount: block device /dev/scd0 is write-protected, mounting read-only
zcat /proc/config.gz | grep UDF

CONFIG_UDF_FS: This is the new file system used on some CD-ROMs and DVDs.

Say Y if you intend to mount DVD discs or CDRW's written in packet mode, or if written to by other UDF utilities, such as DirectCD.



cat /usr/src/linux-2.6.3/Documentation/filesystems/udf.txt
Write support requires a block driver which supports writing.
The current scsi and ide cdrom drivers do not support writing.





Packet writing on CD/DVD media
UDF files systems support (read only)
   UDF write support (DANGEROUS
make bzImage
make modules
make modules_install
alias block-major-97 pktcdvd
mknod /dev/pktcdvd0 b 97 0
cdrwtool -d /dev/scd0 -q
pktsetup /dev/pktcdvd0 /dev/scd0
mount /dev/pktcdvd0 /mnt/cdrom -t udf -o rw,noatime
appliquer les patchs bien sûr avant de compiler le noyau


root@2[[root]]# pktsetup /dev/pktcdvd0 /dev/sr0
open packet device: No such device or address

Warning u will get at most 540M on 650M CDRom


K3b is a cdrecorder (like windows' nero burning rom) how to make is usable for users (not looged as root) ? how to get blank CDROM exact size ? what about overburnin ? I heard that it is possible to store data as a single stream ?

To burn .bin/.cue files

# /usr/bin/cdrecord -v gracetime=2 dev=0,0,0 speed=1 -dao driveropts=burnfree -cuefile  file.cue
Cdrecord-Clone 2.01a19 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg  Schilling
TOC Type: 1 = CD-ROM
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
Driveropts: 'burnfree'
SCSI buffer size: 64512
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'HP      '
Identifikation : 'CD-Writer+ 9100b'
Revision       : '1.07'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC SWABAUDIO
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1024000 = 1000 KB
FIFO size      : 4194304 = 4096 KB
cdrecord.mmap: Unsupported sector size 2352 for data on line 2 in 'file.cue'.


cdrecord.mmap: WARNING: Drive returns wrong startsec (0) using -150

CD-ROM CRD-8482B to patch for mdk



disk.txt · Last modified: 2020/09/08 20:42 (external edit)
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki