Date: Sun, 9 Apr 2006 17:30:49 +0400 From: Artem Ignatiev <zazubrik@mail.ru> To: freebsd-hackers@freebsd.org Subject: Re: RFC: Adding a ``user'' mount option Message-ID: <0C0573D0-6988-4615-839C-F3971185341B@mail.ru> In-Reply-To: <44370C06.900@san.rr.com> References: <1144042356.824.16.camel@shumai.marcuscom.com> <20060406234239.GB1913@dice.stsp.lan> <200604071013.38486.aren.tyr@gawab.com> <200604071619.18686.vvp@unicom.tomica.ru> <44370C06.900@san.rr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 08.04.2006, at 5:04, Jeremy Baggs wrote: > I suppose it would be nice to have something that works "out of the > box", but the solution I have been using > is group permissions on the devices and then making the mount point > in fstab relative instead of absolute. ie: > > /dev/cd0 cdrom cd9660 ro,noauto 0 0 > > Each user has a cdrom directory under their home directory. You > still need mount points designated for all > possible devices though. Does anyone know how Darwin / OsX are > handling their auto-mount magic? > There is a /Volumes folder, and each time user inserts usb flash or cd, the directory is created in that folder, named after a volume label, and mounts the media into newly created directory. Looks like the ``diskarbitrationd'' process is responsible for this.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0C0573D0-6988-4615-839C-F3971185341B>