On Jul 16, 2006, at 4:28 AM, Henning Hraban Ramm wrote: > How can I detect if an entry in MacOSX's /Volumes (or more generally: > any mount point in a UNIX-like OS) is... > - a local harddisk > - a network volume > - a CD/DVD-ROM > - something other (USB stick...) > ? > > I guess I could get some info from 'mount', but isn't there already a > Python function? > o.path's ismount and isdir aren't enough.
You'd probably have to get that information from IOKit, which isn't wrapped by Python at all. -bob _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig