Date: Fri, 10 Dec 1999 11:08:22 +1030 From: Matthew Thyer <Matthew.Thyer@dsto.defence.gov.au> To: freebsd-questions@freebsd.org Subject: Volume management daemon for FreeBSD ala vold in Solaris ? Message-ID: <38504B7E.65FE2E08@dsto.defence.gov.au>
next in thread | raw e-mail | index | archive | help
Is there such a thing ?
What I'm after is something equivalent to vold on Solaris.
Functionally Id like it to:
- Automatically mount CD-ROMS when I insert them (without any other
user action required).
- Optionally automatically NFS export the CD-ROM when inserted.
The Solaris vold doesn't just apply to CD-ROMS, its for all types
of removable media so it would be good to have a FreeBSD one that
handled CDs, floppy disks, PCMCIA disks, Zip/Jazz drives etc
Can AMD do this kind of thing ?
Currently to make life easier when using CDs I do the following:
(I'm saying this because others may find it useful)
- In my /etc/fstab: "/dev/acd0c /cdrom cd9660 ro,noauto 0 0"
- /cdrom always exported in /etc/exports: "/cdrom -maproot=root,ro"
- I have two .cshrc aliases:
mcd 'sudo mount /cdrom'
ucd 'sudo umount /cdrom'
- Sudo configuration as follows so I dont need a password for the
above aliases:
User_Alias ME = thyerm
Cmnd_Alias CDOPS = /sbin/mount /cdrom, /sbin/umount /cdrom
ME ALL=(ALL) NOPASSWD: CDOPS
Of course this requires me to type "mcd" when I insert a CD-ROM so
its not quite as easy as Solaris vold.
--
Matthew Thyer Phone: +61 8 8259 7249
Corporate Information Systems Fax: +61 8 8259 5537
Defence Science and Technology Organisation, Salisbury
PO Box 1500 Salisbury South Australia 5108
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38504B7E.65FE2E08>
