Sys::F...:Darwin(3pm)

πŸ’– Sys::Filesystem::Darwin β€” the manual page, but make it cute πŸ’–

okay bestie, welcome to Sys::Filesystem::Darwin πŸ’… this is a page from the User Contributed Perl Documentation, and it's all about handing Darwin (that's Mac OS X, yes <em>that</em> one) filesystem tea over to Sys::Filesystem. pull up a chair, we're doing this πŸ“


✨ NAME ✨

Sys::Filesystem::Darwin β€” returns Darwin (Mac OS X) filesystem information to Sys::Filesystem πŸ¦‹


✨ SYNOPSIS ✨

See Sys::Filesystem. that's it. that's the synopsis. go look at the parent, she's the main character πŸ‘‘


✨ DESCRIPTION ✨

so where does the filesystem info actually come from? it's taken from diskutil, the system utility that ships on Mac OS X πŸŽ€ no cap, that's the source of truth here.


✨ INHERITANCE ✨

the family tree, look at her go 🌸

Sys::Filesystem::Darwin
ISA Sys::Filesystem::Unix
  ISA UNIVERSAL

✨ METHODS ✨

  • version () β€” returns the version of the (sub)module. that's the whole vibe, short and sweet ✨

✨ ATTRIBUTES ✨

here's the list of filesystem properties you can query as methods through the parent Sys::Filesystem object 🫢

heads up bestie: the property 'label' is also set, but it can't be queried by Sys::Filesystem yet. so close 😭
  • mount_point β€” the mount point. usually either '/' or '/Volumes/...' πŸ’«
  • device β€” the mounted device πŸ”Œ
  • format β€” describes the type of the filesystem. so far the following types have been encountered:
    • hfs β€” the standard Mac OS X HFS(+) filesystem. disk images (.dmg) and Mac Software DVDs normally also use the HFS(+) format πŸ’Ώ
    • msdos β€” DOS image files (e.g. floppy disk images) πŸ’Ύ
    • cd9660 β€” CD-ROM image files or real CD-ROMs πŸ“€
    • cddafs β€” Audio CDs 🎡
    • udf β€” UDF filesystem (e.g. DVDs) πŸ“Ό
  • (empty) β€” for mounted FTP servers, disktool returns an empty filesystem type (ie, ''). iconic behaviour honestly, nothing to see πŸ’€

✨ BUGS ✨

ngl, it doesn't take /etc/fstab or /etc/xtab into account right now, since they are normally not used. if you need this, contact the author fr fr πŸ™ˆ


✨ SEE ALSO ✨

Sys::Filesystem, diskutil β€” go read them, they're serving 🌈


✨ AUTHOR ✨


Copyright 2004,2005,2006 Nicola Worthington.

Copyright 2009-2020 Jens Rehsack.

This software is licensed under The Apache Software License, Version 2.0 πŸŽ€

<http://www.apache.org/licenses/LICENSE-2.0>


and that's the whole page, bestie β€” slay πŸ’… this lil gem came to you as perl v5.30.3, dated 2020-10-24, and the manual name is Sys::F...:Darwin(3pm) (yes the truncation is real, she's mysterious like that ✨). mwah, go query some filesystems πŸ’–