MOUNT_CD9660(8)

๐Ÿ“ฆ
version 15.1 ยท 2 versions
, in freebsd 15.1

๐Ÿ’ฟ mount_cd9660(8) โ€” the "let me open this CD for u" girlie โœจ

okay so real talk: this is the section 8 manual page for mount_cd9660, and she's literally the one who makes your shiny little ISO-9660 disc show up in your file tree. iconic behavior only. ๐ŸŽ€


๐ŸŒธ SYNOPSIS ๐ŸŒธ

mount_cd9660 [-begjrv] [-C charset] [-G gid] [-m mask] [-M mask]
             [-o options] [-s startsector] [-U uid] special node

โœจ DESCRIPTION โœจ

okay bestie, here's the vibe: the mount_cd9660 utility attaches the ISO-9660 file system that's chilling on the device special to the global file system namespace, at the location that node points to. it's giving "moving in together but for disks" ๐Ÿซถ

and ngl, this command is normally executed by mount(8) at boot time โ€” so it's not even you doing it, the system is doing it behind the scenes. main character energy but make it automated ๐Ÿ’…

the options are as follows:

  • -b โ€” relax checking for the Supplementary Volume Descriptor Flags field, which is set to a wrong value on some Joliet formatted disks. like, some disks are just messy and we're being nice about it ๐Ÿ˜ญ
  • -e โ€” enable the use of extended attributes. yes queen, metadata.
  • -g โ€” do not strip version numbers on files. (by default, if there are files with different version numbers on the disk, only the last one will be listed.) in either case, files may be opened without explicitly stating a version number. so like... it works either way, this just changes the listing vibe ๐Ÿ‘‘
  • -G group โ€” set the group of the files in the file system to group. the default gid on volumes without extended attributes or Rockridge extensions is zero.
  • -U user โ€” set the owner of the files in the file system to user. the default uid on volumes without extended attributes or Rockridge extensions is zero.
  • -m mask โ€” specify the maximum file permissions for files in the file system. for example, a mask of 544 limits the owner to read and execute permissions for files and others to only read permission. see chmod(1) for more information about octal file modes. the default mask is 7777. the default permissions on volumes without extended attributes or Rockridge extensions is 555. math girlie hours fr fr ๐Ÿงฎ
  • -M mask โ€” specify the maximum file permissions for directories in the file system. see the previous option's description for details โ€” same energy, but for folders ๐Ÿ“
  • -j โ€” do not use any Joliet extensions included in the file system. bye Joliet ๐Ÿ‘‹
  • -o โ€” options are specified with a -o flag followed by a comma separated string of options. see the mount(8) man page for possible options and their meanings. the following cd9660 specific options are available:
    • extatt โ€” same as -e.
    • gens โ€” same as -g.
    • nojoliet โ€” same as -j.
    • norrip โ€” same as -r.
    • brokenjoliet โ€” same as -b.

(yes they're all just the flags again with cuter names, iykwk ๐Ÿ’€)

  • -r โ€” do not use any Rockridge extensions included in the file system.
  • -s startsector โ€” start the file system at startsector. normally, if the underlying device is a CD-ROM drive, mount_cd9660 will try to figure out the last track from the CD-ROM containing data, and start the file system there. if the device is not a CD-ROM, or the table of contents cannot be examined, the file system will be started at sector 0. this option can be used to override the behaviour. note that startsector is measured in CD-ROM blocks, with 2048 bytes each โ€” same as for example the info command of cdcontrol(1) is printing. it is possible to mount an arbitrary session of a multi-session CD by specifying the correct startsector here. multi-session CDs stay winning ๐ŸŒˆ
  • -C charset โ€” specify local charset to convert Unicode file names when using Joliet extensions. so your filenames don't come out looking like a cursed incantation ๐Ÿ˜ญ
  • -v โ€” be verbose about the starting sector decisions made. she'll narrate her choices to you, and honestly? we love a transparent queen ๐Ÿ’–

๐Ÿฆ‹ EXAMPLES ๐Ÿฆ‹

the following command can be used to mount a Kodak Photo-CD:

mount_cd9660 -o rw -v -s 0 /dev/cd0 /cdrom

look at her go. -o rw, verbose, starts at sector 0, device /dev/cd0, mounted at /cdrom. periodt. ๐Ÿ”ฅ


๐ŸŒŸ SEE ALSO ๐ŸŒŸ

cdcontrol(1), mount(2), unmount(2), cd9660(4), fstab(5), mdconfig(8), mount(8)

(the friend group ๐Ÿ’œ)


๐ŸŽ€ HISTORY ๐ŸŽ€

the mount_cd9660 utility first appeared in 4.4BSD โ€” so she's an elder icon, we stan a legend ๐Ÿ‘‘

the Unicode conversion routine was added by Ryuichiro Imura <imura@ryu16.org> in 2003. ty for your service king ๐Ÿซถ


๐Ÿ’€ BUGS ๐Ÿ’€

okay so there are a few things, and we're being honest about them:

  • POSIX device node mapping is currently not supported. it's giving "we'll get to it" ๐Ÿ™ˆ
  • version numbers are not stripped if Rockridge extensions are in use. in this case, accessing files that do not have Rockridge names without version numbers gets the one with the lowest version number and not the one with the highest. so like... not the slay-est one, the humble one. be aware ๐Ÿ˜ญ
  • there is no ECMA support. no cap, none.
bestie, if your filenames are acting weird on a Rockridge disc, it's probably this and not you. ๐Ÿ’…


and that's the page! written for the Debian edition, dated December 6, 2024 โ€” signed off with love, MOUNT_CD9660(8) forever ๐Ÿ’–โœจ๐ŸŒธ

๐Ÿ“ฆ where this page comes from
  • freebsd 15.1: base 15.1
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms