NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Question Re used CD-RW



On Thu, 23 Jan 2025, Todd Gruhn wrote:
Uhhhh, yah. But why doesnt 'mount -r -t cd9660 /dev/cd0a /cdrom'
work?

Isnt  cd9660  a type of udf ? What am I not understanding?

Not exactly... cd9660 is ISO 9660, which isn't the same as UDF. However, it's possible to make a hybrid CD that is both ISO 9660 and UDF. If it's a hybrid CD, both "mount -t cd9660" and "mount -t udf" will work. However, newfs_udf makes a UDF-only filesystem, so "mount -t cd9660" won't work on filesystems it creates.

mkisofs can create a hybrid ISO 9660 and UDF filesystem, but I'm pretty sure you can't use commands like "cp" and "rm" to modify it like it was a regular read/write disk--it's more for write-once CD-Rs and DVD-Rs.
--
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: khym%azeotrope.org@localhost |  they raise a paw / the bat, the cat /
                         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 49 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++


Home | Main Index | Thread Index | Old Index