RFC: Adding a ``user'' mount option
Artem Ignatiev
zazubrik at mail.ru
Sun Apr 9 13:30:55 UTC 2006
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.
More information about the freebsd-hackers
mailing list