fstab spezial

Martin Klaffenboeck martin.klaffenboeck at gmx.at
Mon Jul 7 12:34:23 PDT 2003


Am 2003.07.07 21:22 schrieb(en) Bill Moran:
> Martin Klaffenboeck wrote:
>> Hello,
>> 
>> Is it possible to make an fstab entry which matches to all users?  
>> Something like:
>> 
>> /dev/fd0     ${HOME}/floppy     msdos   dev,rw,noauto   0   0
>> 
>> But this does not work, and I couldn't find the correct one in the 
>> documentation.
> 
> I don't believe it's possible.
> 
> Look at scripting in the user's login script, or (probably easier) 
> just
> symlink each users ~/floppy to /floppy and mount the disk on /floppy.

Yes, that would be a good idea, the problem is, it is not possible to 
mount on /floppy from a user because it isn't own by a user.

I want to have a mechanism where some different non root users can 
mount a floppy (and a cdrom, but lets start with a floppy) which are 
all in the same group.

And it should be easy with an fstab entry.

How would you do that?

Martin


-- 
If you've got an idea and need help,
or just need general encouragement,
write me a message. ;-)


More information about the freebsd-questions mailing list