From owner-freebsd-questions Thu Dec 9 16:45:58 1999 Delivered-To: freebsd-questions@freebsd.org Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by hub.freebsd.org (Postfix) with SMTP id B11F114FAF for ; Thu, 9 Dec 1999 16:45:53 -0800 (PST) (envelope-from Matthew.Thyer@dsto.defence.gov.au) Received: by digger1.defence.gov.au; id LAA24062; Fri, 10 Dec 1999 11:12:24 +1030 Received: from dsto-ms2.dsto.defence.gov.au(131.185.2.150) by digger1.defence.gov.au via smap (V4.2) id xma023974; Fri, 10 Dec 99 11:11:30 +1030 Received: from fang.dsto.defence.gov.au (unverified [131.185.2.5]) by dsto-ms2.dsto.defence.gov.au (Integralis SMTPRS 2.0.15) with ESMTP id for ; Fri, 10 Dec 1999 11:11:20 +1030 Received: from fuzz.dsto.defence.gov.au (fuzz.dsto.defence.gov.au [131.185.75.229]) by fang.dsto.defence.gov.au (8.9.3/8.9.3/8.9.3.LMD.990513) with ESMTP id LAA10713 for ; Fri, 10 Dec 1999 11:08:22 +1030 (CST) Received: from dsto.defence.gov.au (localhost [127.0.0.1]) by fuzz.dsto.defence.gov.au (8.9.3/8.9.3) with ESMTP id LAA21384 for ; Fri, 10 Dec 1999 11:08:23 +1030 (CST) (envelope-from Matthew.Thyer@dsto.defence.gov.au) Message-Id: <38504B7E.65FE2E08@dsto.defence.gov.au> Date: Fri, 10 Dec 1999 11:08:22 +1030 From: Matthew Thyer X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Volume management daemon for FreeBSD ala vold in Solaris ? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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